fix error when doing 'make %_defconfig
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 23 Sep 2007 10:57:15 +0000 (10:57 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Sun, 23 Sep 2007 10:57:15 +0000 (10:57 -0000)
Makefile

index 8ce49360cc2abb40ae7b4b5fbe1f83bce1cc86b0..9db3be7d7b9f5a923fa8a646fcbbf028cc1ee6e1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -409,7 +409,7 @@ endif # ifeq ($(strip $(BR2_HAVE_DOT_CONFIG)),y)
 
 %_defconfig: $(CONFIG)/conf
        cp $(shell find ./target/ -name $@) .config
-       @$(CONFIG)/conf -o $(CONFIG_CONFIG_IN)
+       - $(MAKE) oldconfig
 
 help:
        @echo 'Cleaning:'