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:
parent
b2659424d5
commit
f4e31a6568
@ -277,6 +277,10 @@ if [ -z "${appdir}" ]; then
|
|||||||
|
|
||||||
if [ -d "${TOPDIR}/../apps" ]; then
|
if [ -d "${TOPDIR}/../apps" ]; then
|
||||||
appdir="../apps"
|
appdir="../apps"
|
||||||
|
elif [ -d "${TOPDIR}/../nuttx-apps" ]; then
|
||||||
|
appdir="../nuttx-apps"
|
||||||
|
elif [ -d "${TOPDIR}/../nuttx-apps.git" ]; then
|
||||||
|
appdir="../nuttx-apps.git"
|
||||||
else
|
else
|
||||||
# Check for a versioned apps/ directory
|
# Check for a versioned apps/ directory
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user