From 35d9e54664b001fafb37aa400997258cb9f8ae03 Mon Sep 17 00:00:00 2001 From: simonb Date: Mon, 27 Oct 2003 07:39:10 +0000 Subject: [PATCH] If the make variable "USE_BINUTILS" is yet, use correct options to link a kernel with recent(ish) binutils ld. --- sys/arch/pc532/conf/Makefile.pc532 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys/arch/pc532/conf/Makefile.pc532 b/sys/arch/pc532/conf/Makefile.pc532 index 8f67c575d115..5b95e4510c3e 100644 --- a/sys/arch/pc532/conf/Makefile.pc532 +++ b/sys/arch/pc532/conf/Makefile.pc532 @@ -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 @@ -59,8 +60,12 @@ locore.o: ${PC532}/pc532/locore.s assym.h ## ## (5) link settings ## +.if ${USE_BINUTILS} == "yes" +TEXTADDR?= E0002020 +.else LINKFORMAT= -z TEXTADDR?= E0002000 +.endif ## ## (6) port specific target dependencies