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/git/git.inc | |
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/git/git.inc')
-rw-r--r-- | meta/recipes-devtools/git/git.inc | 4 |
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" | |||
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | DEPENDS = "openssl curl zlib expat" | 4 | DEPENDS = "openssl curl zlib expat" |
5 | 5 | ||
6 | PROVIDES_append_virtclass-native = " git-replacement-native" | 6 | PROVIDES_append_class-native = " git-replacement-native" |
7 | 7 | ||
8 | SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.bz2 " | 8 | SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.bz2 " |
9 | S = "${WORKDIR}/git-${PV}" | 9 | S = "${WORKDIR}/git-${PV}" |
@@ -31,7 +31,7 @@ do_install () { | |||
31 | rm -rf ${D}${libdir}/perl-native | 31 | rm -rf ${D}${libdir}/perl-native |
32 | } | 32 | } |
33 | 33 | ||
34 | do_install_append_virtclass-native() { | 34 | do_install_append_class-native() { |
35 | create_wrapper ${D}/${bindir}/git \ | 35 | create_wrapper ${D}/${bindir}/git \ |
36 | GIT_EXEC_PATH=${libexecdir}/git-core \ | 36 | GIT_EXEC_PATH=${libexecdir}/git-core \ |
37 | GIT_TEMPLATE_DIR=${STAGING_DATADIR_NATIVE}/git-core/templates | 37 | GIT_TEMPLATE_DIR=${STAGING_DATADIR_NATIVE}/git-core/templates |