tools/testbuild.sh: kconfig-conf was silently failing because (1) it needs to execute from the top-level NuttX directory and (2) apps/Kconfig does not yet exist

This commit is contained in:
Gregory Nutt
2016-03-08 14:12:44 -06:00
parent c13cb0f839
commit 88d8a81b23
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -192,6 +192,8 @@ function configure {
fi
echo " Refreshing..."
cd $nuttx || { echo "ERROR: failed to CD to $nuttx"; exit 1; }
make context 1>/dev/null 2>&1
kconfig-conf --olddefconfig Kconfig 1>/dev/null
}