[kernel] more linux kernel cygwin build fixes
[openwrt.git] / target / linux / generic-2.4 / patches / 051-parallel_build.patch
1 --- a/arch/mips/Makefile
2 +++ b/arch/mips/Makefile
3 @@ -739,6 +739,7 @@ LINKFLAGS += -T arch/$(ARCH)/ld.script
4 HEAD := arch/mips/kernel/head.o arch/mips/kernel/init_task.o
5
6 SUBDIRS := $(addprefix arch/mips/, tools) $(SUBDIRS) $(addprefix arch/mips/, kernel mm lib)
7 +$(SUBDIRS): $(TOPDIR)/include/asm-$(ARCH)/offset.h
8 CORE_FILES := arch/mips/kernel/kernel.o arch/mips/mm/mm.o $(CORE_FILES)
9 LIBS := arch/mips/lib/lib.a $(LIBS)
10
11 @@ -785,7 +786,7 @@ archmrproper:
12 $(MAKE) -C arch/$(ARCH)/tools mrproper
13
14 archdep:
15 - if [ ! -f $(TOPDIR)/include/asm-$(ARCH)/offset.h ]; then \
16 - touch $(TOPDIR)/include/asm-$(ARCH)/offset.h; \
17 - fi;
18 @$(MAKEBOOT) dep
19 +
20 +$(TOPDIR)/include/asm-$(ARCH)/offset.h:
21 + @$(MAKE) -C arch/mips/tools
This page took 0.047619 seconds and 5 git commands to generate.