[Buildroot] [git commit branch/2021.08.x] package/apcupsd: don't override dependencies
Peter Korsgaard
peter at korsgaard.com
Mon Nov 8 15:10:01 UTC 2021
commit: https://git.buildroot.net/buildroot/commit/?id=4efa622580e7a0eb1845893ee3e5e723856f11b5
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.08.x
Don't override APCUPSD_DEPENDENCIES in a conditional
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Reviewed-by: Alexander Dahl <post at lespocky.de>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
(cherry picked from commit 4c82676211ee57b238ce688fa5753ae23f368d08)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
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
More information about the buildroot
mailing list