diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2012-10-27 16:48:17 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-02 16:18:29 +0000 |
| commit | aea2d8c02c7abd7ecbabae8b3932ceb7a01cb20d (patch) | |
| tree | 11e419c0fceecd67e09f98feafc0adb7e1015b6a /meta/recipes-devtools/qemu/qemu_1.2.0.bb | |
| parent | d005b787dfe2c9bcaefe41836f9b1c3008105171 (diff) | |
| download | poky-aea2d8c02c7abd7ecbabae8b3932ceb7a01cb20d.tar.gz | |
recipes-devtools: replace virtclass-native(sdk) with class-native(sdk)
The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.
[YOCTO #3297]
(From OE-Core rev: bb67ddeb2eed3e25c626a279ef53a7e8c7bfe6f2)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu_1.2.0.bb')
| -rw-r--r-- | meta/recipes-devtools/qemu/qemu_1.2.0.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/qemu/qemu_1.2.0.bb b/meta/recipes-devtools/qemu/qemu_1.2.0.bb index 5cc142a624..af5eb0349c 100644 --- a/meta/recipes-devtools/qemu/qemu_1.2.0.bb +++ b/meta/recipes-devtools/qemu/qemu_1.2.0.bb | |||
| @@ -20,11 +20,11 @@ SRC_URI[sha256sum] = "c8b84420d9f4869397f84cad2dabd9a475b7723d619a924a873740353e | |||
| 20 | 20 | ||
| 21 | PR = "r4" | 21 | PR = "r4" |
| 22 | 22 | ||
| 23 | SRC_URI_append_virtclass-nativesdk = "\ | 23 | SRC_URI_append_class-nativesdk = "\ |
| 24 | file://relocatable_sdk.patch \ | 24 | file://relocatable_sdk.patch \ |
| 25 | " | 25 | " |
| 26 | 26 | ||
| 27 | do_configure_prepend_virtclass-nativesdk() { | 27 | do_configure_prepend_class-nativesdk() { |
| 28 | if [ "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" = "" ] ; then | 28 | if [ "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" = "" ] ; then |
| 29 | # Undo the -lX11 added by linker-flags.patch | 29 | # Undo the -lX11 added by linker-flags.patch |
| 30 | sed -i 's/-lX11//g' Makefile.target | 30 | sed -i 's/-lX11//g' Makefile.target |
| @@ -45,7 +45,7 @@ do_install_append() { | |||
| 45 | } | 45 | } |
| 46 | # END of qemu-mips workaround | 46 | # END of qemu-mips workaround |
| 47 | 47 | ||
| 48 | do_configure_prepend_virtclass-native() { | 48 | do_configure_prepend_class-native() { |
| 49 | # Undo the -lX11 added by linker-flags.patch, don't assume that host has libX11 installed | 49 | # Undo the -lX11 added by linker-flags.patch, don't assume that host has libX11 installed |
| 50 | sed -i 's/-lX11//g' Makefile.target | 50 | sed -i 's/-lX11//g' Makefile.target |
| 51 | } | 51 | } |
