aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-30 17:43:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-30 17:48:34 +0100
commit2b5761350a074de2e1a6db19621945fba39089fc (patch)
treef76b7c922337db5de9624ec7d83595297a50b323
parent22001ba163e80b114212580279339acd15fa7298 (diff)
downloadopenembedded-core-contrib-2b5761350a074de2e1a6db19621945fba39089fc.tar.gz
openembedded-core-contrib-2b5761350a074de2e1a6db19621945fba39089fc.tar.bz2
openembedded-core-contrib-2b5761350a074de2e1a6db19621945fba39089fc.zip
gcc-cross: Stop target recipes depending on SDK_SYS
gcc-cross target recipes should not depend on SDK_SYS but started to after recent changes. Remove the dependency to stop this (its caused by shared code in do_install). The compiler names contain SDK_SYS so changes would be correctly handled via other means. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index 87a8de9a85..cc465a2796 100644
--- a/meta/recipes-devtools/gcc/gcc-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross.inc
@@ -194,6 +194,9 @@ do_install () {
;;
esac
}
+# This is reflected in the recipe name and target gcc shouldn't depend
+# on SDK settings either
+do_install[vardepsexclude] += "SDK_SYS"
do_package[noexec] = "1"
do_packagedata[noexec] = "1"