Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/conf Use a separate variable (${KERNLDSCRIPT})...



details:   https://anonhg.NetBSD.org/src/rev/bb3aba9e2fc2
branches:  trunk
changeset: 515912:bb3aba9e2fc2
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Oct 08 10:14:20 2001 +0000

description:
Use a separate variable (${KERNLDSCRIPT}) for the name of the kernel
ld script, so it can be used in other places.

diffstat:

 sys/arch/mips/conf/Makefile.mips |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r f7f6c8c4f88b -r bb3aba9e2fc2 sys/arch/mips/conf/Makefile.mips
--- a/sys/arch/mips/conf/Makefile.mips  Mon Oct 08 10:01:35 2001 +0000
+++ b/sys/arch/mips/conf/Makefile.mips  Mon Oct 08 10:14:20 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.mips,v 1.18 2001/10/05 15:14:18 simonb Exp $
+#      $NetBSD: Makefile.mips,v 1.19 2001/10/08 10:14:20 simonb Exp $
 
 # Makefile for NetBSD
 #
@@ -61,7 +61,8 @@
                -mno-abicalls -mno-half-pic
 AFLAGS=                ${ENDIAN} -x assembler-with-cpp -traditional-cpp -D_LOCORE
 LD+=           ${ENDIAN}
-LINKFLAGS+=    -Ttext ${TEXTADDR} -e start ${GP} -T ${MIPS}/conf/kern.ldscript
+KERNLDSCRIPT?= ${MIPS}/conf/kern.ldscript
+LINKFLAGS+=    -Ttext ${TEXTADDR} -e start ${GP} -T ${KERNLDSCRIPT}
 .if (${ENDIAN} == "-EB")
 LINKFLAGS+=    --oformat elf32-bigmips
 .else



Home | Main Index | Thread Index | Old Index