diff options
author | Gerald Britton <gbritton@doomcom.org> | 2004-04-27 02:53:54 +0000 |
---|---|---|
committer | Gerald Britton <gbritton@doomcom.org> | 2004-04-27 02:53:54 +0000 |
commit | 5c76c320af6f82794823215c081469d3de8e64e4 (patch) | |
tree | 324384db2b3a349459fb4fa28fc910448ec52ae7 /binutils/binutils_2.14.90.0.8.oe | |
parent | f63c99c34855fff1cbb932457b08bdd29b3777ff (diff) |
- binutils 2.15.90.0.3 / gcc 3.4.0 toolchain
- support in glibc and uclibc for gcc 3.4.0
- new target setup for uclibc, TARGET_OS=linux-uclibc to match the uclibc
project's setup and modern config.sub already has support for it.
BKrev: 408dcb42JOaGKxGg3PSn6IwU4Kimfw
Diffstat (limited to 'binutils/binutils_2.14.90.0.8.oe')
-rw-r--r-- | binutils/binutils_2.14.90.0.8.oe | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/binutils/binutils_2.14.90.0.8.oe b/binutils/binutils_2.14.90.0.8.oe index 9c5b489804..1489ea1df6 100644 --- a/binutils/binutils_2.14.90.0.8.oe +++ b/binutils/binutils_2.14.90.0.8.oe @@ -4,13 +4,22 @@ DESCRIPTION = "A GNU collection of binary utilities" LICENSE = "GPL" MAINTAINER = "Gerald Britton <gbritton@doomcom.org>" -# This will ONLY build to this target -TARGET_VENDOR := "" -TARGET_SYS := "${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}" -TARGET_PREFIX := "${TARGET_SYS}-" - -DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc \ - virtual/libc patcher-native" +# +# For now, we will skip building of a gcc package if it is a uclibc one +# and our build is not a uclibc one, and we skip a glibc one if our build +# is a uclibc build. +# +# See the note in gcc/gcc_3.4.0.oe +# + +python __anonymous () { + import oe, re + uc_pkg = (re.search('uclibc', oe.data.getVar('PN', d, 1)) != None) + uc_os = (re.match('.*uclibc$', oe.data.getVar('TARGET_OS', d, 1)) != None) + if uc_pkg != uc_os: + raise oe.parse.SkipPackage("incompatible with target %s" % + oe.data.getVar('TARGET_OS', d, 1)) +} PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks" |