Extend default appdir list.

* Extends tools/configure.sh default appdir search paths.
* Search for apps in ../nuttx-apps and ../nuttx-apps.git locations.
* This allows -a parameter skip when nuttx-apps or nuttx-apps.git is used.

Signed-off-by Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
This commit is contained in:
Tomasz 'CeDeROM' CEDRO 2024-04-24 17:20:25 +02:00 committed by Xiang Xiao
parent b2659424d5
commit f4e31a6568

View File

@ -277,6 +277,10 @@ if [ -z "${appdir}" ]; then
if [ -d "${TOPDIR}/../apps" ]; then
appdir="../apps"
elif [ -d "${TOPDIR}/../nuttx-apps" ]; then
appdir="../nuttx-apps"
elif [ -d "${TOPDIR}/../nuttx-apps.git" ]; then
appdir="../nuttx-apps.git"
else
# Check for a versioned apps/ directory