summaryrefslogtreecommitdiff
path: root/nuttx/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-05-10 18:18:19 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-05-10 18:18:19 +0000
commit32fe084a178ac56eae2e543eba72d309185adba9 (patch)
treed66de5fca40c997eab44e5fd5350485768312136 /nuttx/Makefile
parentb178fec3d84131c06bb015d60533a1b704650008 (diff)
downloadpx4-nuttx-32fe084a178ac56eae2e543eba72d309185adba9.tar.gz
px4-nuttx-32fe084a178ac56eae2e543eba72d309185adba9.tar.bz2
px4-nuttx-32fe084a178ac56eae2e543eba72d309185adba9.zip
Ported Ficl to NuttX apps/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3584 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index b74f9e225..07c07ddec 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -268,7 +268,9 @@ include/nuttx/config.h: $(TOPDIR)/.config tools/mkconfig
include/apps: Make.defs
ifneq ($(APPDIR),)
- @$(DIRLINK) $(TOPDIR)/$(APPDIR)/include include/apps
+ @if [ -d $(TOPDIR)/$(APPDIR)/include ]; then \
+ $(DIRLINK) $(TOPDIR)/$(APPDIR)/include include/apps; \
+ fi
endif
# Link the arch/<arch-name>/include directory to include/arch