Since the SetDepends macro does a:

  DEPENDS:= ...

it can't be used after setting DEPENDS:= explicitly, or it will clobber the 
previous value.

Signed-off-by: Philip Prindeville <[email protected]>
Index: package/kernel/modules/other.mk
===================================================================
--- package/kernel/modules/other.mk     (revision 27981)
+++ package/kernel/modules/other.mk     (working copy)
@@ -252,12 +252,11 @@
 define KernelPackage/hid
   SUBMENU:=$(OTHER_MENU)
   TITLE:=HID Devices
-  DEPENDS:=+kmod-input-evdev
   KCONFIG:=CONFIG_HID
   FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
   AUTOLOAD:=$(call AutoLoad,61,hid)
   $(call SetDepends/hid)
-  $(call AddDepends/input)
+  $(call AddDepends/input +kmod-input-evdev)
 endef
 
 define KernelPackage/hid/description
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to