[oe-commits] [openembedded-core] 06/09: gcc-cross: Stop target recipes depending on SDK_SYS

git at git.openembedded.org git at git.openembedded.org
Fri Sep 30 16:49:14 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 2b5761350a074de2e1a6db19621945fba39089fc
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Fri Sep 30 17:43:25 2016 +0100

    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 at linuxfoundation.org>
---
 meta/recipes-devtools/gcc/gcc-cross.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc
index 87a8de9..cc465a2 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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list