All of lore.kernel.org
 help / color / mirror / Atom feed
* Why is arch/s390/crypto/Kconfig sourced when building for another arch ?
@ 2007-03-28 19:36 Thomas Backlund
  2007-03-30  9:30 ` Jan Glauber
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Backlund @ 2007-03-28 19:36 UTC (permalink / raw)
  To: linux-kernel

Hi,

Why is arch/s390/crypto/Kconfig sourced when building for another arch ?

I'm trying to package a stripped down version of the kernelsource with 
only arch-specific code (/arch/$arch & /include/asm-$arch), the rest of 
/include, the whole KBuild setup & contents of /scripts to build 
3rdparty drivers against...

With the above files I can do a:
mv .config config.temp
make mrproper
mv config.temp .config
make oldconfig prepare scripts

and the tree stays intact ...

with 2.6.20.4 it works great, but when switching to 2.6.21-rcX it breaks 
with this:

drivers/crypto/Kconfig:55: can't open file "arch/s390/crypto/Kconfig"

I tried to fix drivers/crypto/Kconfig by changing the code to:

if S390
source "arch/s390/crypto/Kconfig"
endif

but it still gets sourced...

Now, since this is the only arch messing up (atleast on ix86 & x86_64),
shouldn't this be fixed somehow ?

--
Thomas


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-30 22:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-28 19:36 Why is arch/s390/crypto/Kconfig sourced when building for another arch ? Thomas Backlund
2007-03-30  9:30 ` Jan Glauber
2007-03-30  9:55   ` Robert P. J. Day
2007-03-30 16:20     ` Jan Glauber
2007-03-30 22:15       ` Robert P. J. Day

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.