build.sh: clean-target: remove linux build dir

This commit is contained in:
Calin Crisan 2018-03-31 22:49:35 +03:00
parent 7e1148d982
commit e13dbd3ebf

View File

@ -105,6 +105,9 @@ elif [ "$target" == "clean-target" ]; then
echo "removing .stamp_images_installed files"
find $outputdir/build -name .stamp_images_installed | xargs -r rm
echo "removing linux kernel build dir"
make O=$outputdir linux-dirclean
fi
if [ -f $outputdir/.config ]; then