summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-31 11:25:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-31 15:15:12 +0100
commit37b00fd02b6aa9fa0f54e335c5cff5f6c8b66e3f (patch)
tree4dd88cc5a3173a4ac01d795a8e7e4cd19e3802d6 /meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
parent99997043d4106cb8a93a5f4512f1ef6f063a1895 (diff)
downloadopenembedded-core-contrib-37b00fd02b6aa9fa0f54e335c5cff5f6c8b66e3f.tar.gz
packagegroup-cross-canadian: Make the code more readable
Make the code more readable by using the functions slightly differently. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb')
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb12
1 files changed, 8 insertions, 4 deletions
diff --git a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
index e3b1c18fa95..ce5e45cd0c2 100644
--- a/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-cross-canadian.bb
@@ -9,10 +9,14 @@ inherit cross-canadian packagegroup
PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
+# Use indirection to stop these being expanded prematurely
+BINUTILS = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
+GCC = "gcc-cross-canadian-${TRANSLATED_TARGET_ARCH}"
+GDB = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}"
+
RDEPENDS_${PN} = "\
- binutils-cross-canadian-${@' binutils-cross-canadian-'.join(all_multilib_tune_values(d,'TRANSLATED_TARGET_ARCH').split())} \
- gdb-cross-canadian-${@' gdb-cross-canadian-'.join(all_multilib_tune_values(d, 'TRANSLATED_TARGET_ARCH').split())} \
- gcc-cross-canadian-${@' gcc-cross-canadian-'.join(all_multilib_tune_values(d, 'TRANSLATED_TARGET_ARCH').split())} \
+ ${@all_multilib_tune_values(d, 'BINUTILS')} \
+ ${@all_multilib_tune_values(d, 'GCC')} \
+ ${@all_multilib_tune_values(d, 'GDB')} \
meta-environment-${MACHINE} \
"
-