mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
tools/testbuild.sh was testing .config before configured.
This commit is contained in:
+5
-10
@@ -136,15 +136,6 @@ function distclean {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Check if build is NxWM and clean
|
|
||||||
|
|
||||||
function nxcheck {
|
|
||||||
unset nxconfig
|
|
||||||
if [ -d $NXWDIR ]; then
|
|
||||||
nxconfig=`grep CONFIG_NXWM=y $nuttx/.config`
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Configure for the next build
|
# Configure for the next build
|
||||||
|
|
||||||
function configure {
|
function configure {
|
||||||
@@ -226,6 +217,11 @@ function nxbuild {
|
|||||||
$UNLINK $APPSDIR/external
|
$UNLINK $APPSDIR/external
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
unset nxconfig
|
||||||
|
if [ -d $NXWDIR ]; then
|
||||||
|
nxconfig=`grep CONFIG_NXWM=y $nuttx/.config`
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -z "$nxconfig" ]; then
|
if [ ! -z "$nxconfig" ]; then
|
||||||
echo " Building NxWidgets..."
|
echo " Building NxWidgets..."
|
||||||
echo "------------------------------------------------------------------------------------"
|
echo "------------------------------------------------------------------------------------"
|
||||||
@@ -261,7 +257,6 @@ function build {
|
|||||||
|
|
||||||
function dotest {
|
function dotest {
|
||||||
echo "------------------------------------------------------------------------------------"
|
echo "------------------------------------------------------------------------------------"
|
||||||
nxcheck
|
|
||||||
distclean
|
distclean
|
||||||
configure
|
configure
|
||||||
nxbuild
|
nxbuild
|
||||||
|
|||||||
Reference in New Issue
Block a user