Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pc532/conf If the make variable "USE_BINUTILS" is y...



details:   https://anonhg.NetBSD.org/src/rev/f629563307bc
branches:  trunk
changeset: 554356:f629563307bc
user:      simonb <simonb%NetBSD.org@localhost>
date:      Mon Oct 27 07:39:10 2003 +0000

description:
If the make variable "USE_BINUTILS" is yet, use correct options to link
a kernel with recent(ish) binutils ld.

diffstat:

 sys/arch/pc532/conf/Makefile.pc532 |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 335f438fee36 -r f629563307bc sys/arch/pc532/conf/Makefile.pc532
--- a/sys/arch/pc532/conf/Makefile.pc532        Mon Oct 27 07:31:07 2003 +0000
+++ b/sys/arch/pc532/conf/Makefile.pc532        Mon Oct 27 07:39:10 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.pc532,v 1.71 2003/10/27 07:26:17 simonb Exp $
+#      $NetBSD: Makefile.pc532,v 1.72 2003/10/27 07:39:10 simonb Exp $
 
 # Makefile for NetBSD
 #
@@ -19,6 +19,7 @@
 
 MACHINE_ARCH=ns32k
 USETOOLS?=     no
+USE_BINUTILS?= no
 NEED_OWN_INSTALL_TARGET?=no
 .include <bsd.own.mk>
 
@@ -59,8 +60,12 @@
 ##
 ## (5) link settings
 ##
+.if ${USE_BINUTILS} == "yes"
+TEXTADDR?=     E0002020
+.else
 LINKFORMAT=    -z
 TEXTADDR?=     E0002000
+.endif
 
 ##
 ## (6) port specific target dependencies



Home | Main Index | Thread Index | Old Index