configure.sh: only execute toupper when necessary
speeds up windows configure by ~40% Change-Id: Ie3138b8fe39ff4c901c35c5d689c1ed12da34866
This commit is contained in:
parent
0249531bb9
commit
e5b8bd020a
@ -1284,8 +1284,8 @@ print_config_mk() {
|
||||
local makefile=$2
|
||||
shift 2
|
||||
for cfg; do
|
||||
upname="`toupper $cfg`"
|
||||
if enabled $cfg; then
|
||||
upname="`toupper $cfg`"
|
||||
echo "${prefix}_${upname}=yes" >> $makefile
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user