summaryrefslogtreecommitdiff
path: root/nuttx/binfmt/libbuiltin
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-16 19:08:23 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-16 19:08:23 +0000
commit357d086cf3b85cded5221dab092c917a3fa3c285 (patch)
treef5ccbefcedc52e86e0b48f906c6b2167ec2128d2 /nuttx/binfmt/libbuiltin
parent880aa24ce3cb2bae6decbbdb2650f91a2547ba53 (diff)
downloadpx4-nuttx-357d086cf3b85cded5221dab092c917a3fa3c285.tar.gz
px4-nuttx-357d086cf3b85cded5221dab092c917a3fa3c285.tar.bz2
px4-nuttx-357d086cf3b85cded5221dab092c917a3fa3c285.zip
Add a binary 'loader' so that builtin applications can be executed from the BINFS file system
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5525 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/binfmt/libbuiltin')
-rw-r--r--nuttx/binfmt/libbuiltin/Make.defs9
1 files changed, 6 insertions, 3 deletions
diff --git a/nuttx/binfmt/libbuiltin/Make.defs b/nuttx/binfmt/libbuiltin/Make.defs
index 1d129294c..96e8b6c37 100644
--- a/nuttx/binfmt/libbuiltin/Make.defs
+++ b/nuttx/binfmt/libbuiltin/Make.defs
@@ -33,11 +33,14 @@
#
############################################################################
-# Legacy configurations don't set CONFIG_BUILTIN
-# ifeq ($(CONFIG_BUILTIN),y)
+ifeq ($(CONFIG_BUILTIN),y)
# Builtin application interfaces
+BINFMT_CSRCS += builtin.c
+
+# Builtin library interfaces
+
BINFMT_CSRCS += libbuiltin_utils.c
# Hook the libelf subdirectory into the build
@@ -46,4 +49,4 @@ VPATH += libbuiltin
SUBDIRS += libbuiltin
DEPPATH += --dep-path libbuiltin
-# endif
+endif