summaryrefslogtreecommitdiff
path: root/nuttx/configs/ea3131/locked
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-20 19:30:39 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-20 19:30:39 +0000
commitf6f8f750c7a25d123dc6f20902b38bcda1c95963 (patch)
tree8bc941e79fba3ba910bab14fc05227bdd88d3239 /nuttx/configs/ea3131/locked
parenteafaeb9398216dacb92de69683ccdda6007efb1d (diff)
downloadpx4-nuttx-f6f8f750c7a25d123dc6f20902b38bcda1c95963.tar.gz
px4-nuttx-f6f8f750c7a25d123dc6f20902b38bcda1c95963.tar.bz2
px4-nuttx-f6f8f750c7a25d123dc6f20902b38bcda1c95963.zip
More build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3406 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/ea3131/locked')
-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)