summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/git/git.inc
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2012-10-27 16:48:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-02 16:15:30 +0000
commitbb67ddeb2eed3e25c626a279ef53a7e8c7bfe6f2 (patch)
treea5cd401b043e80311db7497dec8c791b873aab2e /meta/recipes-devtools/git/git.inc
parent528b4ab831c7b0bc1412318d29e2b7f9cf711d57 (diff)
downloadopenembedded-core-bb67ddeb2eed3e25c626a279ef53a7e8c7bfe6f2.tar.gz
openembedded-core-bb67ddeb2eed3e25c626a279ef53a7e8c7bfe6f2.tar.bz2
openembedded-core-bb67ddeb2eed3e25c626a279ef53a7e8c7bfe6f2.zip
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 <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/git/git.inc')
-rw-r--r--meta/recipes-devtools/git/git.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 4a0c4aaaef..55e1482b77 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -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