[PATCH 3/3] powerpc: Don't run prom_init_check for arch/ppc builds
Segher Boessenkool
segher at kernel.crashing.org
Wed May 7 08:58:50 EST 2008
arch/ppc doesn't have prom_init.o (anymore).
Signed-off-by: Segher Boessenkool <segher at kernel.crashing.org>
---
arch/powerpc/kernel/Makefile | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index d14cebf..2346d27 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -105,6 +105,9 @@ PHONY += systbl_chk
systbl_chk: $(src)/systbl_chk.sh $(obj)/systbl_chk.i
$(call cmd,systbl_chk)
+
+ifeq ($(CONFIG_PPC_MERGE),y)
+
$(obj)/built-in.o: prom_init_check
quiet_cmd_prom_init_check = CALL $<
@@ -114,4 +117,7 @@ PHONY += prom_init_check
prom_init_check: $(src)/prom_init_check.sh $(obj)/prom_init.o
$(call cmd,prom_init_check)
+endif
+
+
clean-files := vmlinux.lds
--
1.5.5.23.g2a5f.dirty
More information about the Linuxppc-dev
mailing list