Merge 40eda07e97
into 2c6d5adac0
This commit is contained in:
commit
d611389cb8
|
@ -22,7 +22,7 @@
|
|||
bool "Build with support for SNMP drivers"
|
||||
help
|
||||
If you have a UPS you can connect to via SNMP, select this.
|
||||
default n
|
||||
default y
|
||||
|
||||
config NUT_DRIVER_SERIAL
|
||||
depends on PACKAGE_nut
|
||||
|
|
|
@ -97,9 +97,6 @@ define Package/nut-common
|
|||
$(call Package/nut/Default)
|
||||
TITLE+= (common)
|
||||
DEPENDS:= nut \
|
||||
+NUT_DRIVER_SNMP:libnetsnmp \
|
||||
+NUT_DRIVER_USB:libusb-compat \
|
||||
+NUT_DRIVER_NEON:libneon \
|
||||
+NUT_SSL:libopenssl
|
||||
endef
|
||||
|
||||
|
@ -368,10 +365,9 @@ define DriverPackage
|
|||
$(call Package/nut/Default)
|
||||
TITLE:=$(2) (NUT $(1) driver)
|
||||
DEPENDS:=nut +nut-server
|
||||
$(if $(filter $(1),snmp),DEPENDS+= @NUT_DRIVER_SNMP)
|
||||
$(if $(filter $(1),usb),DEPENDS+= @NUT_DRIVER_USB)
|
||||
$(if $(filter $(1),serial),DEPENDS+= @NUT_DRIVER_SERIAL)
|
||||
$(if $(filter $(1),neon),DEPENDS+= @NUT_DRIVER_NEON)
|
||||
$(if $(filter $(1),snmp),DEPENDS+= +libnetsnmp)
|
||||
$(if $(filter $(1),usb),DEPENDS+= +libusb-compat)
|
||||
$(if $(filter $(1),neon),DEPENDS+= +libneon)
|
||||
endef
|
||||
# Deliberately empty description in order to trigger a build failure.
|
||||
# It should be overridden by the list below, and when updating to a
|
||||
|
|
Loading…
Reference in New Issue