diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2013-04-14 02:53:17 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-04-21 23:33:11 +0200 |
commit | b58bf60b519353e983e372f5627d639e7cc72a7a (patch) | |
tree | 776ef1b941bce09441eca5a529faecde361836af /support/kconfig/patches/14-support-out-of-tree-config.patch | |
parent | 49f836380a5b110b583210f28781204e45982b86 (diff) | |
download | buildroot-novena-b58bf60b519353e983e372f5627d639e7cc72a7a.tar.gz buildroot-novena-b58bf60b519353e983e372f5627d639e7cc72a7a.zip |
support/kconfig: use kconfig-provided way of setting the CONFIG_ prefix
It's now been a while since it has been possible to build the kconfig
parser to understand a prefix other than CONFIG_, and even no prefix
at all, by setting the CONFIG_ macro (#define) at biuld time.
Just use that, insted of patching, it will make it easier for us in the
future.
Our patches have been refreshed at the same time.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'support/kconfig/patches/14-support-out-of-tree-config.patch')
-rw-r--r-- | support/kconfig/patches/14-support-out-of-tree-config.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/support/kconfig/patches/14-support-out-of-tree-config.patch b/support/kconfig/patches/14-support-out-of-tree-config.patch index 318d0ddd9..9e3f93d4f 100644 --- a/support/kconfig/patches/14-support-out-of-tree-config.patch +++ b/support/kconfig/patches/14-support-out-of-tree-config.patch @@ -20,7 +20,7 @@ Index: b/confdata.c =================================================================== --- a/confdata.c +++ b/confdata.c -@@ -71,9 +71,7 @@ +@@ -70,9 +70,7 @@ const char *conf_get_autoconfig_name(void) { @@ -31,7 +31,7 @@ Index: b/confdata.c } static char *conf_expand_value(const char *in) -@@ -738,6 +736,9 @@ +@@ -737,6 +735,9 @@ char dirname[PATH_MAX+1], tmpname[PATH_MAX+1], newname[PATH_MAX+1]; char *env; @@ -41,7 +41,7 @@ Index: b/confdata.c dirname[0] = 0; if (name && name[0]) { struct stat st; -@@ -832,6 +833,7 @@ +@@ -831,6 +832,7 @@ { const char *name; char path[PATH_MAX+1]; @@ -49,7 +49,7 @@ Index: b/confdata.c char *s, *d, c; struct symbol *sym; struct stat sb; -@@ -840,8 +842,20 @@ +@@ -839,8 +841,20 @@ name = conf_get_autoconfig_name(); conf_read_simple(name, S_DEF_AUTO); @@ -72,7 +72,7 @@ Index: b/confdata.c res = 0; for_all_symbols(i, sym) { -@@ -934,9 +948,11 @@ +@@ -933,9 +947,11 @@ close(fd); } out: @@ -87,7 +87,7 @@ Index: b/confdata.c return res; } -@@ -946,25 +962,38 @@ +@@ -945,25 +961,38 @@ const char *name; FILE *out, *tristate, *out_h; int i; @@ -130,7 +130,7 @@ Index: b/confdata.c if (!out_h) { fclose(out); fclose(tristate); -@@ -996,19 +1025,22 @@ +@@ -995,19 +1024,22 @@ name = getenv("KCONFIG_AUTOHEADER"); if (!name) name = "include/generated/autoconf.h"; |