tools/testbuild.sh: Use CPU option on 'make distclean' too, but not 'make olddefconfig.

This commit is contained in:
Gregory Nutt
2019-10-02 17:26:12 -06:00
parent 6371b4915c
commit edb19474bc
+1 -1
View File
@@ -154,7 +154,7 @@ function distclean {
cd $nuttx || { echo "ERROR: failed to CD to $nuttx"; exit 1; } cd $nuttx || { echo "ERROR: failed to CD to $nuttx"; exit 1; }
if [ -f .config ]; then if [ -f .config ]; then
echo " Cleaning..." echo " Cleaning..."
${MAKE} ${MAKE_FLAGS} distclean 1>/dev/null ${MAKE} ${JOPTION} ${MAKE_FLAGS} distclean 1>/dev/null
fi fi
} }