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/pseudo | |
| 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/pseudo')
| -rw-r--r-- | meta/recipes-devtools/pseudo/pseudo.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/pseudo/pseudo.inc b/meta/recipes-devtools/pseudo/pseudo.inc index 095e6e06d9..98f706c36a 100644 --- a/meta/recipes-devtools/pseudo/pseudo.inc +++ b/meta/recipes-devtools/pseudo/pseudo.inc | |||
| @@ -9,9 +9,9 @@ SECTION = "base" | |||
| 9 | LICENSE = "LGPL2.1" | 9 | LICENSE = "LGPL2.1" |
| 10 | DEPENDS = "sqlite3" | 10 | DEPENDS = "sqlite3" |
| 11 | 11 | ||
| 12 | SRC_URI_append_virtclass-nativesdk = " file://symver.patch" | 12 | SRC_URI_append_class-nativesdk = " file://symver.patch" |
| 13 | 13 | ||
| 14 | SRC_URI_append_virtclass-native = " file://symver.patch" | 14 | SRC_URI_append_class-native = " file://symver.patch" |
| 15 | 15 | ||
| 16 | FILES_${PN} = "${libdir}/pseudo/lib*/libpseudo.so ${bindir}/* ${localstatedir}/pseudo ${prefix}/var/pseudo" | 16 | FILES_${PN} = "${libdir}/pseudo/lib*/libpseudo.so ${bindir}/* ${localstatedir}/pseudo ${prefix}/var/pseudo" |
| 17 | FILES_${PN}-dbg += "${libdir}/pseudo/lib*/.debug" | 17 | FILES_${PN}-dbg += "${libdir}/pseudo/lib*/.debug" |
| @@ -40,7 +40,7 @@ do_compile () { | |||
| 40 | # Two below are the same | 40 | # Two below are the same |
| 41 | # If necessary compile for the alternative machine arch. This is only | 41 | # If necessary compile for the alternative machine arch. This is only |
| 42 | # necessary in a native build. | 42 | # necessary in a native build. |
| 43 | do_compile_prepend_virtclass-native () { | 43 | do_compile_prepend_class-native () { |
| 44 | if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then | 44 | if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then |
| 45 | # We need the 32-bit libpseudo on a 64-bit machine... | 45 | # We need the 32-bit libpseudo on a 64-bit machine... |
| 46 | # ... and we really, really, hope that the native host is | 46 | # ... and we really, really, hope that the native host is |
| @@ -58,7 +58,7 @@ do_compile_prepend_virtclass-native () { | |||
| 58 | fi | 58 | fi |
| 59 | } | 59 | } |
| 60 | 60 | ||
| 61 | do_compile_prepend_virtclass-nativesdk () { | 61 | do_compile_prepend_class-nativesdk () { |
| 62 | if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then | 62 | if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then |
| 63 | # We need the 32-bit libpseudo on a 64-bit machine... | 63 | # We need the 32-bit libpseudo on a 64-bit machine... |
| 64 | # ... and we really, really, hope that the native host is | 64 | # ... and we really, really, hope that the native host is |
| @@ -77,14 +77,14 @@ do_install () { | |||
| 77 | # Two below are the same | 77 | # Two below are the same |
| 78 | # If necessary install for the alternative machine arch. This is only | 78 | # If necessary install for the alternative machine arch. This is only |
| 79 | # necessary in a native build. | 79 | # necessary in a native build. |
| 80 | do_install_append_virtclass-native () { | 80 | do_install_append_class-native () { |
| 81 | if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then | 81 | if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then |
| 82 | mkdir -p ${D}${prefix}/lib/pseudo/lib | 82 | mkdir -p ${D}${prefix}/lib/pseudo/lib |
| 83 | cp lib/pseudo/lib/libpseudo.so ${D}${prefix}/lib/pseudo/lib/. | 83 | cp lib/pseudo/lib/libpseudo.so ${D}${prefix}/lib/pseudo/lib/. |
| 84 | fi | 84 | fi |
| 85 | } | 85 | } |
| 86 | 86 | ||
| 87 | do_install_append_virtclass-nativesdk () { | 87 | do_install_append_class-nativesdk () { |
| 88 | if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then | 88 | if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then |
| 89 | mkdir -p ${D}${prefix}/lib/pseudo/lib | 89 | mkdir -p ${D}${prefix}/lib/pseudo/lib |
| 90 | cp lib/pseudo/lib/libpseudo.so ${D}${prefix}/lib/pseudo/lib/. | 90 | cp lib/pseudo/lib/libpseudo.so ${D}${prefix}/lib/pseudo/lib/. |
