summaryrefslogtreecommitdiff
path: root/nuttx/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-16 22:08:59 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-06-16 22:08:59 +0000
commit731994d0383c636e43644c3dc91b91b15745b345 (patch)
tree34e83135dc0e7f8f211822a1350250000701c7cb /nuttx/Makefile
parent50b481d7aad72088a44da871bb7df4865e5afeb9 (diff)
downloadpx4-nuttx-731994d0383c636e43644c3dc91b91b15745b345.tar.gz
px4-nuttx-731994d0383c636e43644c3dc91b91b15745b345.tar.bz2
px4-nuttx-731994d0383c636e43644c3dc91b91b15745b345.zip
Added NXFLAT a bit at a time
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1889 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Makefile')
-rw-r--r--nuttx/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/nuttx/Makefile b/nuttx/Makefile
index ae200d576..fe917e2bc 100644
--- a/nuttx/Makefile
+++ b/nuttx/Makefile
@@ -70,7 +70,7 @@ ADDON_DIRS := $(PCODE_DIR) $(NX_DIR)
# from the build if file descriptor support is disabled
NONFSDIRS = sched lib $(ARCH_SRC) mm examples/$(CONFIG_EXAMPLE) $(ADDON_DIRS)
-FSDIRS = fs drivers
+FSDIRS = fs drivers binfmt
ifeq ($(CONFIG_NET),y)
NONFSDIRS += net netutils
@@ -129,7 +129,7 @@ ifeq ($(CONFIG_NET),y)
LINKLIBS += drivers/libdrivers$(LIBEXT)
endif
else
-LINKLIBS += fs/libfs$(LIBEXT) drivers/libdrivers$(LIBEXT)
+LINKLIBS += fs/libfs$(LIBEXT) drivers/libdrivers$(LIBEXT) binfmt/libbinfmt$(LIBEXT)
endif
# Add libraries for Pascall P-Code
@@ -232,6 +232,9 @@ fs/libfs$(LIBEXT): context
drivers/libdrivers$(LIBEXT): context
@$(MAKE) -C drivers TOPDIR="$(TOPDIR)" libdrivers$(LIBEXT)
+binfmt/libbinfmt$(LIBEXT): context
+ @$(MAKE) -C binfmt TOPDIR="$(TOPDIR)" libbinfmt$(LIBEXT)
+
pcode/libpcode$(LIBEXT): context
@$(MAKE) -C pcode TOPDIR="$(TOPDIR)" libpcode$(LIBEXT)