diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-05-18 09:13:26 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-04-11 15:57:51 +0200 |
commit | 523daf675a2d9a1fd01edc854c98eb4ad2726962 (patch) | |
tree | 17b8ca4137deb248f048dbbcfa35ac12b1dc8372 /common/Makefile | |
parent | 2a3762495056381e1ef1809b482b670fcd45b6d5 (diff) | |
download | barebox-523daf675a2d9a1fd01edc854c98eb4ad2726962.tar.gz barebox-523daf675a2d9a1fd01edc854c98eb4ad2726962.tar.xz |
add dummy_malloc functions
For some environments the dummy malloc functions offer a very small
alternative implementation. malloc will get its memory from sbrk()
and never frees memory again.
This of course is not suitable for interactive environments and thus
depends on CONFIG_SHELL_NONE
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Makefile')
-rw-r--r-- | common/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/Makefile b/common/Makefile index aa2c2220a6..9fed2ae521 100644 --- a/common/Makefile +++ b/common/Makefile @@ -9,7 +9,8 @@ obj-$(CONFIG_POLLER) += poller.o obj-$(CONFIG_BLOCK) += block.o obj-y += memory.o -obj-y += dlmalloc.o +obj-$(CONFIG_MALLOC_DLMALLOC) += dlmalloc.o +obj-$(CONFIG_MALLOC_DUMMY) += dummy_malloc.o obj-y += clock.o obj-y += version.o obj-$(CONFIG_COMMAND_SUPPORT) += command.o |