diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-05 01:30:31 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-05 12:44:24 -0500 |
commit | 2d33d563b1e2b4748c585e3169f46481e897c829 (patch) | |
tree | 843218ff514dea2f8a33aceafa82495fbcfdbfc4 /arch/cris/Kconfig | |
parent | 7e02dbf7249b1eadeb8b225f1af98701cd1320cc (diff) |
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/Kconfig')
-rw-r--r-- | arch/cris/Kconfig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig index 7f0be4cd5e9a..27b082ac7f11 100644 --- a/arch/cris/Kconfig +++ b/arch/cris/Kconfig | |||
@@ -150,6 +150,7 @@ config ETRAX_FLASH_BUSWIDTH | |||
150 | Width in bytes of the Flash bus (1, 2 or 4). Is usually 2. | 150 | Width in bytes of the Flash bus (1, 2 or 4). Is usually 2. |
151 | 151 | ||
152 | source arch/cris/arch-v10/Kconfig | 152 | source arch/cris/arch-v10/Kconfig |
153 | source arch/cris/arch-v32/Kconfig | ||
153 | 154 | ||
154 | endmenu | 155 | endmenu |
155 | 156 | ||
@@ -157,8 +158,8 @@ source "net/Kconfig" | |||
157 | 158 | ||
158 | # bring in ETRAX built-in drivers | 159 | # bring in ETRAX built-in drivers |
159 | menu "Drivers for built-in interfaces" | 160 | menu "Drivers for built-in interfaces" |
160 | # arch/cris/arch is a symlink to correct arch (arch-v10 or arch-v32) | 161 | source arch/cris/arch-v10/drivers/Kconfig |
161 | source arch/cris/arch/drivers/Kconfig | 162 | source arch/cris/arch-v32/drivers/Kconfig |
162 | 163 | ||
163 | endmenu | 164 | endmenu |
164 | 165 | ||