From 1b430359d7362d8f4b435165b7e88a50b83abdd8 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 10 Jun 2008 21:58:45 -0400 Subject: [PATCH 2/2] powerpc: serialize image targets The image targets need to trigger after we've build all their dependencies. To do this we add .NOTPARALLEL and ensure that the image targets are not built in parallel. Signed-off-by: Bruce Ashfield diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 6c85321..6e9555b 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -182,6 +182,9 @@ relocs_check: arch/powerpc/relocs_check.pl vmlinux zImage: relocs_check endif +# These targets cannot be built in parallel +.NOTPARALLEL: $(BOOT_TARGETS) + $(BOOT_TARGETS1): vmlinux $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) $(BOOT_TARGETS2): vmlinux