Now that targmatch.h is fixed, select the default bfd target via

${MACHINE_GNU_ARCH}--netbsd.
This commit is contained in:
tv 1998-08-22 20:08:21 +00:00
parent d46528eaba
commit 5e20069f49
1 changed files with 2 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.4 1998/08/22 19:03:46 tv Exp $ # $NetBSD: Makefile.inc,v 1.5 1998/08/22 20:08:21 tv Exp $
.if !defined(__MAKEFILE_INC_INCLUDED__) .if !defined(__MAKEFILE_INC_INCLUDED__)
__MAKEFILE_INC_INCLUDED__=1 __MAKEFILE_INC_INCLUDED__=1
@ -16,16 +16,8 @@ VERSION=2.8.1
# Distribution name # Distribution name
DIST_NAME=binutils-${VERSION} DIST_NAME=binutils-${VERSION}
# Override this to make cross tools. (Not yet guaranteed.)
TARGET_ARCH?=${MACHINE_GNU_ARCH}
# XXX. Need to pull proper target definition from <bsd.own.mk>.
.include <bsd.own.mk> .include <bsd.own.mk>
.if (${OBJECT_FMT} == "a.out") TARGET=${MACHINE_GNU_ARCH}--netbsd
TARGET=a.out-${TARGET_ARCH}-netbsd
.else
TARGET=${TARGET_ARCH}-unknown-netbsd
.endif
INCLS+= -I${.OBJDIR} -I${.CURDIR} -I${.CURDIR}/../common INCLS+= -I${.OBJDIR} -I${.CURDIR} -I${.CURDIR}/../common