summaryrefslogtreecommitdiff
path: root/nuttx/mm/Makefile
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-22 10:42:26 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-22 10:42:26 -0600
commit19fa0bdcc2946fea57857ec8e16191f8ab037c18 (patch)
treec723df86d08f5b0a64eeb108e8310674e48d2cb6 /nuttx/mm/Makefile
parent8d66319ddae38dbbe6e59f957843567d644af452 (diff)
downloadpx4-nuttx-19fa0bdcc2946fea57857ec8e16191f8ab037c18.tar.gz
px4-nuttx-19fa0bdcc2946fea57857ec8e16191f8ab037c18.tar.bz2
px4-nuttx-19fa0bdcc2946fea57857ec8e16191f8ab037c18.zip
Move the kernel heap allocator front-end from mm/. to mm/kmm_heap/.
Diffstat (limited to 'nuttx/mm/Makefile')
-rw-r--r--nuttx/mm/Makefile19
1 files changed, 1 insertions, 18 deletions
diff --git a/nuttx/mm/Makefile b/nuttx/mm/Makefile
index 2aa90e5e4..65c061c2e 100644
--- a/nuttx/mm/Makefile
+++ b/nuttx/mm/Makefile
@@ -77,24 +77,7 @@ ifeq ($(CONFIG_BUILD_KERNEL),y)
CSRCS += umm_sbrk.c
endif
-# Kernel allocator
-
-ifeq ($(CONFIG_MM_KERNEL_HEAP),y)
-CSRCS += kmm_initialize.c kmm_addregion.c kmm_sem.c
-CSRCS += kmm_brkaddr.c kmm_calloc.c kmm_extend.c kmm_free.c kmm_mallinfo.c
-CSRCS += kmm_malloc.c kmm_memalign.c kmm_realloc.c kmm_zalloc.c
-
-ifeq ($(CONFIG_BUILD_KERNEL),y)
-CSRCS += kmm_sbrk.c
-endif
-
-ifeq ($(CONFIG_DEBUG),y)
-CSRCS += kmm_heapmember.c
-endif
-endif
-
-# An optional granule allocator
-
+include kmm_heap/Make.defs
include mm_gran/Make.defs
BINDIR ?= bin