package/squeezelite: add optional wiringpi dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2019-04-06 18:57:59 +02:00 committed by Thomas Petazzoni
parent a53b5bfdc0
commit e2e00c03b5

View File

@ -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