Explorar o código

revert defconfig change, do not call always config -D

Waldemar Brodkorb %!s(int64=15) %!d(string=hai) anos
pai
achega
644de656b4
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      mk/build.mk

+ 3 - 1
mk/build.mk

@@ -248,7 +248,9 @@ endif
 ifneq (,$(filter rb%,${TARGET}))
 ifneq (,$(filter rb%,${TARGET}))
 	@echo ADK_LINUX_MIKROTIK=y >> $(TOPDIR)/.defconfig
 	@echo ADK_LINUX_MIKROTIK=y >> $(TOPDIR)/.defconfig
 endif
 endif
-	@$(CONFIG)/conf -D .defconfig $(CONFIG_CONFIG_IN)
+	@if [ ! -z "$(TARGET)" ];then \
+		$(CONFIG)/conf -D .defconfig $(CONFIG_CONFIG_IN); \
+	fi
 
 
 modconfig:
 modconfig:
 	@if [ ! -z "$(TARGET)" ];then \
 	@if [ ! -z "$(TARGET)" ];then \