diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-09-18 21:44:45 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-09-18 21:44:45 +0000 |
commit | 624d6c2c693ea7709b991d0af6356844efe7df2f (patch) | |
tree | 994ea3821268d1e7d35e6b7d67876fbba4c03b04 /arch/mips64/Makefile | |
parent | 8c63c18993342392cec181727aadbab2937e2380 (diff) |
Pass the loader script file thru cpp for CONFIG_MAPPED_KERNEL support.
Diffstat (limited to 'arch/mips64/Makefile')
-rw-r--r-- | arch/mips64/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips64/Makefile b/arch/mips64/Makefile index 77609a84a..c145f2a47 100644 --- a/arch/mips64/Makefile +++ b/arch/mips64/Makefile @@ -12,6 +12,7 @@ # # Select the object file format to substitute into the linker script. # +CPP=$(CC) -E ifdef CONFIG_CPU_LITTLE_ENDIAN tool-prefix = mips64el-linux- else @@ -129,6 +130,10 @@ else 64bit-bfd = elf64-bigmips endif +vmlinux: arch/mips64/ld.script.elf32 +arch/mips64/ld.script.elf32: arch/mips64/ld.script.elf32.S + $(CPP) -C -P -I$(HPATH) -imacros $(HPATH)/asm-mips64/sn/mapped_kernel.h -Umips arch/mips64/ld.script.elf32.S > arch/mips64/ld.script.elf32 + ifdef CONFIG_MAPPED_KERNEL vmlinux.64: vmlinux $(OBJCOPY) -O $(64bit-bfd) --change-addresses=0xbfffffff40000000 $< $@ |