diff options
author | jb <jb@FreeBSD.org> | 1999-11-07 05:59:25 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1999-11-07 05:59:25 +0000 |
commit | e4d1b59537f4e7dc7da9baf5471a779654e8702a (patch) | |
tree | 2953b6f75236bbea4fbffde7344a05ce185ec7c4 /gnu | |
parent | 9e596ffa36410bb5383ea949a67b1c3f2d79b7e3 (diff) | |
download | FreeBSD-src-e4d1b59537f4e7dc7da9baf5471a779654e8702a.zip FreeBSD-src-e4d1b59537f4e7dc7da9baf5471a779654e8702a.tar.gz |
After a repo copy of as_{alpha,i386,mips} to {alpha,i386,mips}-freebsd,
tidy up the logic that works out which sub-directories to build.
The new directories with freebsdelf suffixes now have freebsd suffixes
after a repo move by Peter at the request of David O'Brien.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/as/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gnu/usr.bin/binutils/as/Makefile b/gnu/usr.bin/binutils/as/Makefile index 8c2f898..4de352e 100644 --- a/gnu/usr.bin/binutils/as/Makefile +++ b/gnu/usr.bin/binutils/as/Makefile @@ -5,6 +5,7 @@ .include "${.CURDIR}/../Makefile.inc0" GASES= ${BINUTIL_ARCH} +FORMATS= freebsd # Only build the cross tools when not cross-compiling. __MA!=/sbin/sysctl -b hw.machine_arch @@ -17,19 +18,21 @@ GASES+=$(_g) .endif .endfor .endif +.if defined(CROSS_FORMATS) +.for _f in ${CROSS_FORMATS} +.if (${FORMATS:R:M${_f:R}} == "") +FORMATS+=$(_f) +.endif +.endfor +.endif .endif .for _g in ${GASES} -.if exists(${.CURDIR}/as_${_g}) -SUBDIR+= as_${_g} -.endif -.if defined(CROSS_FORMATS) -.for _f in ${CROSS_FORMATS} +.for _f in ${FORMATS} .if exists(${.CURDIR}/${_g}-${_f}) SUBDIR+= ${_g}-${_f} .endif .endfor -.endif .endfor .include <bsd.subdir.mk> |