summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-09-25 22:57:39 +0200
committerRichard Braun <rbraun@sceen.net>2017-09-25 22:57:39 +0200
commit4b459cb2d00da072b74ca2b6d80ef7bff143232d (patch)
treedbe53f9ba0ab59488fc756326a1f9c514a018311 /tools
parent4df83ae826c782bf557418d780b041a0a86e9799 (diff)
Fix generation of .config files
The .config file now contains options which are prefixed with CONFIG_.
Diffstat (limited to 'tools')
-rw-r--r--tools/kconfig/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/kconfig/Makefile b/tools/kconfig/Makefile
index 11b54644..efec36ae 100644
--- a/tools/kconfig/Makefile
+++ b/tools/kconfig/Makefile
@@ -42,7 +42,7 @@ nconfig: $(obj)/nconf
# These targets map 1:1 to the commandline options of 'conf'
simple-targets := oldconfig allnoconfig allyesconfig \
- alldefconfig randconfig listnewconfig
+ alldefconfig randconfig listnewconfig olddefconfig
PHONY += $(simple-targets)
$(simple-targets): $(obj)/conf
@@ -72,6 +72,8 @@ help:
@echo ' alldefconfig - New configuration - default values'
@echo ' randconfig - New configuration - random values'
@echo ' oldconfig - Reuse existing .config for configuration'
+ @echo ' olddefconfig - Same as oldconfig but sets new symbols to their'
+ @echo ' default value'
@echo ' defconfig - Default architecture-specific configuration'
@echo ' savedefconfig - Save configuration as ./defconfig (minimal config)'
@echo ' listnewconfig - List new options'
@@ -246,7 +248,7 @@ host-cxxmulti := $(addprefix $(obj)/,$(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) -DCONFIG_=\"\"
+HOST_EXTRACFLAGS += -I$(obj)
$(host-csingle): %: %.c
$(Q)mkdir -p $(@D)