Bugfix for multiple targets u-boot building

This commit is contained in:
zador-blood-stained 2016-12-09 21:13:34 +03:00
parent baab6587a5
commit ca21800890

View file

@ -60,6 +60,9 @@ compile_uboot()
local target_patchdir=$(cut -d';' -f2 <<< $target)
local target_files=$(cut -d';' -f3 <<< $target)
display_alert "Checking out sources"
git checkout -f -q HEAD
if [[ $CLEAN_LEVEL == *make* ]]; then
display_alert "Cleaning" "$BOOTSOURCEDIR" "info"
(cd $SOURCES/$BOOTSOURCEDIR; make clean > /dev/null 2>&1)