Fix cleaning temp files properly to allow re-use of STM libs

This commit is contained in:
Ben V. Brown
2019-12-26 11:23:36 +11:00
parent e394ad0a93
commit b46ae3a7a5

View File

@@ -145,7 +145,11 @@ then
echo "Building firmware for $model in $lang"
make -j lang="$lang" model="$model" >/dev/null
checkLastCommand
rm -rf Objects >/dev/null
echo "Cleanup Temp files 1 for $model in $lang"
rm -rf Objects/Core >/dev/null
checkLastCommand
echo "Cleanup Temp files 2 for $model in $lang"
rm -rf Objects/Src >/dev/null
checkLastCommand
done
done