[Buildroot] [PATCH 3/4] package/squeezelite: add optional wiringpi dependency

Fabrice Fontaine fontaine.fabrice at gmail.com
Sat Apr 6 16:57:59 UTC 2019


Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 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.20.1



More information about the buildroot mailing list