2009-05-15 18:36:04 +08:00
|
|
|
--- a/arch/mips/Makefile
|
|
|
|
+++ b/arch/mips/Makefile
|
2008-05-19 21:44:11 +08:00
|
|
|
@@ -739,6 +739,7 @@ LINKFLAGS += -T arch/$(ARCH)/ld.script
|
2006-10-19 03:31:45 +08:00
|
|
|
HEAD := arch/mips/kernel/head.o arch/mips/kernel/init_task.o
|
|
|
|
|
|
|
|
SUBDIRS := $(addprefix arch/mips/, tools) $(SUBDIRS) $(addprefix arch/mips/, kernel mm lib)
|
|
|
|
+$(SUBDIRS): $(TOPDIR)/include/asm-$(ARCH)/offset.h
|
|
|
|
CORE_FILES := arch/mips/kernel/kernel.o arch/mips/mm/mm.o $(CORE_FILES)
|
|
|
|
LIBS := arch/mips/lib/lib.a $(LIBS)
|
|
|
|
|
2008-05-19 21:44:11 +08:00
|
|
|
@@ -785,7 +786,7 @@ archmrproper:
|
2006-10-19 03:31:45 +08:00
|
|
|
$(MAKE) -C arch/$(ARCH)/tools mrproper
|
|
|
|
|
|
|
|
archdep:
|
|
|
|
- if [ ! -f $(TOPDIR)/include/asm-$(ARCH)/offset.h ]; then \
|
|
|
|
- touch $(TOPDIR)/include/asm-$(ARCH)/offset.h; \
|
|
|
|
- fi;
|
|
|
|
@$(MAKEBOOT) dep
|
|
|
|
+
|
|
|
|
+$(TOPDIR)/include/asm-$(ARCH)/offset.h:
|
|
|
|
+ @$(MAKE) -C arch/mips/tools
|