소스 검색

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.
Eric Andersen 20 년 전
부모
커밋
d47108caf6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      package/config/confdata.c

+ 1 - 1
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",