From 4c82676211ee57b238ce688fa5753ae23f368d08 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Tue, 26 Oct 2021 00:00:26 +0200 Subject: [PATCH] package/apcupsd: don't override dependencies Don't override APCUPSD_DEPENDENCIES in a conditional Signed-off-by: Fabrice Fontaine Reviewed-by: Alexander Dahl Signed-off-by: Peter Korsgaard --- package/apcupsd/apcupsd.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/apcupsd/apcupsd.mk b/package/apcupsd/apcupsd.mk index 502d1b7152..80ed0b0832 100644 --- a/package/apcupsd/apcupsd.mk +++ b/package/apcupsd/apcupsd.mk @@ -34,7 +34,7 @@ endif ifeq ($(BR2_PACKAGE_APCUPSD_MODBUS_USB),y) APCUPSD_CONF_OPTS += --enable-modbus-usb -APCUPSD_DEPENDENCIES = libusb libusb-compat +APCUPSD_DEPENDENCIES += libusb libusb-compat else APCUPSD_CONF_OPTS += --disable-modbus-usb endif @@ -65,7 +65,7 @@ endif ifeq ($(BR2_PACKAGE_APCUPSD_USB),y) APCUPSD_CONF_OPTS += --enable-usb -APCUPSD_DEPENDENCIES = libusb libusb-compat +APCUPSD_DEPENDENCIES += libusb libusb-compat else APCUPSD_CONF_OPTS += --disable-usb endif