浏览代码

revert defconfig change, do not call always config -D

Waldemar Brodkorb 15 年之前
父节点
当前提交
644de656b4
共有 1 个文件被更改,包括 3 次插入1 次删除
  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 \