summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-11 19:42:15 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-11 19:42:15 (GMT)
commit644de656b41be3def5d2d0f276f7e24c0b367ea1 (patch)
treeb1ec4762eb59059d684903fe501ae7cd20f9f116
parent9ccd133338a72a391ac7f9010bc5f7ec93f1ad20 (diff)
revert defconfig change, do not call always config -D
-rw-r--r--mk/build.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 2d1d4e0..53bd14d 100644
--- a/mk/build.mk
+++ b/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 \