From b58bf60b519353e983e372f5627d639e7cc72a7a Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 14 Apr 2013 02:53:17 +0000 Subject: 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" Signed-off-by: Peter Korsgaard --- support/kconfig/Makefile.br | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/kconfig/Makefile.br') diff --git a/support/kconfig/Makefile.br b/support/kconfig/Makefile.br index 2f8b6ba92..41c5ce165 100644 --- a/support/kconfig/Makefile.br +++ b/support/kconfig/Makefile.br @@ -19,7 +19,7 @@ host-cxxmulti := $(foreach m,$(__hostprogs),\ 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)/$@ -- cgit v1.2.3