summaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2015-11-26 20:39:26 -0500
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:24:54 -0500
commitc4ad67dd9c276a4bf3ce70d83db96a5b6efdab21 (patch)
treeb70412fbd8bf605245eb06b10e9506bf6b2cebb7 /Makefile.inc
parentb4edcb80cc20bdbdc75ad4a6048439c6a54ba677 (diff)
use oldnoconfig and avoid using 'yes'
We use yes to answer question to an interactive 'make oldconfig' and generate lots of noise. 'yes' is also not portable, so skip the yes and use 'make oldnoconfig' instead. Change-Id: I14f7056c7735e1a020aad2f37c652e4a53872760 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 9ce107a0f..371733007 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -75,8 +75,7 @@ KERNEL_CONFIG = $(ZEPHYR_BASE)/kernel/configs/$(KERNEL_TYPE).config
$(DOTCONFIG): $(KBUILD_DEFCONFIG_PATH) $(CONF_FILE)
$(Q)$(CONFIG_SHELL) $(ZEPHYR_BASE)/scripts/kconfig/merge_config.sh \
-q -m -O $(O) $(KBUILD_DEFCONFIG_PATH) $(KERNEL_CONFIG) $(CONF_FILE)
- $(Q)yes "" | $(MAKE) $(S) -C $(ZEPHYR_BASE) O=$(O) \
- PROJECT=$(PROJECT_BASE) oldconfig
+ $(Q)$(MAKE) $(S) -C $(ZEPHYR_BASE) O=$(O) PROJECT=$(PROJECT_BASE) oldnoconfig
pristine:
$(Q)rm -rf $(O)