diff options
Diffstat (limited to 'gnu/usr.bin/binutils/libbfd/Makefile')
-rw-r--r-- | gnu/usr.bin/binutils/libbfd/Makefile | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/gnu/usr.bin/binutils/libbfd/Makefile b/gnu/usr.bin/binutils/libbfd/Makefile index 43c6c7f..5daddd3 100644 --- a/gnu/usr.bin/binutils/libbfd/Makefile +++ b/gnu/usr.bin/binutils/libbfd/Makefile @@ -19,16 +19,8 @@ CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\" INTERNALLIB= true CLEANFILES+= config.h targmatch.h -# If set, BINUTILSDISTDIR is the path to a directory containing the full GNU -# binutils release. FreeBSD only distributes the bits that are required to -# build native architectures. BINUTILSDISTDIR is needed to build cross tools. -.if defined(BINUTILSDISTDIR) && exists(${BINUTILSDISTDIR}) -.PATH: ${BINUTILSDISTDIR}/bfd ${BINUTILSDISTDIR}/opcodes -CFLAGS+= -I${BINUTILSDISTDIR}/bfd -I${BINUTILSDISTDIR}/include -I. -.endif - SELARCH= -.if ${BINUTIL_ARCH} == "sparc64" +.if ${TARGET_ARCH} == "sparc64" SELARCH= &bfd_sparc_arch .else .for _a in ${ARCHS} @@ -55,7 +47,7 @@ targmatch.h: targmatch.sed config.bfd sed -f ${.ALLSRC:M*.sed} ${.ALLSRC:M*.bfd} > ${.TARGET} config.h: config.h.fbsd -.if ${BINUTIL_ARCH} == "i386" +.if ${TARGET_ARCH} == "i386" sed -e 's,!!TRAD_HEADER!!,"hosts/i386bsd.h",g' ${.ALLSRC} > ${.TARGET} .else sed -e 's,!!TRAD_HEADER!!,,g' ${.ALLSRC} > ${.TARGET} |