瀏覽代碼

scripts: ext-toolchain: actually probe libc type on config generation

Currently we never call probe_cc before config generation, this cause
the script to never actually detect the correct libc type.
Call probe_cc before config generation to correctl set the .config file.

Signed-off-by: Christian Marangi <[email protected]>
Christian Marangi 3 年之前
父節點
當前提交
ddeabc75eb
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      scripts/ext-toolchain.sh

+ 1 - 0
scripts/ext-toolchain.sh

@@ -546,6 +546,7 @@ while [ -n "$1" ]; do
 
 		--config)
 			if probe_cc; then
+				probe_libc
 				print_config "$1"
 				exit $?
 			fi