mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
Merge pull request #792 from liuguo09/testbuild
tools/testbuild.sh: update makefunc to hardcode make/extra flags opti…
This commit is contained in:
+4
-4
@@ -158,7 +158,7 @@ blacklist=`grep "^-" $testfile || true`
|
|||||||
cd $nuttx || { echo "ERROR: failed to CD to $nuttx"; exit 1; }
|
cd $nuttx || { echo "ERROR: failed to CD to $nuttx"; exit 1; }
|
||||||
|
|
||||||
function makefunc {
|
function makefunc {
|
||||||
${MAKE} $@
|
${MAKE} ${MAKE_FLAGS} "${EXTRA_FLAGS}" $@ 1>/dev/null
|
||||||
ret=$?
|
ret=$?
|
||||||
if [ $ret != 0 ]; then
|
if [ $ret != 0 ]; then
|
||||||
fail=$ret
|
fail=$ret
|
||||||
@@ -178,7 +178,7 @@ function distclean {
|
|||||||
if [ ${GITCLEAN} -eq 1 ]; then
|
if [ ${GITCLEAN} -eq 1 ]; then
|
||||||
distclean_with_git
|
distclean_with_git
|
||||||
else
|
else
|
||||||
makefunc ${JOPTION} ${MAKE_FLAGS} distclean 1>/dev/null
|
makefunc ${JOPTION} distclean
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@@ -211,7 +211,7 @@ function configure {
|
|||||||
|
|
||||||
|
|
||||||
echo " Refreshing..."
|
echo " Refreshing..."
|
||||||
makefunc ${MAKE_FLAGS} olddefconfig 1>/dev/null
|
makefunc olddefconfig 1>/dev/null
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -220,7 +220,7 @@ function configure {
|
|||||||
function build {
|
function build {
|
||||||
echo " Building NuttX..."
|
echo " Building NuttX..."
|
||||||
echo "------------------------------------------------------------------------------------"
|
echo "------------------------------------------------------------------------------------"
|
||||||
makefunc ${JOPTION} ${MAKE_FLAGS} ${EXTRA_FLAGS} 1>/dev/null
|
makefunc ${JOPTION}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Coordinate the steps for the next build test
|
# Coordinate the steps for the next build test
|
||||||
|
|||||||
Reference in New Issue
Block a user