gcc: added COMPATIBLE_TARGET_SYS
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Thu, 22 Jul 2010 20:42:45 +0000 (22:42 +0200)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Thu, 22 Jul 2010 20:44:24 +0000 (22:44 +0200)
added COMPATIBLE_TARGET_SYS ?= "(?!nios2)" to the gcc-common.inc file
and COMPATIBLE_TARGET_SYS = "." to the only recipe that does
support nios2 (gcc-4.2.1.bb)

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/gcc/gcc-4.1.2.inc
recipes/gcc/gcc-common.inc

index 2505b09..000767a 100644 (file)
@@ -3,6 +3,8 @@ require gcc-common.inc
 DEPENDS = "mpfr gmp"
 NATIVEDEPS = "mpfr-native gmp-native"
 
+COMPATIBLE_TARGET_SYS = "."
+
 INC_PR = "r23"
 
 SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2;name=archive \
index 7aee542..ffd4dd3 100644 (file)
@@ -9,6 +9,8 @@ inherit autotools gettext
 
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}"
 
+COMPATIBLE_TARGET_SYS ?= "(?!nios2)"
+
 # When making a Canadian SDK, we use these files too to make the compiler
 # for building for the new host part.  So only obey TARGET_FPU for the
 # real target.