Since gcc is the one that needs it and no common sysroot available now.

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 meta-arago-distro/recipes-devtools/gcc/gcc_%.bbappend                  | 3 +++
 meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend | 2 --
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/recipes-devtools/gcc/gcc_%.bbappend 
b/meta-arago-distro/recipes-devtools/gcc/gcc_%.bbappend
index b84c9e4..92f2874 100644
--- a/meta-arago-distro/recipes-devtools/gcc/gcc_%.bbappend
+++ b/meta-arago-distro/recipes-devtools/gcc/gcc_%.bbappend
@@ -1 +1,4 @@
 DEPENDS =+ "flex-native"
+
+EXTRA_DEPS = 
"${@['','external-linaro-toolchain-cross-${TARGET_ARCH}'][d.getVar('TOOLCHAIN_TYPE',
 True) == 'external' and d.getVar('TOOLCHAIN_BRAND', True) == 'linaro']}"
+DEPENDS += "${EXTRA_DEPS}"
diff --git 
a/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend 
b/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend
index ae74e37..df5b5c0 100644
--- a/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend
+++ b/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend
@@ -26,8 +26,6 @@ PACKAGES =+ "libgcc-dev"
 
 DEPENDS += "${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 
'external-linaro-toolchain', '', 'linux-libc-headers', d)}"
 
-DEPENDS += "external-linaro-toolchain-cross-${TARGET_ARCH}"
-
 RDEPENDS_${PN}-utils = ""
 
 PKGV = "${ELT_VER_LIBC}"
-- 
2.7.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to