
Dear Dirk Eibach,
In message 1366958892-5911-7-git-send-email-dirk.eibach@gdsys.cc you wrote:
From: Dirk Eibach eibach@gdsys.de
Signed-off-by: Dirk Eibach dirk.eibach@gdsys.cc
Changes in v3: None 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
NAK.
The idea makes sense, but please implement it consistently for all architectures, i. e. fix it in all of:
arch/arm/lib/Makefile arch/avr32/lib/Makefile arch/m68k/lib/Makefile arch/microblaze/lib/Makefile arch/mips/lib/Makefile arch/nds32/lib/Makefile arch/nios2/lib/Makefile arch/openrisc/lib/Makefile arch/powerpc/lib/Makefile arch/sh/lib/Makefile arch/sparc/lib/Makefile arch/x86/lib/Makefile
Best regards,
Wolfgang Denk