diff options
author | Mark Hatle <mark.hatle@amd.com> | 2023-02-23 13:31:46 -0800 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2023-04-10 09:03:22 -0700 |
commit | 66e2e7760900d8e3c24c7871a92a5a89545bf498 (patch) | |
tree | 2ff3dc8e3f21b262f6bf5cdf0b6938669fcc0d3f /meta-xilinx-standalone | |
parent | fbe8f13d8d728d3faa3e8e98fa33f73707d1c099 (diff) | |
download | meta-xilinx-66e2e7760900d8e3c24c7871a92a5a89545bf498.tar.gz |
packagegroup-standalone-cross-canadian: Move from bbappend to new bb
We want to avoid modifying the default package, as it can break Yocto
Project Compatibility guidelines.
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-standalone')
-rw-r--r-- | meta-xilinx-standalone/recipes-core/packagegroups/packagegroup-standalone-cross-canadian.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-xilinx-standalone/recipes-core/packagegroups/packagegroup-standalone-cross-canadian.bb b/meta-xilinx-standalone/recipes-core/packagegroups/packagegroup-standalone-cross-canadian.bb new file mode 100644 index 00000000..56bd7aca --- /dev/null +++ b/meta-xilinx-standalone/recipes-core/packagegroups/packagegroup-standalone-cross-canadian.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "Host SDK package for standalone cross canadian toolchain" | ||
2 | PN = "packagegroup-stadalone-cross-canadian-${MACHINE}" | ||
3 | |||
4 | inherit cross-canadian packagegroup | ||
5 | |||
6 | PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" | ||
7 | |||
8 | # Use indirection to stop these being expanded prematurely | ||
9 | BINUTILS = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}" | ||
10 | GCC = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}" | ||
11 | GDB = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" | ||
12 | |||
13 | # Create the links to the multilib toolchain components | ||
14 | GNUTCLINKS = "standalone-gnu-toolchain-canadian-${TARGET_SYS}" | ||
15 | |||
16 | # Without the := the eval during do_package is occasionally missing multilibs | ||
17 | RDEPENDS:${PN}:xilinx-standalone := " \ | ||
18 | ${@all_multilib_tune_values(d, 'GNUTCLINKS')} \ | ||
19 | ${BINUTILS} \ | ||
20 | ${GCC} \ | ||
21 | ${GDB} \ | ||
22 | meta-environment-${MACHINE} \ | ||
23 | " | ||