diff options
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 @@ | |||
1 | SUMMARY = "Meta package for building a installable Go toolchain" | ||
2 | LICENSE = "MIT" | ||
3 | |||
4 | inherit populate_sdk | ||
5 | |||
6 | TOOLCHAIN_HOST_TASK_append = " \ | ||
7 | packagegroup-go-cross-canadian-${MACHINE} \ | ||
8 | " | ||
9 | |||
10 | TOOLCHAIN_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 @@ | |||
1 | SUMMARY = "Host SDK package for Go cross canadian toolchain" | ||
2 | PN = "packagegroup-go-cross-canadian-${MACHINE}" | ||
3 | |||
4 | inherit cross-canadian packagegroup | ||
5 | |||
6 | PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" | ||
7 | |||
8 | GO = "go-cross-canadian-${TRANSLATED_TARGET_ARCH}" | ||
9 | |||
10 | RDEPENDS_${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 @@ | |||
1 | SUMMARY = "Target packages for the Go SDK" | ||
2 | |||
3 | inherit packagegroup | ||
4 | |||
5 | RDEPENDS_${PN} = " \ | ||
6 | go-runtime \ | ||
7 | go-runtime-dev \ | ||
8 | " | ||