diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-11 20:42:15 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-11 20:42:15 +0100 |
commit | 644de656b41be3def5d2d0f276f7e24c0b367ea1 (patch) | |
tree | b1ec4762eb59059d684903fe501ae7cd20f9f116 | |
parent | 9ccd133338a72a391ac7f9010bc5f7ec93f1ad20 (diff) |
revert defconfig change, do not call always config -D
-rw-r--r-- | mk/build.mk | 4 |
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 \ |