Commit 4fc1b7be authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

cleanup of debugging stuff

parent 3e5e8622
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -229,7 +229,6 @@ find $targetdir -name "*.[ch]" -exec sed -i.bak -e "s/\(0x[0-9a-fA-F]*\)UL/\(\(u
set -e
>wmc_tool_output.txt
trap 'echo "Error calling WMC tool: $?"; cat wmc_tool_output.txt' ERR
"$scriptdir/tools/$system/wmc_tool" $wmc_opt -m "$targetdir/apps/asdfdencoder.c" "$targetdir/lib_asdfenc/*.c" "$targetdir/lib_asdfcom/*.c" >>wmc_tool_output.txt 2>&1
"$scriptdir/tools/$system/wmc_tool" $wmc_opt -m "$targetdir/apps/encoder.c" "$targetdir/lib_enc/*.c" "$targetdir/lib_com/*.c" >>wmc_tool_output.txt 2>&1
"$scriptdir/tools/$system/wmc_tool" $wmc_opt -m "$targetdir/apps/decoder.c" "$targetdir/lib_dec/*.c" "$targetdir/lib_rend/*.c" >>wmc_tool_output.txt 2>&1
for bak_file in $targetdir/lib_rend/*.bak; do mv "$bak_file" "${bak_file%.*}"; done # restore fresh .c files to avoid time-consuming des-instrumentation of files by the WMC tool