[U-Boot] [PATCH 5/6] powerpc: Build arch/powerpc/lib/bootm.o depending on CONFIG_CMD_BOOTM

Dirk Eibach eibach at gdsys.de
Mon Apr 22 13:06:44 CEST 2013


Signed-off-by: Dirk Eibach <eibach at gdsys.de>
---
 arch/powerpc/lib/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/lib/Makefile b/arch/powerpc/lib/Makefile
index 59c723b..8c4920b 100644
--- a/arch/powerpc/lib/Makefile
+++ b/arch/powerpc/lib/Makefile
@@ -63,7 +63,7 @@ ifndef CONFIG_SYS_GENERIC_BOARD
 COBJS-y	+= board.o
 endif
 endif
-COBJS-y	+= bootm.o
+COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
 COBJS-y	+= cache.o
 COBJS-y	+= extable.o
 COBJS-y	+= interrupts.o
-- 
1.7.10.4




More information about the U-Boot mailing list