kernel: remove a few more obsolete CompareKernelPatchVer calls, add dependencies on @TARGET_x86 for a few network drivers that are typically not found in non-PC equipment

SVN-Revision: 31870
This commit is contained in:
Felix Fietkau
2012-05-27 12:33:55 +00:00
parent d7522444d2
commit b85c7c117a
7 changed files with 46 additions and 169 deletions

View File

@@ -376,14 +376,14 @@ define KernelPackage/crypto-misc
$(LINUX_DIR)/crypto/twofish_common.ko \
$(LINUX_DIR)/crypto/wp512.ko \
$(LINUX_DIR)/crypto/twofish_generic.ko
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,3.1)),1)
ifdef CONFIG_LINUX_3_1
FILES += $(LINUX_DIR)/crypto/blowfish.ko
else
FILES += \
$(LINUX_DIR)/crypto/blowfish_common.ko \
$(LINUX_DIR)/crypto/blowfish_generic.ko
endif
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),le,3.2)),1)
ifeq ($(CONFIG_LINUX_3_1)$(CONFIG_LINUX_3_2)),)
FILES += $(LINUX_DIR)/crypto/serpent.ko
else
FILES += $(LINUX_DIR)/crypto/serpent_generic.ko