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 <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27983 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Jonas Gorski 2011-08-14 23:36:45 +00:00
parent 5113b208dc
commit 70838d52bd
1 changed files with 1 additions and 2 deletions

View File

@ -252,12 +252,11 @@ $(eval $(call KernelPackage,gpio-nxp-74hc164))
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