Patchwork [U-Boot,2/7] SPL: common/Makefile: Add image.c to SPL build

login
register
mail settings
Submitter Stefan Roese
Date May 8, 2012, 7:30 a.m.
Message ID <1336462213-21306-1-git-send-email-sr@denx.de>
Download mbox | patch
Permalink /patch/157583/
State Accepted
Commit 22b7cfff326b5de5bfe94d676d9051a115c6aad1
Headers show

Comments

Stefan Roese - May 8, 2012, 7:30 a.m.
This is needed for the SPEAr SPL support, as SPEAr uses the mkimage
header to wrap and validate the images (SPL & U-Boot).

Signed-off-by: Stefan Roese <sr@denx.de>
---
 common/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/common/Makefile b/common/Makefile
index 6e23baa..a30b3d4 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -31,7 +31,6 @@  COBJS-y += main.o
 COBJS-y += command.o
 COBJS-y += exports.o
 COBJS-$(CONFIG_SYS_HUSH_PARSER) += hush.o
-COBJS-y += image.o
 COBJS-y += s_record.o
 COBJS-$(CONFIG_SERIAL_MULTI) += serial.o
 COBJS-y += xyzModem.o
@@ -193,6 +192,7 @@  COBJS-$(CONFIG_SPL_YMODEM_SUPPORT) += xyzModem.o
 endif
 COBJS-y += console.o
 COBJS-y += dlmalloc.o
+COBJS-y += image.o
 COBJS-y += memsize.o
 COBJS-y += stdio.o