fix kernel config related build error
[openwrt/svn-archive/archive.git] / include / kernel.mk
index 4602699..b413d84 100644 (file)
@@ -89,7 +89,7 @@ define ModuleAutoLoad
        fi
 endef
 
-ifeq ($(DUMP),)
+ifeq ($(DUMP)$(TARGET_BUILD),)
   -include $(LINUX_DIR)/.config
 endif