051-parallel_build.patch 772 B

123456789101112131415161718192021
  1. --- linux-2.4.32/arch/mips/Makefile.old 2006-10-18 21:11:18.110720000 +0200
  2. +++ linux-2.4.32/arch/mips/Makefile 2006-10-18 21:12:32.570720000 +0200
  3. @@ -752,6 +752,7 @@
  4. HEAD := arch/mips/kernel/head.o arch/mips/kernel/init_task.o
  5. SUBDIRS := $(addprefix arch/mips/, tools) $(SUBDIRS) $(addprefix arch/mips/, kernel mm lib)
  6. +$(SUBDIRS): $(TOPDIR)/include/asm-$(ARCH)/offset.h
  7. CORE_FILES := arch/mips/kernel/kernel.o arch/mips/mm/mm.o $(CORE_FILES)
  8. LIBS := arch/mips/lib/lib.a $(LIBS)
  9. @@ -799,7 +800,7 @@
  10. $(MAKE) -C arch/$(ARCH)/tools mrproper
  11. archdep:
  12. - if [ ! -f $(TOPDIR)/include/asm-$(ARCH)/offset.h ]; then \
  13. - touch $(TOPDIR)/include/asm-$(ARCH)/offset.h; \
  14. - fi;
  15. @$(MAKEBOOT) dep
  16. +
  17. +$(TOPDIR)/include/asm-$(ARCH)/offset.h:
  18. + @$(MAKE) -C arch/mips/tools