[Buildroot] [git commit] package/squeezelite: add optional wiringpi dependency
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Thu Apr 11 17:36:49 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=e2e00c03b568ce54f5a9bff4260827b92abfb078
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.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
More information about the buildroot
mailing list