patch-2.4.0-test3 linux/arch/mips64/Makefile
Next file: linux/arch/mips64/arc/identify.c
Previous file: linux/arch/mips/tools/Makefile
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Sun Jul 9 22:18:15 2000
- Orig file:
v2.4.0-test2/linux/arch/mips64/Makefile
- Orig date:
Tue May 23 15:31:33 2000
diff -u --recursive --new-file v2.4.0-test2/linux/arch/mips64/Makefile linux/arch/mips64/Makefile
@@ -86,8 +86,12 @@
# must be 16kb aligned or the handling of the current variable will break.
#
#LOADADDR += 0xa80000000001c000
+ifdef CONFIG_MAPPED_KERNEL
+LOADADDR += 0xc001c000
+else
LOADADDR += 0x8001c000
endif
+endif
#
# Some machines like the Indy need 32-bit ELF binaries for booting purposes.
@@ -126,8 +130,13 @@
64bit-bfd = elf64-bigmips
endif
+ifdef CONFIG_MAPPED_KERNEL
+vmlinux.64: vmlinux
+ $(OBJCOPY) -O $(64bit-bfd) --change-addresses=0xbfffffff40000000 $< $@
+else
vmlinux.64: vmlinux
$(OBJCOPY) -O $(64bit-bfd) --change-addresses=0xa7ffffff80000000 $< $@
+endif
zImage: vmlinux
@$(MAKEBOOT) zImage
@@ -144,6 +153,11 @@
rm -f vmlinux.64
archmrproper:
+ @$(MAKEBOOT) mrproper
+ $(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
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)