Use ${KERNLDSCRIPT} instead of ${KERN_LDSCRIPT}. The former is added

to ${SYSTEM_DEP} if defined.
This commit is contained in:
uebayasi 2015-08-18 08:39:12 +00:00
parent 88f4b17709
commit b19d5046bd
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sparc,v 1.90 2014/11/15 12:37:37 uebayasi Exp $
# $NetBSD: Makefile.sparc,v 1.91 2015/08/18 08:39:12 uebayasi Exp $
# Makefile for NetBSD
#
@ -60,9 +60,9 @@ amd7930intr.o bsd_fdintr.o lock_stubs.o: assym.h
##
TEXTADDR?= F0004000
EXTRA_LINKFLAGS= -X
KERN_LDSCRIPT?= kern.ldscript
KERNLDSCRIPT?= kern.ldscript
LINKFORMAT= -n
LINKSCRIPT= -T ${SPARC}/conf/${KERN_LDSCRIPT}
LINKSCRIPT= -T ${SPARC}/conf/${KERNLDSCRIPT}
##
## (6) port specific target dependencies

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.sparc64,v 1.75 2014/11/15 12:41:36 uebayasi Exp $
# $NetBSD: Makefile.sparc64,v 1.76 2015/08/18 08:39:12 uebayasi Exp $
#=========================================================================
#
@ -108,11 +108,11 @@ dependkernlib: assym.h
## (5) link settings
##
TEXTADDR?= 01000000
LINKSCRIPT= -T ${SPARC64}/conf/${KERN_LDSCRIPT}
LINKSCRIPT= -T ${SPARC64}/conf/${KERNLDSCRIPT}
.if ${LP64} == "yes"
KERN_LDSCRIPT?= kern.ldscript
KERNLDSCRIPT?= kern.ldscript
.else
KERN_LDSCRIPT?= kern32.ldscript
KERNLDSCRIPT?= kern32.ldscript
.endif
##