From: Fabrice Fontaine Date: Sat, 6 Apr 2019 16:57:59 +0000 (+0200) Subject: package/squeezelite: add optional wiringpi dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2e00c03b568ce54f5a9bff4260827b92abfb078;p=buildroot.git package/squeezelite: add optional wiringpi dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/squeezelite/squeezelite.mk b/package/squeezelite/squeezelite.mk index e41053663a..b4fb090f0f 100644 --- a/package/squeezelite/squeezelite.mk +++ b/package/squeezelite/squeezelite.mk @@ -34,6 +34,11 @@ ifeq ($(BR2_PACKAGE_SQUEEZELITE_VISEXPORT),y) SQUEEZELITE_MAKE_OPTS += -DVISEXPORT endif +ifeq ($(BR2_PACKAGE_WIRINGPI),y) +SQUEEZELITE_DEPENDENCIES += wiringpi +SQUEEZELITE_MAKE_OPTS += -DRPI +endif + define SQUEEZELITE_BUILD_CMDS $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ OPTS="$(SQUEEZELITE_MAKE_OPTS)" -C $(@D) all