summaryrefslogtreecommitdiffstats
path: root/arch/cris/arch-v32/drivers
diff options
context:
space:
mode:
authorJesper Nilsson2008-02-05 07:30:31 +0100
committerLinus Torvalds2008-02-05 18:44:24 +0100
commit2d33d563b1e2b4748c585e3169f46481e897c829 (patch)
tree843218ff514dea2f8a33aceafa82495fbcfdbfc4 /arch/cris/arch-v32/drivers
parentmac68k: remove dead MAC_ADBKEYCODES (diff)
downloadkernel-qcow2-linux-2d33d563b1e2b4748c585e3169f46481e897c829.tar.gz
kernel-qcow2-linux-2d33d563b1e2b4748c585e3169f46481e897c829.tar.xz
kernel-qcow2-linux-2d33d563b1e2b4748c585e3169f46481e897c829.zip
CRIS: avoid using arch links in Kconfig
Improve including of architecture dependent Kconfig files. - Always include the architecture dependent Kconfig files. - Wrap architecture dependent Kconfig files inside an appropriate "if ETRAX_ARCH_Vxx" block. This makes it possible to run the configuration even without the arch links, which are created later in the build process. Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/cris/arch-v32/drivers')
-rw-r--r--arch/cris/arch-v32/drivers/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/cris/arch-v32/drivers/Kconfig b/arch/cris/arch-v32/drivers/Kconfig
index 9bccb5e2a960..c329cce2a0c3 100644
--- a/arch/cris/arch-v32/drivers/Kconfig
+++ b/arch/cris/arch-v32/drivers/Kconfig
@@ -1,3 +1,5 @@
+if ETRAX_ARCH_V32
+
config ETRAX_ETHERNET
bool "Ethernet support"
depends on ETRAX_ARCH_V32
@@ -610,3 +612,5 @@ config ETRAX_STREAMCOPROC
help
This option enables a driver for the stream co-processor
for cryptographic operations.
+
+endif