kernel: remove useless AddDepends/crc16 abstraction
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45133
This commit is contained in:
		| @@ -5,10 +5,6 @@ | |||||||
| # See /LICENSE for more information. | # See /LICENSE for more information. | ||||||
| # | # | ||||||
|  |  | ||||||
| define AddDepends/crc16 |  | ||||||
|   DEPENDS+= +kmod-lib-crc16 $(1) |  | ||||||
| endef |  | ||||||
|  |  | ||||||
| define AddDepends/hid | define AddDepends/hid | ||||||
|   DEPENDS+= +kmod-hid $(1) |   DEPENDS+= +kmod-hid $(1) | ||||||
| endef | endef | ||||||
|   | |||||||
| @@ -155,6 +155,9 @@ $(eval $(call KernelPackage,fs-exportfs)) | |||||||
| define KernelPackage/fs-ext4 | define KernelPackage/fs-ext4 | ||||||
|   SUBMENU:=$(FS_MENU) |   SUBMENU:=$(FS_MENU) | ||||||
|   TITLE:=EXT4 filesystem support |   TITLE:=EXT4 filesystem support | ||||||
|  |   DEPENDS := \ | ||||||
|  |     +kmod-lib-crc16 \ | ||||||
|  |     +kmod-crypto-hash | ||||||
|   KCONFIG:= \ |   KCONFIG:= \ | ||||||
| 	CONFIG_EXT4_FS \ | 	CONFIG_EXT4_FS \ | ||||||
| 	CONFIG_JBD2 | 	CONFIG_JBD2 | ||||||
| @@ -163,7 +166,6 @@ define KernelPackage/fs-ext4 | |||||||
| 	$(LINUX_DIR)/fs/jbd2/jbd2.ko \ | 	$(LINUX_DIR)/fs/jbd2/jbd2.ko \ | ||||||
| 	$(LINUX_DIR)/fs/mbcache.ko | 	$(LINUX_DIR)/fs/mbcache.ko | ||||||
|   AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1) |   AUTOLOAD:=$(call AutoLoad,30,mbcache jbd2 ext4,1) | ||||||
|   $(call AddDepends/crc16, +kmod-crypto-hash) |  | ||||||
| endef | endef | ||||||
|  |  | ||||||
| define KernelPackage/fs-ext4/description | define KernelPackage/fs-ext4/description | ||||||
|   | |||||||
| @@ -825,6 +825,7 @@ $(eval $(call KernelPackage,sched)) | |||||||
| define KernelPackage/ax25 | define KernelPackage/ax25 | ||||||
|   SUBMENU:=$(NETWORK_SUPPORT_MENU) |   SUBMENU:=$(NETWORK_SUPPORT_MENU) | ||||||
|   TITLE:=AX25 support |   TITLE:=AX25 support | ||||||
|  |   DEPENDS:=+kmod-lib-crc16 | ||||||
|   KCONFIG:= \ |   KCONFIG:= \ | ||||||
| 	CONFIG_HAMRADIO=y \ | 	CONFIG_HAMRADIO=y \ | ||||||
| 	CONFIG_AX25 \ | 	CONFIG_AX25 \ | ||||||
| @@ -833,7 +834,6 @@ define KernelPackage/ax25 | |||||||
| 	$(LINUX_DIR)/net/ax25/ax25.ko \ | 	$(LINUX_DIR)/net/ax25/ax25.ko \ | ||||||
| 	$(LINUX_DIR)/drivers/net/hamradio/mkiss.ko | 	$(LINUX_DIR)/drivers/net/hamradio/mkiss.ko | ||||||
|   AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss) |   AUTOLOAD:=$(call AutoLoad,80,ax25 mkiss) | ||||||
|   $(call AddDepends/crc16) |  | ||||||
| endef | endef | ||||||
|  |  | ||||||
| define KernelPackage/ax25/description | define KernelPackage/ax25/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 |   DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +!LINUX_3_10:kmod-6lowpan-iphc +kmod-lib-crc16 | ||||||
|   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/crc16) |  | ||||||
|   $(call AddDepends/hid) |   $(call AddDepends/hid) | ||||||
|   $(call AddDepends/rfkill) |   $(call AddDepends/rfkill) | ||||||
|   FILES:= \ |   FILES:= \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Felix Fietkau
					Felix Fietkau