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

login
register
mail settings
Submitter Dirk Eibach
Date April 22, 2013, 11:06 a.m.
Message ID <1366628805-29964-6-git-send-email-eibach@gdsys.de>
Download mbox | patch
Permalink /patch/238443/
State Superseded
Delegated to: Tom Rini
Headers show

Comments

Dirk Eibach - April 22, 2013, 11:06 a.m.
Signed-off-by: Dirk Eibach <eibach@gdsys.de>
---
 arch/powerpc/lib/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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