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:
Robert Yang
2012-10-27 16:48:17 +08:00
committed by Richard Purdie
parent d005b787df
commit aea2d8c02c
34 changed files with 82 additions and 82 deletions

View File

@@ -3,7 +3,7 @@ SECTION = "console/utils"
LICENSE = "GPLv2"
DEPENDS = "openssl curl zlib expat"
PROVIDES_append_virtclass-native = " git-replacement-native"
PROVIDES_append_class-native = " git-replacement-native"
SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.bz2 "
S = "${WORKDIR}/git-${PV}"
@@ -31,7 +31,7 @@ do_install () {
rm -rf ${D}${libdir}/perl-native
}
do_install_append_virtclass-native() {
do_install_append_class-native() {
create_wrapper ${D}/${bindir}/git \
GIT_EXEC_PATH=${libexecdir}/git-core \
GIT_TEMPLATE_DIR=${STAGING_DATADIR_NATIVE}/git-core/templates