From 644de656b41be3def5d2d0f276f7e24c0b367ea1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 11 Dec 2009 20:42:15 +0100 Subject: revert defconfig change, do not call always config -D --- mk/build.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mk') 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 \ -- cgit v1.2.3