summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/build.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 2d1d4e035..53bd14dc0 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 \