From bb67ddeb2eed3e25c626a279ef53a7e8c7bfe6f2 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Sat, 27 Oct 2012 16:48:17 +0800 Subject: 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] Signed-off-by: Robert Yang Signed-off-by: Saul Wold --- meta/recipes-devtools/pseudo/pseudo.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'meta/recipes-devtools/pseudo') 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" LICENSE = "LGPL2.1" DEPENDS = "sqlite3" -SRC_URI_append_virtclass-nativesdk = " file://symver.patch" +SRC_URI_append_class-nativesdk = " file://symver.patch" -SRC_URI_append_virtclass-native = " file://symver.patch" +SRC_URI_append_class-native = " file://symver.patch" FILES_${PN} = "${libdir}/pseudo/lib*/libpseudo.so ${bindir}/* ${localstatedir}/pseudo ${prefix}/var/pseudo" FILES_${PN}-dbg += "${libdir}/pseudo/lib*/.debug" @@ -40,7 +40,7 @@ do_compile () { # Two below are the same # If necessary compile for the alternative machine arch. This is only # necessary in a native build. -do_compile_prepend_virtclass-native () { +do_compile_prepend_class-native () { if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then # We need the 32-bit libpseudo on a 64-bit machine... # ... and we really, really, hope that the native host is @@ -58,7 +58,7 @@ do_compile_prepend_virtclass-native () { fi } -do_compile_prepend_virtclass-nativesdk () { +do_compile_prepend_class-nativesdk () { if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then # We need the 32-bit libpseudo on a 64-bit machine... # ... and we really, really, hope that the native host is @@ -77,14 +77,14 @@ do_install () { # Two below are the same # If necessary install for the alternative machine arch. This is only # necessary in a native build. -do_install_append_virtclass-native () { +do_install_append_class-native () { if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then mkdir -p ${D}${prefix}/lib/pseudo/lib cp lib/pseudo/lib/libpseudo.so ${D}${prefix}/lib/pseudo/lib/. fi } -do_install_append_virtclass-nativesdk () { +do_install_append_class-nativesdk () { if [ "${SITEINFO_BITS}" = "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" = "pseudo-native" -a "${NO32LIBS}" != "1" ]; then mkdir -p ${D}${prefix}/lib/pseudo/lib cp lib/pseudo/lib/libpseudo.so ${D}${prefix}/lib/pseudo/lib/. -- cgit 1.2.3-korg