mirror of https://github.com/hak5/openwrt-owl.git
kernel: remove useless AddDepends/hid abstraction
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45134owl
parent
b2f3e852d0
commit
0b39a6d4e9
|
@ -5,10 +5,6 @@
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
|
|
||||||
define AddDepends/hid
|
|
||||||
DEPENDS+= +kmod-hid $(1)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define AddDepends/input
|
define AddDepends/input
|
||||||
DEPENDS+= +kmod-input-core $(1)
|
DEPENDS+= +kmod-input-core $(1)
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -25,10 +25,10 @@ $(eval $(call KernelPackage,hid))
|
||||||
define KernelPackage/hid-generic
|
define KernelPackage/hid-generic
|
||||||
SUBMENU:=$(INPUT_MODULES_MENU)
|
SUBMENU:=$(INPUT_MODULES_MENU)
|
||||||
TITLE:=Generic HID device support
|
TITLE:=Generic HID device support
|
||||||
|
DEPENDS:=+kmod-hid
|
||||||
KCONFIG:=CONFIG_HID_GENERIC
|
KCONFIG:=CONFIG_HID_GENERIC
|
||||||
FILES:=$(LINUX_DIR)/drivers/hid/hid-generic.ko
|
FILES:=$(LINUX_DIR)/drivers/hid/hid-generic.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,hid-generic)
|
AUTOLOAD:=$(call AutoProbe,hid-generic)
|
||||||
$(call AddDepends/hid)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/hid/description
|
define KernelPackage/hid/description
|
||||||
|
|
|
@ -29,7 +29,7 @@ $(eval $(call KernelPackage,6lowpan-iphc))
|
||||||
define KernelPackage/bluetooth
|
define KernelPackage/bluetooth
|
||||||
SUBMENU:=$(OTHER_MENU)
|
SUBMENU:=$(OTHER_MENU)
|
||||||
TITLE:=Bluetooth support
|
TITLE:=Bluetooth support
|
||||||
DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +!LINUX_3_10:kmod-6lowpan-iphc +kmod-lib-crc16
|
DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +!LINUX_3_10:kmod-6lowpan-iphc +kmod-lib-crc16 +kmod-hid
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_BLUEZ \
|
CONFIG_BLUEZ \
|
||||||
CONFIG_BLUEZ_L2CAP \
|
CONFIG_BLUEZ_L2CAP \
|
||||||
|
@ -50,7 +50,6 @@ define KernelPackage/bluetooth
|
||||||
CONFIG_BT_HCIUART_H4 \
|
CONFIG_BT_HCIUART_H4 \
|
||||||
CONFIG_BT_HIDP \
|
CONFIG_BT_HIDP \
|
||||||
CONFIG_HID_SUPPORT=y
|
CONFIG_HID_SUPPORT=y
|
||||||
$(call AddDepends/hid)
|
|
||||||
$(call AddDepends/rfkill)
|
$(call AddDepends/rfkill)
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(LINUX_DIR)/net/bluetooth/bluetooth.ko \
|
$(LINUX_DIR)/net/bluetooth/bluetooth.ko \
|
||||||
|
|
|
@ -1311,10 +1311,10 @@ $(eval $(call KernelPackage,usb-net-kalmia))
|
||||||
define KernelPackage/usb-hid
|
define KernelPackage/usb-hid
|
||||||
TITLE:=Support for USB Human Input Devices
|
TITLE:=Support for USB Human Input Devices
|
||||||
KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y
|
KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y
|
||||||
|
DEPENDS:=+kmod-hid +kmod-hid-generic
|
||||||
FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
|
FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,usbhid)
|
AUTOLOAD:=$(call AutoProbe,usbhid)
|
||||||
$(call AddDepends/usb)
|
$(call AddDepends/usb)
|
||||||
$(call AddDepends/hid,+kmod-hid-generic)
|
|
||||||
$(call AddDepends/input,+kmod-input-evdev)
|
$(call AddDepends/input,+kmod-input-evdev)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue