From e2e00c03b568ce54f5a9bff4260827b92abfb078 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 6 Apr 2019 18:57:59 +0200 Subject: [PATCH] package/squeezelite: add optional wiringpi dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/squeezelite/squeezelite.mk | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.30.2