diff options
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r-- | arch/powerpc/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index f35730548e42..8d0e2237c58e 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -292,6 +292,9 @@ PHONY += $(BOOT_TARGETS1) $(BOOT_TARGETS2) boot := arch/$(ARCH)/boot +# These targets cannot be built in parallel +.NOTPARALLEL: $(BOOT_TARGETS) + $(BOOT_TARGETS1): vmlinux $(Q)$(MAKE) $(build)=$(boot) $(patsubst %,$(boot)/%,$@) $(BOOT_TARGETS2): vmlinux @@ -417,7 +420,10 @@ endif archclean: $(Q)$(MAKE) $(clean)=$(boot) -archprepare: checkbin +arch/powerpc/lib/crtsavres.o: arch/powerpc/lib/crtsavres.S + $(Q)$(MAKE) $(build)=arch/powerpc/lib arch/powerpc/lib/crtsavres.o + +archprepare: checkbin arch/powerpc/lib/crtsavres.o archheaders: $(Q)$(MAKE) $(build)=arch/powerpc/kernel/syscalls all |