Skip to contentSkip to conversation

2.6.24-rc3 x86 make depends on s390 arch

BUG Jaswinder Singh 2 participants 9 messages Nov 30, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

2.6.24-rc3 git kernel's x86 make depends on s390 arch:

1. HOSTLD scripts/kconfig/conf
scripts/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.o
kernel/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.

#1 lore raw
Quoted 8 lines · Jaswinder Singh

2.6.24-rc3 git kernel's x86 make depends on s390 arch:

1. HOSTLD scripts/kconfig/conf
scripts/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

Quoted 5 lines

2. CC kernel/sysctl_check.o
kernel/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]*/ ?

#2 lore raw

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/conf
scripts/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

Quoted 5 lines

2. CC kernel/sysctl_check.o
kernel/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]*/ ?

#3 lore raw
In reply to Jaswinder Singh

This patch fixes s390 dependency for x86

arch/s390/Kconfig +2 -0
index 1330061..b699ed5 100644
@@ -537,4 +537,6 @@ source "security/Kconfig"
 
 source "crypto/Kconfig"
 
+source "arch/s390/crypto/Kconfig"
+
 source "lib/Kconfig"
drivers/crypto/Kconfig +0 -2
index 5fd6688..5c2c7eb 100644
@@ -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
index 6972f26..529be08 100644
@@ -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/conf
scripts/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.o
kernel/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.

#4 lore raw
Quoted 3 lines · Jaswinder Singh

This patch fixes s390 dependency for x86

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
index 1330061..b699ed5 100644
@@ -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.

#5 lore raw
Quoted 8 lines · Heiko Carstens
Quoted 3 lines · Jaswinder Singh

This patch fixes s390 dependency for x86

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
index 1330061..b699ed5 100644
@@ -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 -0
 source "crypto/Kconfig"
 
+source "arch/s390/crypto/Kconfig"
+

With this there's no dependency on CRYPTO_HW anymore.

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"
+#endif

This include can go away.

Since this pops up again and again we'll come up with a patch to fix this.

#6 lore raw
Quoted 14 lines
Quoted 6 lines
Quoted 6 lines
arch/s390/Kconfig +0 -0
index 1330061..b699ed5 100644
@@ -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 -0
 source "crypto/Kconfig"
 
+source "arch/s390/crypto/Kconfig"
+

With this there's no dependency on CRYPTO_HW anymore.

Quoted 5 lines

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

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.

#7 lore raw

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
index 1330061..b699ed5 100644
@@ -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 -0
 source "crypto/Kconfig"
 
+source "arch/s390/crypto/Kconfig"
+

With this there's no dependency on CRYPTO_HW anymore.

Quoted 5 lines

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

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.

#8 lore raw
Quoted 10 lines · Jaswinder Singh

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.

2) won't work and doesn't make too much sense. So it's 1). This isn't worth discussing any furter.

Thanks.