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/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/configs/ea3131/locked/Makefile b/nuttx/configs/ea3131/locked/Makefile
index a6bae11a0..053781578 100755
--- a/nuttx/configs/ea3131/locked/Makefile
+++ b/nuttx/configs/ea3131/locked/Makefile
@@ -44,18 +44,18 @@ PASS1_LIBBOARD = $(PASS1_BOARDDIR)/libboard$(LIBEXT)
# Where is the application library?
-ifneq ($(CONFIG_APP_DIR),)
-PASS1_LIBAPP = $(CONFIG_APP_DIR)/libapp$(LIBEXT)
+ifneq ($(CONFIG_APPS_DIR),)
+PASS1_LIBAPPS = $(CONFIG_APPS_DIR)/libapps$(LIBEXT)
else
ifneq ($(APPDIR),)
-PASS1_LIBAPP = $(APPDIR)/libapps$(LIBEXT)
+PASS1_LIBAPPS = $(APPDIR)/libapps$(LIBEXT)
endif
endif
-# Remove the application library (libapp) from the list of libraries. Add
+# Remove the application library (libapps) from the list of libraries. Add
# the boad library (liboard)
-PASS1_LINKLIBS = $(filter-out $(PASS1_LIBAPP),$(LINKLIBS))
+PASS1_LINKLIBS = $(filter-out $(PASS1_LIBAPPS),$(LINKLIBS))
PASS1_LINKLIBS += $(PASS1_LIBBOARD)
# Get the paths to the libraries and the links script path in format that