blob: 206025b3ae30777c8db3a34778d93ceca3dcd9aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $FreeBSD$
PORTEPOCH= 0
CATEGORIES= base
PKGNAMEPREFIX= ${OPSYS}-
VALID_CATEGORIES= base
COMMENT= GNU binary tools for base
MASTERDIR= ${.CURDIR}/../..//devel/binutils
PLIST= ${.CURDIR}/pkg-plist.${TARGET_ARCH}
.if !defined(CROSS_TOOLCHAIN)
.error Please define CROSS_TOOLCHAIN before building
.endif
.if !defined(CROSS_SYSROOT)
.error Please define CROSS_SYSROOT before building
.endif
TARGET_ARCH= ${CROSS_TOOLCHAIN:C,-.*$,,}
BUTARGET= ${TARGET_ARCH}-${OPSYS:tl}
CONFIGURE_ARGS+= --disable-host-shared
PREFIX= /usr
.include "${MASTERDIR}/Makefile"
|