From 97bc5d0e9b0368620ea404623d845f82378231fb Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Sat, 10 Nov 2007 20:40:05 +0100 Subject: [PATCH] --- yaml --- r: 73804 b: refs/heads/master c: 2a113281f5cd2febbab21a93c8943f8d3eece4d3 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/README | 2 ++ trunk/scripts/kconfig/conf.c | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 763ac9c22f0c..6e877212aed0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0f855aa64b3f63d35a891510cf7db932a435c116 +refs/heads/master: 2a113281f5cd2febbab21a93c8943f8d3eece4d3 diff --git a/trunk/README b/trunk/README index 159912cf5155..592f8a238281 100644 --- a/trunk/README +++ b/trunk/README @@ -194,6 +194,8 @@ CONFIGURING the kernel: "make *config" checks for a file named "all{yes/mod/no/random}.config" for symbol values that are to be forced. If this file is not found, it checks for a file named "all.config" to contain forced values. + Finally it checks the environment variable K64BIT and if found, sets + the config symbol "64BIT" to the value of the K64BIT variable. NOTES on "make config": - having unnecessary drivers will make the kernel bigger, and can diff --git a/trunk/scripts/kconfig/conf.c b/trunk/scripts/kconfig/conf.c index a38787a881ea..c6bee85c3962 100644 --- a/trunk/scripts/kconfig/conf.c +++ b/trunk/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;