summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/meta/meta-go-toolchain.bb12
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-go-cross-canadian.bb12
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb8
3 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/meta-go-toolchain.bb b/meta/recipes-core/meta/meta-go-toolchain.bb
new file mode 100644
index 0000000000..dde385c1b1
--- /dev/null
+++ b/meta/recipes-core/meta/meta-go-toolchain.bb
@@ -0,0 +1,12 @@
1SUMMARY = "Meta package for building a installable Go toolchain"
2LICENSE = "MIT"
3
4inherit populate_sdk
5
6TOOLCHAIN_HOST_TASK_append = " \
7 packagegroup-go-cross-canadian-${MACHINE} \
8"
9
10TOOLCHAIN_TARGET_TASK_append = " \
11 ${@multilib_pkg_extend(d, 'packagegroup-go-sdk-target')} \
12"
diff --git a/meta/recipes-core/packagegroups/packagegroup-go-cross-canadian.bb b/meta/recipes-core/packagegroups/packagegroup-go-cross-canadian.bb
new file mode 100644
index 0000000000..3daace1a40
--- /dev/null
+++ b/meta/recipes-core/packagegroups/packagegroup-go-cross-canadian.bb
@@ -0,0 +1,12 @@
1SUMMARY = "Host SDK package for Go cross canadian toolchain"
2PN = "packagegroup-go-cross-canadian-${MACHINE}"
3
4inherit cross-canadian packagegroup
5
6PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
7
8GO = "go-cross-canadian-${TRANSLATED_TARGET_ARCH}"
9
10RDEPENDS_${PN} = " \
11 ${@all_multilib_tune_values(d, 'GO')} \
12"
diff --git a/meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb b/meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb
new file mode 100644
index 0000000000..c6c14f1249
--- /dev/null
+++ b/meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb
@@ -0,0 +1,8 @@
1SUMMARY = "Target packages for the Go SDK"
2
3inherit packagegroup
4
5RDEPENDS_${PN} = " \
6 go-runtime \
7 go-runtime-dev \
8"