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

Dirk Eibach dirk.eibach at gdsys.cc
Fri Apr 26 08:20:09 CEST 2013


From: Dirk Eibach <eibach at gdsys.de>

Signed-off-by: Dirk Eibach <eibach at gdsys.cc>
Signed-off-by: Dirk Eibach <dirk.eibach at gdsys.cc>
---
Changes in v2: None

 arch/powerpc/lib/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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.2.5



More information about the U-Boot mailing list