mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
x86: make x86_64 a subtarget instead of a standalone target
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45115 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -262,10 +262,12 @@ define KernelPackage/crypto-aes
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
define KernelPackage/crypto-aes/x86
|
||||
FILES+=$(LINUX_DIR)/arch/x86/crypto/aes-i586.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,aes-i586)
|
||||
endef
|
||||
ifndef CONFIG_TARGET_x86_64
|
||||
define KernelPackage/crypto-aes/x86
|
||||
FILES+=$(LINUX_DIR)/arch/x86/crypto/aes-i586.ko
|
||||
AUTOLOAD:=$(call AutoLoad,09,aes-i586)
|
||||
endef
|
||||
endif
|
||||
|
||||
$(eval $(call KernelPackage,crypto-aes))
|
||||
|
||||
@@ -530,9 +532,11 @@ define KernelPackage/crypto-misc
|
||||
$(call AddDepends/crypto)
|
||||
endef
|
||||
|
||||
define KernelPackage/crypto-misc/x86
|
||||
FILES+=$(LINUX_DIR)/arch/x86/crypto/twofish-i586.ko
|
||||
endef
|
||||
ifndef CONFIG_TARGET_x86_64
|
||||
define KernelPackage/crypto-misc/x86
|
||||
FILES+=$(LINUX_DIR)/arch/x86/crypto/twofish-i586.ko
|
||||
endef
|
||||
endif
|
||||
|
||||
$(eval $(call KernelPackage,crypto-misc))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user