[adm5120] remove some unused files
[openwrt.git] / target / linux / generic-2.4 / patches / 051-parallel_build.patch
1 Index: linux-2.4.35.4/arch/mips/Makefile
2 ===================================================================
3 --- linux-2.4.35.4.orig/arch/mips/Makefile      2007-12-15 05:19:50.987326639 +0100
4 +++ linux-2.4.35.4/arch/mips/Makefile   2007-12-15 05:19:51.215339635 +0100
5 @@ -739,6 +739,7 @@
6  HEAD := arch/mips/kernel/head.o arch/mips/kernel/init_task.o
7  
8  SUBDIRS := $(addprefix arch/mips/, tools) $(SUBDIRS) $(addprefix arch/mips/, kernel mm lib)
9 +$(SUBDIRS): $(TOPDIR)/include/asm-$(ARCH)/offset.h
10  CORE_FILES := arch/mips/kernel/kernel.o arch/mips/mm/mm.o $(CORE_FILES)
11  LIBS := arch/mips/lib/lib.a $(LIBS)
12  
13 @@ -785,7 +786,7 @@
14         $(MAKE) -C arch/$(ARCH)/tools mrproper
15  
16  archdep:
17 -       if [ ! -f $(TOPDIR)/include/asm-$(ARCH)/offset.h ]; then \
18 -               touch $(TOPDIR)/include/asm-$(ARCH)/offset.h; \
19 -       fi;
20         @$(MAKEBOOT) dep
21 +
22 +$(TOPDIR)/include/asm-$(ARCH)/offset.h:
23 +       @$(MAKE) -C arch/mips/tools