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 Do previous differently - check which ld...
details: https://anonhg.NetBSD.org/src/rev/6c38263a1116
branches: trunk
changeset: 554363:6c38263a1116
user: simonb <simonb%NetBSD.org@localhost>
date: Mon Oct 27 09:27:25 2003 +0000
description:
Do previous differently - check which ld we're using and set the right
link flags.
Suggested by Simon Gerraty.
diffstat:
sys/arch/pc532/conf/Makefile.pc532 | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (34 lines):
diff -r d569a27f0b45 -r 6c38263a1116 sys/arch/pc532/conf/Makefile.pc532
--- a/sys/arch/pc532/conf/Makefile.pc532 Mon Oct 27 09:27:03 2003 +0000
+++ b/sys/arch/pc532/conf/Makefile.pc532 Mon Oct 27 09:27:25 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.pc532,v 1.72 2003/10/27 07:39:10 simonb Exp $
+# $NetBSD: Makefile.pc532,v 1.73 2003/10/27 09:27:25 simonb Exp $
# Makefile for NetBSD
#
@@ -19,7 +19,6 @@
MACHINE_ARCH=ns32k
USETOOLS?= no
-USE_BINUTILS?= no
NEED_OWN_INSTALL_TARGET?=no
.include <bsd.own.mk>
@@ -60,11 +59,12 @@
##
## (5) link settings
##
-.if ${USE_BINUTILS} == "yes"
-TEXTADDR?= E0002020
+CHECK!= {LD} --version 2>&1; :
+.if ${CHECK:Minvalid} == ""
+TEXTADDR?= E0002020
.else
-LINKFORMAT= -z
-TEXTADDR?= E0002000
+LINKFORMAT= -z
+TEXTADDR?= E0002000
.endif
##
Home |
Main Index |
Thread Index |
Old Index