summaryrefslogtreecommitdiffstats
path: root/support/kconfig/patches/10-br-build-system.patch
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2013-04-14 02:53:17 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-21 23:33:11 +0200
commitb58bf60b519353e983e372f5627d639e7cc72a7a (patch)
tree776ef1b941bce09441eca5a529faecde361836af /support/kconfig/patches/10-br-build-system.patch
parent49f836380a5b110b583210f28781204e45982b86 (diff)
downloadbuildroot-b58bf60b519353e983e372f5627d639e7cc72a7a.tar.gz
buildroot-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/10-br-build-system.patch')
-rw-r--r--support/kconfig/patches/10-br-build-system.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/kconfig/patches/10-br-build-system.patch b/support/kconfig/patches/10-br-build-system.patch
index a877318e72..be6fda07af 100644
--- a/support/kconfig/patches/10-br-build-system.patch
+++ b/support/kconfig/patches/10-br-build-system.patch
@@ -29,7 +29,7 @@ Index: b/Makefile.br
+host-cobjs := $(addprefix $(obj)/,$(sort $(foreach m,$(__hostprogs),$($(m)-objs))))
+host-cxxobjs := $(addprefix $(obj)/,$(sort $(foreach m,$(__hostprogs),$($(m)-cxxobjs))))
+
-+HOST_EXTRACFLAGS += -I$(obj)
++HOST_EXTRACFLAGS += -I$(obj) -DCONFIG_=\"\"
+
+$(host-csingle): %: %.c
+ $(HOSTCC) $(HOST_EXTRACFLAGS) $(HOSTCFLAGS) $(HOSTCFLAGS_$@) $< -o $(obj)/$@
OpenPOWER on IntegriCloud