2
0
Эх сурвалжийг харах

package/kernel: kmod-hid: can't mix and match DEPENDS:= and $(call SetDepends/...)

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

SVN-Revision: 27983
Jonas Gorski 14 жил өмнө
parent
commit
b413f797cf

+ 1 - 2
package/kernel/modules/other.mk

@@ -252,12 +252,11 @@ $(eval $(call KernelPackage,gpio-nxp-74hc164))
 define KernelPackage/hid
 define KernelPackage/hid
   SUBMENU:=$(OTHER_MENU)
   SUBMENU:=$(OTHER_MENU)
   TITLE:=HID Devices
   TITLE:=HID Devices
-  DEPENDS:=+kmod-input-evdev
   KCONFIG:=CONFIG_HID
   KCONFIG:=CONFIG_HID
   FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
   FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
   AUTOLOAD:=$(call AutoLoad,61,hid)
   AUTOLOAD:=$(call AutoLoad,61,hid)
   $(call SetDepends/hid)
   $(call SetDepends/hid)
-  $(call AddDepends/input)
+  $(call AddDepends/input,+kmod-input-evdev)
 endef
 endef
 
 
 define KernelPackage/hid/description
 define KernelPackage/hid/description