diff options
author | 2020-08-21 15:10:23 +0200 | |
---|---|---|
committer | 2020-08-21 15:10:23 +0200 | |
commit | 3c1154bac1bf1da4adc07c933e3ee6177dd42500 (patch) | |
tree | ff19748e153989765a0000ad9d52e552531d49ac /gen_configkernel.sh | |
parent | defaults/linuxrc: Process /etc/initramfs.mounts multiple times (diff) | |
download | genkernel-3c1154bac1bf1da4adc07c933e3ee6177dd42500.tar.gz genkernel-3c1154bac1bf1da4adc07c933e3ee6177dd42500.tar.bz2 genkernel-3c1154bac1bf1da4adc07c933e3ee6177dd42500.zip |
gen_configkernel.sh: config_kernel(): Set CONFIG_CRYPTO_AES_586 only for X86
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_configkernel.sh')
-rwxr-xr-x | gen_configkernel.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gen_configkernel.sh b/gen_configkernel.sh index b30d079f..5bccf5d4 100755 --- a/gen_configkernel.sh +++ b/gen_configkernel.sh @@ -587,11 +587,11 @@ config_kernel() { then kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_CRYPTO_AES_X86_64" "${cfg_CONFIG_CRYPTO_AES}" fi - fi - - if [ ${KV_NUMERIC} -lt 5004 ] - then - kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_CRYPTO_AES_586" "${cfg_CONFIG_CRYPTO_AES}" + else + if [ ${KV_NUMERIC} -lt 5004 ] + then + kconfig_set_opt "${KERNEL_OUTPUTDIR}/.config" "CONFIG_CRYPTO_AES_586" "${cfg_CONFIG_CRYPTO_AES}" + fi fi fi fi |