- search env for BUILDROOT_CONFIG for use as a config file; defaults to .config
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 23 Sep 2007 14:12:58 +0000 (14:12 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Sun, 23 Sep 2007 14:12:58 +0000 (14:12 -0000)
package/config/confdata.c
package/config/kconfig-to-buildroot2.patch

index 0098a08ee7c373fb253d4b11c4beac085d99bf6e..f604916b46727bd93cbc470e72c2aed98d2eb3e8 100644 (file)
@@ -37,7 +37,7 @@ static void conf_warning(const char *fmt, ...)
 
 const char *conf_get_configname(void)
 {
-       char *name = getenv("KCONFIG_CONFIG");
+       char *name = getenv("BUILDROOT_CONFIG");
 
        return name ? name : ".config";
 }
index 7e478816e08d7353e5560242fdf0e74df9bf0217..01701d8325fa03424b984e0b45096752b66b0a88 100644 (file)
@@ -1292,3 +1292,14 @@ diff -rdup kernel-config/zconf.y config/zconf.y
                     "\t$(deps_config)\n\n"
                     "$(deps_config): ;\n");
        fclose(out);
+--- kernel-config/confdata.c   2007-09-23 15:33:26.000000000 +0200
++++ config/confdata.c  2007-09-23 16:10:52.000000000 +0200
+@@ -37,7 +37,7 @@
+ const char *conf_get_configname(void)
+ {
+-      char *name = getenv("KCONFIG_CONFIG");
++      char *name = getenv("BUILDROOT_CONFIG");
+       return name ? name : ".config";
+ }