Browse Source

fix defconfig generation

Waldemar Brodkorb 6 years ago
parent
commit
330b4945e1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mk/build.mk

+ 1 - 1
mk/build.mk

@@ -420,7 +420,7 @@ defconfig: .menu $(CONFIG)/conf
 	fi
 	@if [ ! -z "$(ADK_TARGET_ARCH)" ];then \
 		grep "^config" target/config/Config.in.arch.choice \
-			|grep -i "_$(ADK_TARGET_ARCH)$$" \
+			|grep -i "$(ADK_TARGET_OS)_ARCH_$(ADK_TARGET_ARCH)$$" \
 			|sed -e "s#^config \(.*\)#\1=y#" \
 			 >> $(ADK_TOPDIR)/.defconfig; \
 	fi