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
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)
13 @@ -785,7 +786,7 @@ archmrproper:
14 $(MAKE) -C arch/$(ARCH)/tools mrproper
17 - if [ ! -f $(TOPDIR)/include/asm-$(ARCH)/offset.h ]; then \
18 - touch $(TOPDIR)/include/asm-$(ARCH)/offset.h; \
22 +$(TOPDIR)/include/asm-$(ARCH)/offset.h:
23 + @$(MAKE) -C arch/mips/tools