diff --git a/build.sh b/build.sh index 72afd2972f..6bb1ce9961 100755 --- a/build.sh +++ b/build.sh @@ -102,6 +102,11 @@ elif [ "$target" == "clean-target" ]; then find $outputdir/build -name .stamp_host_installed | xargs -r rm fi + if [ -f $outputdir/.config ]; then + echo "removing .config file" + rm -f $outputdir/.config + fi + echo "target is clean" elif [ -n "$target" ]; then