diff options
author | jb <jb@FreeBSD.org> | 1999-11-06 21:55:33 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1999-11-06 21:55:33 +0000 |
commit | f3f02229c7b3579931b6f80748224914453cd124 (patch) | |
tree | ce5b8c7d792a0dc6e1f2ac1f12f199700b5c349e /gnu/usr.bin/binutils/as/Makefile.inc0 | |
parent | 6321dca496a7601c2a2b986d70955045f33ea12b (diff) | |
download | FreeBSD-src-f3f02229c7b3579931b6f80748224914453cd124.zip FreeBSD-src-f3f02229c7b3579931b6f80748224914453cd124.tar.gz |
Add the BINUTILSDISTDIR hook here too.
Diffstat (limited to 'gnu/usr.bin/binutils/as/Makefile.inc0')
-rw-r--r-- | gnu/usr.bin/binutils/as/Makefile.inc0 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/as/Makefile.inc0 b/gnu/usr.bin/binutils/as/Makefile.inc0 index 2531785..cdcd466 100644 --- a/gnu/usr.bin/binutils/as/Makefile.inc0 +++ b/gnu/usr.bin/binutils/as/Makefile.inc0 @@ -25,3 +25,15 @@ LDADD+= -L${RELTOP}/libopcodes -lopcodes DPADD+= ${RELTOP}/libbfd/libbfd.a DPADD+= ${RELTOP}/libiberty/libiberty.a DPADD+= ${RELTOP}/libopcodes/libopcodes.a + +# 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}/gas ${BINUTILSDISTDIR}/gas/config +CFLAGS+= -I${BINUTILSDISTDIR}/gas +CFLAGS+= -I${BINUTILSDISTDIR}/gas/config +CFLAGS+= -I${BINUTILSDISTDIR}/bfd +CFLAGS+= -I${BINUTILSDISTDIR}/include +CFLAGS+= -I${BINUTILSDISTDIR} +.endif |