summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-03-09 17:39:38 +0000
committerEric Andersen <andersen@codepoet.org>2005-03-09 17:39:38 +0000
commitd47108caf6e630f24fde37c439c1db31d209b25a (patch)
tree9594a3bf48e6d267544ded6b6d000e2782843e3c
parent5c83068090e908afae399bd63975e90703a8814a (diff)
Fix /http://bugs.uclibc.org/view.php?id=134
The configuration utility in package/config/ can look for a default configuration file called 'defconfig' but it's hard coded to look for sysdeps/linux/defconfig. This patch causes the config utility to look in the current working directory for the 'defconfig' file. I use this to provide a default configuration to a new buildroot environment. This way, I can 'svn co' buildroot, copy my defconfig, then make defconfig to use my own default configuration. This fix only changes one line in the confdata.c file to remove the legacy path that was used in Linux, and not needed in buildroot.
-rw-r--r--package/config/confdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/config/confdata.c b/package/config/confdata.c
index fd3a345e2..27b6a961f 100644
--- a/package/config/confdata.c
+++ b/package/config/confdata.c
@@ -15,7 +15,7 @@
const char conf_def_filename[] = ".config";
-const char conf_defname[] = "sysdeps/linux/defconfig";
+const char conf_defname[] = "defconfig";
const char *conf_confnames[] = {
".config",