build.sh: clean-target: remove .stamp_images_installed files

This commit is contained in:
Calin Crisan 2018-03-31 17:10:35 +03:00
parent abab8ab080
commit 65cc6e1003

View File

@ -102,6 +102,9 @@ elif [ "$target" == "clean-target" ]; then
echo "removing .stamp_host_installed files"
find $outputdir/build -name .stamp_host_installed | xargs -r rm
echo "removing .stamp_images_installed files"
find $outputdir/build -name .stamp_images_installed | xargs -r rm
fi
if [ -f $outputdir/.config ]; then
@ -118,7 +121,7 @@ elif [ -n "$target" ]; then
make O=$outputdir $target
else # if [ -z "$target ]
$0 $b all
$0 $board all
echo "build successful"
fi