summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/conf.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-11-10 20:40:05 +0100
committerSam Ravnborg <sam@ravnborg.org>2007-11-12 21:02:20 +0100
commit2a113281f5cd2febbab21a93c8943f8d3eece4d3 (patch)
tree12feb49c4531726c899f33a3a0dc1569ce8f217a /scripts/kconfig/conf.c
parent0f855aa64b3f63d35a891510cf7db932a435c116 (diff)
downloadop-kernel-dev-2a113281f5cd2febbab21a93c8943f8d3eece4d3.zip
op-kernel-dev-2a113281f5cd2febbab21a93c8943f8d3eece4d3.tar.gz
kconfig: use $K64BIT to set 64BIT with all*config targets
The variable K64BIT can now be used to select the value of CONFIG_64BIT. This is for example useful for powerpc to generate allmodconfig for both bit sizes - like this: make ARCH=powerpc K64BIT=y make ARCH=powerpc K64BIT=n To use this the Kconfig file must use "64BIT" as the config value to select between 32 and 64 bit. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Roman Zippel <zippel@linux-m68k.org>
Diffstat (limited to 'scripts/kconfig/conf.c')
-rw-r--r--scripts/kconfig/conf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index a38787a..c6bee85 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -591,6 +591,7 @@ int main(int ac, char **av)
conf_read_simple(name, S_DEF_USER);
else if (!stat("all.config", &tmpstat))
conf_read_simple("all.config", S_DEF_USER);
+ conf_set_env_sym("K64BIT", "64BIT", S_DEF_USER);
break;
default:
break;
OpenPOWER on IntegriCloud