summaryrefslogtreecommitdiff
path: root/nuttx/binfmt/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-16 21:15:27 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-16 21:15:27 +0000
commit3dfe9f3ba541f759e690bc112cb9025737970d5a (patch)
tree966aa2197272d9b52e3e25177cd78cea2751ade2 /nuttx/binfmt/Makefile
parent2fe1350cbd4c9deefa22a2c5785621a258e7a81c (diff)
downloadpx4-nuttx-3dfe9f3ba541f759e690bc112cb9025737970d5a.tar.gz
px4-nuttx-3dfe9f3ba541f759e690bc112cb9025737970d5a.tar.bz2
px4-nuttx-3dfe9f3ba541f759e690bc112cb9025737970d5a.zip
Add basic hooks to support a PATH variable (more is needed)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5440 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/binfmt/Makefile')
-rw-r--r--nuttx/binfmt/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/nuttx/binfmt/Makefile b/nuttx/binfmt/Makefile
index bda9602ac..8ec0d877c 100644
--- a/nuttx/binfmt/Makefile
+++ b/nuttx/binfmt/Makefile
@@ -43,15 +43,19 @@ CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(TOPDIR)$(DELIM)sched"}
# Basic BINFMT source files
-BINFMT_ASRCS =
-BINFMT_CSRCS = binfmt_globals.c binfmt_register.c binfmt_unregister.c \
- binfmt_loadmodule.c binfmt_unloadmodule.c binfmt_execmodule.c \
- binfmt_exec.c binfmt_dumpmodule.c
+BINFMT_ASRCS =
+BINFMT_CSRCS = binfmt_globals.c binfmt_register.c binfmt_unregister.c
+BINFMT_CSRCS += binfmt_loadmodule.c binfmt_unloadmodule.c binfmt_execmodule.c
+BINFMT_CSRCS += binfmt_exec.c binfmt_dumpmodule.c
+
+ifeq ($(CONFIG_BINFMT_EXEPATH),y)
+BINFMT_CSRCS += binfmt_exepath.c
+endif
# Symbol table source files
-BINFMT_CSRCS += symtab_findbyname.c symtab_findbyvalue.c \
- symtab_findorderedbyname.c symtab_findorderedbyvalue.c
+BINFMT_CSRCS += symtab_findbyname.c symtab_findbyvalue.c
+BINFMT_CSRCS += symtab_findorderedbyname.c symtab_findorderedbyvalue.c
# Add configured binary modules