summaryrefslogtreecommitdiffstats
path: root/nuttx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index 1e180b1424..8e875cf64e 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -65,7 +65,7 @@ BOARD_DIR = configs/$(CONFIG_ARCH_BOARD)
# APPS_LOC can be over-ridden from the command line:
ifeq ($(CONFIG_BUILTIN_APPS),y)
-ifeq ($(APP_LOC),)
+ifeq ($(APPS_LOC),)
APPS_LOC = ../apps
endif
APPS_DIR := ${shell if [ -r $(APPS_LOC)/Makefile ]; then echo "$(APPS_LOC)"; fi}