Re: Why is arch/s390/crypto/Kconfig sourced when building foranother arch ?

From: Jan Glauber
Date: Fri Mar 30 2007 - 05:31:32 EST


Hi Thomas,

> 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"

arch/s390/crypto/Kconfig is included there since that is the right place
for the config options to show up.

> 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...

You would need something like:

source "arch/s390/crypto/Kconfig"
depends on S390

But that is not implemented and I doubt it will since deleting parts of
the kernel tree is not something that is required to work.

Jan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/