Module Name: src
Committed By: matt
Date: Sun Aug 4 00:59:46 UTC 2013
Modified Files:
src/sys/arch/evbarm/conf: Makefile.evbarm.inc
Log Message:
use the proper make symbols for adding an ldscript
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/evbarm/conf/Makefile.evbarm.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbarm/conf/Makefile.evbarm.inc
diff -u src/sys/arch/evbarm/conf/Makefile.evbarm.inc:1.25 src/sys/arch/evbarm/conf/Makefile.evbarm.inc:1.26
--- src/sys/arch/evbarm/conf/Makefile.evbarm.inc:1.25 Wed Jul 10 20:25:21 2013
+++ src/sys/arch/evbarm/conf/Makefile.evbarm.inc Sun Aug 4 00:59:46 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.evbarm.inc,v 1.25 2013/07/10 20:25:21 matt Exp $
+# $NetBSD: Makefile.evbarm.inc,v 1.26 2013/08/04 00:59:46 matt Exp $
#
# If this is a install kernel and the ramdisk image exists in the object
@@ -23,10 +23,8 @@ SYSTEM_LD_TAIL_EXTRA+=; \
EXTRA_CLEAN+= ldscript tmp ${KERNELS:=.map}
.if defined(KERNEL_BASE_PHYS)
-
-LINKFLAGS= -T ldscript
-
-netbsd: ldscript # XXX
+KERNLDSCRIPT= ldscript
+EXTRA_LINKFLAGS+= -T ldscript
# generate ldscript from common template
ldscript: ${THISARM}/conf/ldscript.evbarm ${THISARM}/conf/Makefile.evbarm.inc Makefile ${BOARDMKFRAG}