mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01: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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user