summaryrefslogtreecommitdiff
path: root/cross/binutils/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'cross/binutils/buildlink3.mk')
-rw-r--r--cross/binutils/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/cross/binutils/buildlink3.mk b/cross/binutils/buildlink3.mk
new file mode 100644
index 00000000000..9240dfc1956
--- /dev/null
+++ b/cross/binutils/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2005/04/05 11:04:20 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+CROSS_BINUTILS_BUILDLINK3_MK:= ${CROSS_BINUTILS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= cross-binutils
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncross-binutils}
+BUILDLINK_PACKAGES+= cross-binutils
+
+.if !empty(CROSS_BINUTILS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.cross-binutils+= cross-binutils>=2.15.0.0nb3
+BUILDLINK_PKGSRCDIR.cross-binutils?= ../../cross/binutils
+.endif # CROSS_BINUTILS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}