From d56eff1783038f79613ef8f4e96f36ee97576ece Mon Sep 17 00:00:00 2001 From: obrien Date: Sun, 22 Sep 2002 05:29:37 +0000 Subject: There is need to have a special BINUTIL_ARCH when we can use our more common place TARGET_ARCH. --- gnu/usr.bin/binutils/Makefile.inc0 | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'gnu/usr.bin/binutils/Makefile.inc0') diff --git a/gnu/usr.bin/binutils/Makefile.inc0 b/gnu/usr.bin/binutils/Makefile.inc0 index b25e70b..50a1357 100644 --- a/gnu/usr.bin/binutils/Makefile.inc0 +++ b/gnu/usr.bin/binutils/Makefile.inc0 @@ -8,7 +8,6 @@ VERSION= "2.12.1 [FreeBSD] 2002-07-20" VERSION_DATE= 20020720 TARGET_ARCH?= ${MACHINE_ARCH} -BINUTIL_ARCH= ${TARGET_ARCH} # RELTOP is the relative path to this point in the source or object # tree, from any subdirectory of same. It gets extra "../" prefixes @@ -23,18 +22,18 @@ WARNS= 2 .endif CFLAGS+= -D_GNU_SOURCE CFLAGS+= -I. -.if exists(${.CURDIR}/${BINUTIL_ARCH}) -CFLAGS+= -I${.CURDIR}/${BINUTIL_ARCH} +.if exists(${.CURDIR}/${TARGET_ARCH}) +CFLAGS+= -I${.CURDIR}/${TARGET_ARCH} .endif CFLAGS+= -I${.CURDIR} -CFLAGS+= -I${.CURDIR}/${RELTOP}/libbfd/${BINUTIL_ARCH} +CFLAGS+= -I${.CURDIR}/${RELTOP}/libbfd/${TARGET_ARCH} CFLAGS+= -I${SRCDIR}/include -.if exists(${.CURDIR}/${BINUTIL_ARCH}) -.PATH: ${.CURDIR}/${BINUTIL_ARCH} +.if exists(${.CURDIR}/${TARGET_ARCH}) +.PATH: ${.CURDIR}/${TARGET_ARCH} .endif -ARCHS= ${BINUTIL_ARCH} +ARCHS= ${TARGET_ARCH} .for _arch in ${CROSS_ARCH} .if (${ARCHS:R:M${_arch:R}} == "") -- cgit v1.1