2021-07-14 16:32:04 +02:00
|
|
|
# $NetBSD: bootstrap.mk,v 1.7 2021/07/14 14:32:04 jperkin Exp $
|
2020-05-01 16:09:14 +02:00
|
|
|
|
2020-05-01 16:39:37 +02:00
|
|
|
.if !defined(GOROOT_BOOTSTRAP) || !exists(${GOROOT_BOOTSTRAP}/bin/go)
|
2020-12-12 12:08:26 +01:00
|
|
|
. if ${MACHINE_ARCH} == "aarch64"
|
2020-05-02 22:12:34 +02:00
|
|
|
BUILD_DEPENDS+= go-bin-[0-9]*:../../lang/go-bin
|
|
|
|
GOROOT_BOOTSTRAP= ${PREFIX}/go-bin
|
|
|
|
. else
|
2020-05-01 16:09:14 +02:00
|
|
|
BUILD_DEPENDS+= go14-1.4*:../../lang/go14
|
|
|
|
GOROOT_BOOTSTRAP= ${PREFIX}/go14
|
2020-05-01 18:55:28 +02:00
|
|
|
. endif
|
2020-05-01 16:39:37 +02:00
|
|
|
.endif
|