]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-cross: Stop target recipes depending on SDK_SYS
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Sep 2016 16:43:25 +0000 (17:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Sep 2016 16:48:34 +0000 (17:48 +0100)
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>
meta/recipes-devtools/gcc/gcc-cross.inc

index 87a8de9a8569a181824f6d892051c5685947a17c..cc465a2796295f22c0793cda6480e37b81fb97c8 100644 (file)
@@ -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"