You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2021/01/05 21:52:14 UTC
[incubator-nuttx] branch master updated: configure.sh: fix
'/configure.sh -e board:config menuconfig' build break
This is an automated email from the ASF dual-hosted git repository.
aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 82ff5b5 configure.sh: fix '/configure.sh -e board:config menuconfig' build break
82ff5b5 is described below
commit 82ff5b52f00a87a0a59ce670f42f09f3357a70c8
Author: liuhaitao <li...@xiaomi.com>
AuthorDate: Mon Jan 4 15:39:42 2021 +0800
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 <li...@xiaomi.com>
---
tools/configure.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/configure.sh b/tools/configure.sh
index a9c2710..081c0a6 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."