Commit e5b8bd02 authored by James Zern's avatar James Zern
Browse files

configure.sh: only execute toupper when necessary

speeds up windows configure by ~40%

Change-Id: Ie3138b8fe39ff4c901c35c5d689c1ed12da34866
Showing with 1 addition and 1 deletion
...@@ -1284,8 +1284,8 @@ print_config_mk() { ...@@ -1284,8 +1284,8 @@ print_config_mk() {
local makefile=$2 local makefile=$2
shift 2 shift 2
for cfg; do for cfg; do
upname="`toupper $cfg`"
if enabled $cfg; then if enabled $cfg; then
upname="`toupper $cfg`"
echo "${prefix}_${upname}=yes" >> $makefile echo "${prefix}_${upname}=yes" >> $makefile
fi fi
done done
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment