Commit 8509a41e authored by Adam Wujek's avatar Adam Wujek 💬 Committed by Grzegorz Daniluk

MAKEALL: change CONFIG_NAME into DEFCONFIG_NAME

Change variable name in scripts to avoid confusion with dot-config variables.
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent bdae5fcb
......@@ -35,8 +35,8 @@ for c in $configs; do
echo "Error in configuration (see $T)"
exit 1
fi
CONFIG_NAME=$c
export CONFIG_NAME
DEFCONFIG_NAME=$c
export DEFCONFIG_NAME
# Remove "# configuration written to .config" from output
make -s | grep -v '^#'
done
......
......@@ -45,18 +45,18 @@ if [ "$GIT_HASH_CUR" = "$GIT_HASH_MASTER" ]; then
fi
#echo "Read size info file"
while read git_hash config_name text data bss dec hex filename
while read git_hash defconfig_name text data bss dec hex filename
do
if [ "$git_hash" = "$GIT_HASH_CUR" ]; then
curr_size_array[$config_name]=$dec
curr_size_array[$defconfig_name]=$dec
fi
done < "$size_info_file"
#echo "Read size db file"
while read git_hash config_name text data bss dec hex filename
while read git_hash defconfig_name text data bss dec hex filename
do
#echo "$git_hash $config_name $dec"
size_db_array["$git_hash"_"$config_name"]="$dec"
#echo "$git_hash $defconfig_name $dec"
size_db_array["$git_hash"_"$defconfig_name"]="$dec"
done < "$size_db_file"
#print header
......
......@@ -7,11 +7,11 @@ if ! [ -n "$size_info_file" ]; then
exit 0
fi
echo $1 $2 $CONFIG_NAME
echo $1 $2 $DEFCONFIG_NAME
# separate calling commands and filling DB
SIZES=`$1 $2 | grep $2`
GIT_HASH=`git log --format=format:%H -1`
echo -n "$GIT_HASH " >> "$size_info_file"
echo -n "$CONFIG_NAME ">> "$size_info_file"
echo -n "$DEFCONFIG_NAME ">> "$size_info_file"
echo $SIZES >> "$size_info_file"
Markdown is supported
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