sandbox: Disable built-in malloc
[platform/kernel/u-boot.git] / common / Makefile
index e53c125..ae795e0 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