[oe] [PATCH] gcc: added COMPATIBLE_TARGET_SYS

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Fri Jul 16 17:16:39 UTC 2010


added COMPATIBLE_TARGET_SYS = "(?!nios2)" to gcc-common.inc file
and COMPATIBLE_TARGET_SYS = "" to the 4.1.2 recipe (which at
the moment is the only one that supports nios2)

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
---
 recipes/gcc/gcc-common.inc |    2 ++
 recipes/gcc/gcc_4.1.2.bb   |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/recipes/gcc/gcc-common.inc b/recipes/gcc/gcc-common.inc
index 7aee542..9515f47 100644
--- a/recipes/gcc/gcc-common.inc
+++ b/recipes/gcc/gcc-common.inc
@@ -5,6 +5,8 @@ LICENSE = "GPL"
 
 NATIVEDEPS = ""
 
+COMPATIBLE_TARGET_SYS = "(?!nios2)" 
+
 inherit autotools gettext
 
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
diff --git a/recipes/gcc/gcc_4.1.2.bb b/recipes/gcc/gcc_4.1.2.bb
index 2062ce5..42f530b 100644
--- a/recipes/gcc/gcc_4.1.2.bb
+++ b/recipes/gcc/gcc_4.1.2.bb
@@ -6,3 +6,4 @@ require gcc-package-target.inc
 
 ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}"
 
+COMPATIBLE_TARGET_SYS = "" 
-- 
1.6.4.2





More information about the Openembedded-devel mailing list