summaryrefslogtreecommitdiff
path: root/cross/nios2-binutils/buildlink3.mk
blob: 951bff10a0ad64d92d22742643567d5107710033 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $NetBSD: buildlink3.mk,v 1.2 2013/12/06 01:08:27 mef Exp $

BUILDLINK_TREE+=	nios2-binutils

.if !defined(NIOS2_BINUTILS_BUILDLINK3_MK)
NIOS2_BINUTILS_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.nios2-binutils+=		nios2-binutils>=2.20
BUILDLINK_PKGSRCDIR.nios2-binutils?=		../../cross/nios2-binutils
BUILDLINK_FNAME_TRANSFORM.nios2-binutils+=	-e "s,${NIOS2_TARGET}/lib,lib/,g"
#BUILDLINK_CONTENTS_FILTER.nios2-binutils=	${EGREP} '.*'
BUILDLINK_CONTENTS_FILTER.nios2-binutils=	${GREP} '${CROSSBASE}'

.endif # NIOS2_BINUTILS_BUILDLINK3_MK

BUILDLINK_TREE+=	-nios2-binutils