From f4e31a6568cc60d0428feb515dd62d80d986ca93 Mon Sep 17 00:00:00 2001 From: Tomasz 'CeDeROM' CEDRO Date: Wed, 24 Apr 2024 17:20:25 +0200 Subject: [PATCH] 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 --- tools/configure.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/configure.sh b/tools/configure.sh index d3cdb7ff79b..023cc1ebe4e 100755 --- a/tools/configure.sh +++ b/tools/configure.sh @@ -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