2.6.24-rc3 x86 make depends on s390 arch
Subsystems (3)
2.6.24-rc3 git kernel's x86 make depends on s390 arch:
1. HOSTLD scripts/kconfig/confscripts/kconfig/conf -s arch/x86/Kconfig drivers/crypto/Kconfig:51: can't open file "arch/s390/crypto/Kconfig" make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
2. CC kernel/sysctl_check.okernel/sysctl_check.c:3:44: error: ../arch/s390/appldata/appldata.h:
No such file or directory
make[1]: *** [kernel/sysctl_check.o] Error 1
make: *** [kernel] Error 2
Thank you,
Jaswinder Singh.
Quoted 8 lines · Jaswinder Singh
2.6.24-rc3 git kernel's x86 make depends on s390 arch:
1. HOSTLD
scripts/kconfig/confscripts/kconfig/conf-sarch/x86/Kconfigdrivers/crypto/Kconfig:51: can't open file "arch/s390/crypto/Kconfig" make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
Quoted 5 lines
2. CC
kernel/sysctl_check.okernel/sysctl_check.c:3:44: error:../arch/s390/appldata/appldata.h:
No such file or directory
make[1]: *** [kernel/sysctl_check.o] Error 1
make: *** [kernel] Error 2
Could it be that you deleted half of the kernel tree? In specific arch/[everything besides x86]*/ ?
Yes, what is the use of keeping other arch, if I am not going to build those.
Thank you,
Jaswinder Singh.
Quoted 18 lines · Heiko Carstens
Quoted 8 lines · Jaswinder Singh
2.6.24-rc3 git kernel's x86 make depends on s390 arch:
1. HOSTLD
scripts/kconfig/confscripts/kconfig/conf-sarch/x86/Kconfigdrivers/crypto/Kconfig:51: can't open file "arch/s390/crypto/Kconfig" make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2Quoted 5 lines
2. CC
kernel/sysctl_check.okernel/sysctl_check.c:3:44: error:../arch/s390/appldata/appldata.h:
No such file or directory
make[1]: *** [kernel/sysctl_check.o] Error 1
make: *** [kernel] Error 2Could it be that you deleted half of the kernel tree? In specific arch/[everything besides x86]*/ ?
This patch fixes s390 dependency for x86
arch/s390/Kconfig +2 -0
@@ -537,4 +537,6 @@ source "security/Kconfig" source "crypto/Kconfig" +source "arch/s390/crypto/Kconfig" + source "lib/Kconfig"
drivers/crypto/Kconfig +0 -2
@@ -48,8 +48,6 @@ config CRYPTO_DEV_PADLOCK_SHA If unsure say M. The compiled module will be called padlock-sha.ko -source "arch/s390/crypto/Kconfig" - config CRYPTO_DEV_GEODE tristate "Support for the Geode LX AES engine" depends on X86_32 && PCI
kernel/sysctl_check.c +2 -0
@@ -1,6 +1,8 @@#include <linux/stat.h> #include <linux/sysctl.h> +#ifdef CONFIG_S390 #include "../arch/s390/appldata/appldata.h" +#endif #include "../fs/xfs/linux-2.6/xfs_sysctl.h" #include <linux/sunrpc/debug.h> #include <linux/string.h>
Quoted 18 lines · Jaswinder Singh
2.6.24-rc3 git kernel's x86 make depends on s390 arch:
1. HOSTLD
scripts/kconfig/confscripts/kconfig/conf-sarch/x86/Kconfigdrivers/crypto/Kconfig:51: can't open file "arch/s390/crypto/Kconfig" make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 22. CC
kernel/sysctl_check.okernel/sysctl_check.c:3:44: error:../arch/s390/appldata/appldata.h:
No such file or directory
make[1]: *** [kernel/sysctl_check.o] Error 1
make: *** [kernel] Error 2Thank you,
Jaswinder Singh.
Quoted 3 lines · Jaswinder Singh
This patch fixes s390 dependency for x86
Signed-off-by Jaswinder Singh <[email protected]>
Deleting random parts of the kernel tree is actually not supported.
arch/s390/Kconfig source "security/Kconfig" · line 541
Quoted 10 lines
arch/s390/Kconfig +2
-0@@ -537,4 +537,6 @@ source "security/Kconfig" source "crypto/Kconfig" +source "arch/s390/crypto/Kconfig" +
With this there's no dependency on CRYPTO_HW anymore.
arch/s390/Kconfig source "security/Kconfig"
Quoted 3 lines
arch/s390/Kconfig +2
-0+#ifdef CONFIG_S390 #include "../arch/s390/appldata/appldata.h" +#endif
This include can go away.
Since this pops up again and again we'll come up with a patch to fix this.
Quoted 8 lines · Heiko Carstens
Quoted 3 lines · Jaswinder Singh
This patch fixes s390 dependency for x86
Signed-off-by Jaswinder Singh <[email protected]>Deleting random parts of the kernel tree is actually not supported.
I agree with you. I just did this to same some space because I keep many kernel trees.
But i am curious if other arch do not depends on x86 then s390 ?
Quoted 6 lines
Quoted 6 lines
arch/s390/Kconfig +0
-0@@ -537,4 +537,6 @@ source "security/Kconfig"
Quoted 7 lines
arch/s390/Kconfig source "security/Kconfig" · line 541
Quoted 4 lines
arch/s390/Kconfig +2
-0source "crypto/Kconfig" +source "arch/s390/crypto/Kconfig" +With this there's no dependency on
CRYPTO_HWanymore.
Anyhow "if CRYPTO_HW" is not working in drivers/crypto/Kconfig
have you tested this patch on S390. Is this giving errors ?
And you can also add depends with CRYPTO_HW in arch/s390/crypto/Kconfig
Thank you,
Jaswinder Singh.
Quoted 8 lines
arch/s390/Kconfig source "security/Kconfig"
Quoted 3 lines
arch/s390/Kconfig +2
-0+#ifdef CONFIG_S390 #include "../arch/s390/appldata/appldata.h" +#endifThis include can go away.
Since this pops up again and again we'll come up with a patch to fix this.
Quoted 14 lines
Quoted 6 lines
Quoted 6 lines
arch/s390/Kconfig +0
-0@@ -537,4 +537,6 @@ source "security/Kconfig"Quoted 7 lines
arch/s390/Kconfig source "security/Kconfig" · line 541
Quoted 4 lines
arch/s390/Kconfig +2
-0source "crypto/Kconfig" +source "arch/s390/crypto/Kconfig" +With this there's no dependency on
CRYPTO_HWanymore.
Quoted 5 lines
Anyhow "if
CRYPTO_HW" is not working indrivers/crypto/Kconfighave you tested this patch on S390. Is this giving errors ?
And you can also add depends with
CRYPTO_HWinarch/s390/crypto/Kconfig
Jan just created a patch which moves everything from arch/s390/crypto/Kconfig to drivers/crypto/Kconfig. Probably will be merged during the 2.6.25 merge window.
We have two options:
1. Either move arch/s390/crypto/Kconfig to drivers/crypto/Kconfig
OR
2. In arch/s390/crypto/Kconfig , replace "depends on S390" to "depends on CRYPRO_HW"
I think 2nd option is better for everyone.
Thank you,
Jaswinder Singh.
Quoted 25 lines · Heiko Carstens
Quoted 14 lines
Quoted 6 lines
Quoted 6 lines
arch/s390/Kconfig +0
-0@@ -537,4 +537,6 @@ source "security/Kconfig"Quoted 7 lines
arch/s390/Kconfig source "security/Kconfig" · line 541
Quoted 4 lines
arch/s390/Kconfig +2
-0source "crypto/Kconfig" +source "arch/s390/crypto/Kconfig" +With this there's no dependency on
CRYPTO_HWanymore.Quoted 5 lines
Anyhow "if
CRYPTO_HW" is not working indrivers/crypto/Kconfighave you tested this patch on S390. Is this giving errors ?
And you can also add depends with
CRYPTO_HWinarch/s390/crypto/KconfigJan just created a patch which moves everything from
arch/s390/crypto/Kconfig
todrivers/crypto/Kconfig. Probably will be merged during the 2.6.25 merge window.
Quoted 10 lines · Jaswinder Singh
We have two options:
1. Either move
arch/s390/crypto/Kconfigtodrivers/crypto/KconfigOR
2. In
arch/s390/crypto/Kconfig, replace "depends on S390" to "depends onCRYPRO_HW"I think 2nd option is better for everyone.
2) won't work and doesn't make too much sense. So it's 1). This isn't worth discussing any furter.
Thanks.