diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-02-05 17:27:12 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-02-05 17:27:12 +0000 |
| commit | 48f8cda2c3248d57e6661092a22c3e335b6355d0 (patch) | |
| tree | 786deece04d7fae473b103806a7b4d689aa14ef7 /meta | |
| parent | 8f12b466e568b3f226720a54991a667203a351e4 (diff) | |
| download | poky-48f8cda2c3248d57e6661092a22c3e335b6355d0.tar.gz | |
Rename gcc-native3 -> gcc3-native for consistency and update sanity.bbclass to account for gcc3 changes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3670 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/classes/sanity.bbclass | 7 | ||||
| -rw-r--r-- | meta/packages/gcc/gcc-native_3.4.4.bb | 2 | ||||
| -rw-r--r-- | meta/packages/qemu/qemu-native.inc | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 85a38ba285..46bc7c66b6 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
| @@ -85,12 +85,15 @@ def check_sanity(e): | |||
| 85 | required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk md5sum" | 85 | required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk md5sum" |
| 86 | 86 | ||
| 87 | # qemu-native needs gcc 3.x | 87 | # qemu-native needs gcc 3.x |
| 88 | if "qemu-native" not in assume_provided: | 88 | if "qemu-native" not in assume_provided and "gcc3-native" in assume_provided: |
| 89 | gcc_version = commands.getoutput("${BUILD_PREFIX}gcc --version | head -n 1 | cut -f 3 -d ' '") | 89 | gcc_version = commands.getoutput("${BUILD_PREFIX}gcc --version | head -n 1 | cut -f 3 -d ' '") |
| 90 | 90 | ||
| 91 | if not check_gcc3(e.data) and gcc_version[0] != '3': | 91 | if not check_gcc3(e.data) and gcc_version[0] != '3': |
| 92 | messages = messages + "gcc3-native was in ASSUME_PROVIDED but the gcc-3.x binary can't be found in PATH" | ||
| 92 | missing = missing + "gcc-3.x (needed for qemu-native)," | 93 | missing = missing + "gcc-3.x (needed for qemu-native)," |
| 93 | else: | 94 | |
| 95 | if "qemu-native" in assume_provided: | ||
| 96 | messages = messages + "qemu-native was in ASSUME_PROVIDED but the QEMU binaries can't be found in PATH" | ||
| 94 | required_utilities = required_utilities + " qemu-arm" | 97 | required_utilities = required_utilities + " qemu-arm" |
| 95 | 98 | ||
| 96 | for util in required_utilities.split(): | 99 | for util in required_utilities.split(): |
diff --git a/meta/packages/gcc/gcc-native_3.4.4.bb b/meta/packages/gcc/gcc-native_3.4.4.bb index eb1fb5716e..d70a4f5464 100644 --- a/meta/packages/gcc/gcc-native_3.4.4.bb +++ b/meta/packages/gcc/gcc-native_3.4.4.bb | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | require gcc_${PV}.bb | 1 | require gcc_${PV}.bb |
| 2 | require gcc-native.inc | 2 | require gcc-native.inc |
| 3 | PROVIDES += "gcc-native3" \ No newline at end of file | 3 | PROVIDES += "gcc3-native" |
diff --git a/meta/packages/qemu/qemu-native.inc b/meta/packages/qemu/qemu-native.inc index db405c940d..8a25383c59 100644 --- a/meta/packages/qemu/qemu-native.inc +++ b/meta/packages/qemu/qemu-native.inc | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | inherit native | 1 | inherit native |
| 2 | 2 | ||
| 3 | DEPENDS = "zlib-native gcc-native3" | 3 | DEPENDS = "zlib-native gcc3-native" |
| 4 | 4 | ||
| 5 | require qemu-gcc3-check.inc | 5 | require qemu-gcc3-check.inc |
