Use LINKSCRIPT.

This commit is contained in:
uebayasi 2014-11-15 14:25:10 +00:00
parent e49865688b
commit b7590d7122
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.aarch64,v 1.3 2014/08/17 21:17:43 joerg Exp $
# $NetBSD: Makefile.aarch64,v 1.4 2014/11/15 14:25:10 uebayasi Exp $
# Makefile for NetBSD
#
@ -62,7 +62,7 @@ LDSCRIPT?= ${A64}/conf/kern.ldscript
LOADADDRESS?= 0xFFFFFFFF00000000
LINKFLAGS_NORMAL= -X
.if "${LDSCRIPT}" != ""
LINKFLAGS_NORMAL+= -T ${LDSCRIPT}
LINKSCRIPT= -T ${LDSCRIPT}
.endif
# Strip AArch64 mapping symbols from the kernel image, as they interfere

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.epoc32.inc,v 1.1 2013/04/28 12:11:25 kiyohara Exp $
# $NetBSD: Makefile.epoc32.inc,v 1.2 2014/11/15 14:25:22 uebayasi Exp $
MACHINE_ARCH= arm
CPPFLAGS+= -D${MACHINE}
@ -8,7 +8,7 @@ SYSTEM_FIRST_SFILE= ${THISARM}/epoc32/epoc32_start.S
KERNEL_BASE_VIRT= $(LOADADDRESS)
LINKFLAGS= -T ldscript
LINKSCRIPT= -T ldscript
EXTRA_CLEAN+= netbsd.map assym.d ldscript tmp