summaryrefslogtreecommitdiffstats
path: root/meta/classes/go.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/go.bbclass')
-rw-r--r--meta/classes/go.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/go.bbclass b/meta/classes/go.bbclass
index 8fb41e5c09..8d363e86a2 100644
--- a/meta/classes/go.bbclass
+++ b/meta/classes/go.bbclass
@@ -20,12 +20,14 @@ def get_go_parallel_make(d):
20GO_PARALLEL_BUILD ?= "${@get_go_parallel_make(d)}" 20GO_PARALLEL_BUILD ?= "${@get_go_parallel_make(d)}"
21 21
22GOROOT_class-native = "${STAGING_LIBDIR_NATIVE}/go" 22GOROOT_class-native = "${STAGING_LIBDIR_NATIVE}/go"
23GOROOT_class-nativesdk = "${STAGING_DIR_TARGET}${libdir}/go"
23GOROOT = "${STAGING_LIBDIR}/go" 24GOROOT = "${STAGING_LIBDIR}/go"
24export GOROOT 25export GOROOT
25export GOROOT_FINAL = "${libdir}/go" 26export GOROOT_FINAL = "${libdir}/go"
26 27
27DEPENDS_GOLANG_class-target = "virtual/${TARGET_PREFIX}go virtual/${TARGET_PREFIX}go-runtime" 28DEPENDS_GOLANG_class-target = "virtual/${TARGET_PREFIX}go virtual/${TARGET_PREFIX}go-runtime"
28DEPENDS_GOLANG_class-native = "go-native" 29DEPENDS_GOLANG_class-native = "go-native"
30DEPENDS_GOLANG_class-nativesdk = "virtual/${TARGET_PREFIX}go-crosssdk virtual/${TARGET_PREFIX}go-runtime"
29 31
30DEPENDS_append = " ${DEPENDS_GOLANG}" 32DEPENDS_append = " ${DEPENDS_GOLANG}"
31 33