sandbox: Disable built-in malloc
authorSimon Glass <sjg@chromium.org>
Sat, 17 Sep 2011 06:48:49 +0000 (06:48 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 17 Oct 2011 21:56:57 +0000 (23:56 +0200)
We prefer to U-Boot's malloc but for now it is easier to use the C library's
version.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/Makefile

index e53c125e0dd98f8a928d0129fd12df0588dc82d2..ae795e0d55b2f244daad2e9d3ac95738df97ae97 100644 (file)
@@ -29,7 +29,9 @@ LIB   = $(obj)libcommon.o
 ifndef CONFIG_SPL_BUILD
 COBJS-y += main.o
 COBJS-y += command.o
+ifndef CONFIG_SANDBOX
 COBJS-y += dlmalloc.o
+endif
 COBJS-y += exports.o
 COBJS-$(CONFIG_SYS_HUSH_PARSER) += hush.o
 COBJS-y += image.o