From: Bernhard Reutner-Fischer Date: Sun, 23 Sep 2007 14:12:58 +0000 (-0000) Subject: - search env for BUILDROOT_CONFIG for use as a config file; defaults to .config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54cf1e72f4c37d7351514ef96df1980b32291a43;p=buildroot.git - search env for BUILDROOT_CONFIG for use as a config file; defaults to .config --- diff --git a/package/config/confdata.c b/package/config/confdata.c index 0098a08ee7..f604916b46 100644 --- a/package/config/confdata.c +++ b/package/config/confdata.c @@ -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"; } diff --git a/package/config/kconfig-to-buildroot2.patch b/package/config/kconfig-to-buildroot2.patch index 7e478816e0..01701d8325 100644 --- a/package/config/kconfig-to-buildroot2.patch +++ b/package/config/kconfig-to-buildroot2.patch @@ -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"; + }