configure.sh: fix '/configure.sh -e board:config menuconfig' build break

If boardconfig changed, '/configure.sh -e board:config menuconfig'
would finally call 'make distclean menuconfig' which results in
build break. It also applies to nconfig and qconfig.

Change-Id: I44c06718cbda948932c667b9f2d1339913c9ba37
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
liuhaitao 2021-01-04 15:39:42 +08:00 committed by Abdelatif Guettouche
parent f63db66382
commit 82ff5b52f0
1 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ fi
if [ -r ${dest_config} ]; then
if [ "X${enforce_distclean}" = "Xy" ]; then
make -C ${TOPDIR} distclean $*
make -C ${TOPDIR} distclean
else
if cmp -s ${src_config} ${backup_config}; then
echo "No configuration change."
@ -197,7 +197,7 @@ if [ -r ${dest_config} ]; then
fi
if [ "X${distclean}" = "Xy" ]; then
make -C ${TOPDIR} distclean $*
make -C ${TOPDIR} distclean
else
echo "Already configured!"
echo "Please 'make distclean' and try again."