summaryrefslogtreecommitdiff
path: root/nuttx/mm/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-11 20:33:58 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-11 20:33:58 +0000
commit63240531781806cb440108ebd5ad0c3dc62510d3 (patch)
tree386d184c161ad982f82fe673bdf69319f84cca6b /nuttx/mm/Makefile
parent205242a575697630d073edc02a6341e6d9be22a6 (diff)
downloadpx4-nuttx-63240531781806cb440108ebd5ad0c3dc62510d3.tar.gz
px4-nuttx-63240531781806cb440108ebd5ad0c3dc62510d3.tar.bz2
px4-nuttx-63240531781806cb440108ebd5ad0c3dc62510d3.zip
Update to granule allocator; Update to ENC28j60 driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5130 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/mm/Makefile')
-rw-r--r--nuttx/mm/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/nuttx/mm/Makefile b/nuttx/mm/Makefile
index 7e6eb68a7..ef168f0db 100644
--- a/nuttx/mm/Makefile
+++ b/nuttx/mm/Makefile
@@ -36,10 +36,15 @@
-include $(TOPDIR)/Make.defs
ASRCS =
-AOBJS = $(ASRCS:.S=$(OBJEXT))
CSRCS = mm_initialize.c mm_sem.c mm_addfreechunk.c mm_size2ndx.c mm_shrinkchunk.c \
mm_malloc.c mm_zalloc.c mm_calloc.c mm_realloc.c \
mm_memalign.c mm_free.c mm_mallinfo.c
+
+ifeq ($(CONFIG_GRAN),y)
+CSRCS = mm_graninit.c mm_granalloc.c mm_granfree.c
+endif
+
+AOBJS = $(ASRCS:.S=$(OBJEXT))
COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)