summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorRoman Zippel <zippel@linux-m68k.org>2008-01-14 04:51:16 +0100
committerSam Ravnborg <sam@ravnborg.org>2008-01-28 23:14:39 +0100
commit80daa56008dad44f08d0b47670cf2513aa98ab53 (patch)
tree3db1100f0d44d416dbf6adf4107bc213be4aff82 /init
parent93449082e905ce73d0346d617dd67c4b668b58af (diff)
downloadlinux-stable-80daa56008dad44f08d0b47670cf2513aa98ab53.tar.gz
linux-stable-80daa56008dad44f08d0b47670cf2513aa98ab53.tar.bz2
linux-stable-80daa56008dad44f08d0b47670cf2513aa98ab53.zip
kconfig: use environment option
Use the environment option to provide the ARCH symbol and the KERNELVERSION symbol. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 288444b4cd8a..0d0bbf218f1f 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1,3 +1,11 @@
+config ARCH
+ string
+ option env="ARCH"
+
+config KERNELVERSION
+ string
+ option env="KERNELVERSION"
+
config DEFCONFIG_LIST
string
depends on !UML