From bbf409cc760b967e271b61175d4ad1cebc69c5e1 Mon Sep 17 00:00:00 2001 From: liuhaitao Date: Mon, 4 Jan 2021 15:39:42 +0800 Subject: [PATCH] configure.sh: fix '/configure.sh -e board:config menuconfig' build break MIRTOS-307 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 --- tools/configure.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/configure.sh b/tools/configure.sh index a9c271004d5..081c0a61f28 100755 --- a/tools/configure.sh +++ b/tools/configure.sh @@ -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."