Browse Source

revert defconfig change, do not call always config -D

Waldemar Brodkorb 15 years ago
parent
commit
644de656b4
1 changed files with 3 additions and 1 deletions
  1. 3 1
      mk/build.mk

+ 3 - 1
mk/build.mk

@@ -248,7 +248,9 @@ endif
 ifneq (,$(filter rb%,${TARGET}))
 	@echo ADK_LINUX_MIKROTIK=y >> $(TOPDIR)/.defconfig
 endif
-	@$(CONFIG)/conf -D .defconfig $(CONFIG_CONFIG_IN)
+	@if [ ! -z "$(TARGET)" ];then \
+		$(CONFIG)/conf -D .defconfig $(CONFIG_CONFIG_IN); \
+	fi
 
 modconfig:
 	@if [ ! -z "$(TARGET)" ];then \