diff options
author | John Baldwin <jhb@FreeBSD.org> | 2019-02-20 00:48:36 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2019-02-20 00:48:36 +0000 |
commit | 23c03af26b8c99b2b2ff3b3a2173168f5ad510da (patch) | |
tree | ff1c8e90749ed71e183ee2a012bdc7a2e69dc380 /base | |
parent | 4179f088a338e659414a0040998d10c6fba092f5 (diff) | |
download | ports-23c03af26b8c99b2b2ff3b3a2173168f5ad510da.tar.gz ports-23c03af26b8c99b2b2ff3b3a2173168f5ad510da.zip |
Permit base/binutils to be built as a native package.
- Don't require CROSS_TOOLCHAIN and CROSS_SYSROOT for base/binutils.
- Fix some places in devel/binutils to test the PREFIX instead of
CROSS_TOOLCHAIN to determine if base/binutils is being built.
- When base/binutils is built natively, the binaries are installed
with the target name prefix already.
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D19128
Notes
Notes:
svn path=/head/; revision=493400
Diffstat (limited to 'base')
-rw-r--r-- | base/binutils/Makefile | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/base/binutils/Makefile b/base/binutils/Makefile index 128485f467c4..07ab26a46e66 100644 --- a/base/binutils/Makefile +++ b/base/binutils/Makefile @@ -10,14 +10,6 @@ COMMENT= GNU binary tools for base MASTERDIR= ${.CURDIR}/../../devel/binutils PLIST= ${.CURDIR}/pkg-plist -.if !defined(CROSS_TOOLCHAIN) -.error Please define CROSS_TOOLCHAIN before building -.endif - -.if !defined(CROSS_SYSROOT) -.error Please define CROSS_SYSROOT before building -.endif - TARGETARCH= ${ARCH:S/amd64/x86_64/} BUTARGET= ${TARGETARCH}-unknown-${OPSYS:tl}${OSREL} |