mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
d005b787df
commit
aea2d8c02c
@@ -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/.
|
||||
|
||||
Reference in New Issue
Block a user