Use LINKSCRIPT.
This commit is contained in:
parent
dfd51da465
commit
634cfde5a0
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.hppa,v 1.1 2014/02/24 07:23:42 skrll Exp $
|
||||
# $NetBSD: Makefile.hppa,v 1.2 2014/11/15 12:20:06 uebayasi Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
|
@ -67,7 +67,7 @@ locore.o: ${HPPA}/hppa/locore.S
|
|||
##
|
||||
## (5) link settings
|
||||
##
|
||||
LINKFORMAT= -T ${HPPA}/conf/ld.script
|
||||
LINKSCRIPT= -T ${HPPA}/conf/ld.script
|
||||
TEXTADDR?= 00200000
|
||||
LINKFLAGS_NORMAL= -X
|
||||
EXTRA_LINKFLAGS= -Map $@.map
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.i386,v 1.182 2014/05/24 18:39:04 jakllsch Exp $
|
||||
# $NetBSD: Makefile.i386,v 1.183 2014/11/15 12:26:44 uebayasi Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
|
@ -78,7 +78,7 @@ lock_stubs.o: ${I386}/i386/lock_stubs.S assym.h
|
|||
TEXTADDR?= c0100000
|
||||
LINKFLAGS_NORMAL= -X
|
||||
KERN_LDSCRIPT?= kern.ldscript
|
||||
LINKFORMAT= -T ${I386}/conf/${KERN_LDSCRIPT}
|
||||
LINKSCRIPT= -T ${I386}/conf/${KERN_LDSCRIPT}
|
||||
|
||||
##
|
||||
## (6) port specific target dependencies
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.ia64,v 1.2 2008/01/17 01:56:02 lukem Exp $
|
||||
# $NetBSD: Makefile.ia64,v 1.3 2014/11/15 12:28:06 uebayasi Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
|
@ -54,7 +54,7 @@ locore.o: ${IA64}/ia64/locore.S assym.h
|
|||
##TEXTADDR?= 0xdeadbeeffeeddead
|
||||
LINKFLAGS_NORMAL= -X
|
||||
KERN_LDSCRIPT?= kern.ldscript
|
||||
LINKFORMAT= -T ${IA64}/conf/${KERN_LDSCRIPT}
|
||||
LINKSCRIPT= -T ${IA64}/conf/${KERN_LDSCRIPT}
|
||||
|
||||
##
|
||||
## (6) port specific target dependencies
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.mips,v 1.59 2013/03/10 07:18:20 christos Exp $
|
||||
# $NetBSD: Makefile.mips,v 1.60 2014/11/15 12:29:02 uebayasi Exp $
|
||||
|
||||
# Makefile for NetBSD
|
||||
#
|
||||
|
@ -102,7 +102,7 @@ TEXTADDR?= ${DEFTEXTADDR}
|
|||
.endif
|
||||
KERNLDSCRIPT?= ${MIPS}/conf/kern.ldscript
|
||||
# some mips ports specify a "magic" format
|
||||
LINKFORMAT+= -T ${KERNLDSCRIPT}
|
||||
LINKSCRIPT+= -T ${KERNLDSCRIPT}
|
||||
EXTRA_LINKFLAGS= ${GP} ${LDOPTS}
|
||||
LINKFLAGS_NORMAL= -X
|
||||
STRIPFLAGS= -g -X
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.usermode,v 1.34 2013/11/10 19:49:49 jmcneill Exp $
|
||||
# $NetBSD: Makefile.usermode,v 1.35 2014/11/15 12:28:06 uebayasi Exp $
|
||||
|
||||
USETOOLS?= no
|
||||
NEED_OWN_INSTALL_TARGET?= no
|
||||
|
@ -69,7 +69,7 @@ TEXTADDR?= %TEXTADDR%
|
|||
|
||||
LINKFLAGS_NORMAL= -X
|
||||
KERN_LDSCRIPT?= kern.ldscript
|
||||
#LINKFORMAT= -T ${USERMODE}/conf/${KERN_LDSCRIPT}
|
||||
#LINKSCRIPT= -T ${USERMODE}/conf/${KERN_LDSCRIPT}
|
||||
|
||||
SYSTEM_LD= @${_MKSHMSG} " link ${.CURDIR:T}/${.TARGET}"; \
|
||||
${_MKSHECHO}\
|
||||
|
|
Loading…
Reference in New Issue