[kernel] add simple prom emulator for MIPS
[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
4 +++ linux-2.4.35.4/arch/mips/Makefile
5 @@ -739,6 +739,7 @@ LINKFLAGS += -T arch/$(ARCH)/ld.script
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 @@ archmrproper:
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
This page took 0.05092 seconds and 5 git commands to generate.