summaryrefslogtreecommitdiff
path: root/nuttx/configs/ea3131/locked/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/ea3131/locked/Makefile')
-rwxr-xr-xnuttx/configs/ea3131/locked/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/configs/ea3131/locked/Makefile b/nuttx/configs/ea3131/locked/Makefile
index 26a62a683..a6bae11a0 100755
--- a/nuttx/configs/ea3131/locked/Makefile
+++ b/nuttx/configs/ea3131/locked/Makefile
@@ -41,7 +41,16 @@
PASS1_SRCDIR = arch/$(CONFIG_ARCH)/src
PASS1_BOARDDIR = $(PASS1_SRCDIR)/board
PASS1_LIBBOARD = $(PASS1_BOARDDIR)/libboard$(LIBEXT)
+
+# Where is the application library?
+
+ifneq ($(CONFIG_APP_DIR),)
PASS1_LIBAPP = $(CONFIG_APP_DIR)/libapp$(LIBEXT)
+else
+ifneq ($(APPDIR),)
+PASS1_LIBAPP = $(APPDIR)/libapps$(LIBEXT)
+endif
+endif
# Remove the application library (libapp) from the list of libraries. Add
# the boad library (liboard)