瀏覽代碼

fix pregen of config

Waldemar Brodkorb 8 年之前
父節點
當前提交
0cc22b4e75
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mk/build.mk

+ 2 - 2
mk/build.mk

@@ -401,7 +401,7 @@ defconfig: .menu $(CONFIG)/conf
 			 >> $(ADK_TOPDIR)/.defconfig; \
 	fi
 	@if [ ! -z "$(ADK_TARGET_FS)" ];then \
-		grep "^config" target/config/Config.in.target \
+		grep "^config" target/config/Config.in.rootfs \
 			|grep -i "$(ADK_TARGET_FS)" \
 			|sed -e "s#^config \(.*\)#\1=y#" \
 			>> $(ADK_TOPDIR)/.defconfig; \
@@ -466,7 +466,7 @@ allconfig:
 		echo $$symbol >> $(ADK_TOPDIR)/all.config; \
 	done
 	@if [ ! -z "$(ADK_TARGET_FS)" ];then \
-		grep "^config" target/config/Config.in.target \
+		grep "^config" target/config/Config.in.rootfs \
 			|grep -i "$(ADK_TARGET_FS)" \
 			|sed -e "s#^config \(.*\)#\1=y#" \
 			>> $(ADK_TOPDIR)/all.config; \