From 4b459cb2d00da072b74ca2b6d80ef7bff143232d Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Mon, 25 Sep 2017 22:57:39 +0200 Subject: Fix generation of .config files The .config file now contains options which are prefixed with CONFIG_. --- tools/kconfig/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tools') 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) -- cgit v1.2.3