aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/git
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2013-12-13 07:50:11 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-16 12:12:39 +0000
commit4fe4b432b7323a73144f317f8bbbd09c9d9fcb77 (patch)
tree1387c77a2814da7d62e67a7519d6ae00440f78dc /meta/recipes-devtools/git
parentfaa5fc8c4d6cf236cd87d3308a2828d37da97742 (diff)
downloadopenembedded-core-contrib-4fe4b432b7323a73144f317f8bbbd09c9d9fcb77.tar.gz
git: leverage upstream relocation support
Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/git')
-rw-r--r--meta/recipes-devtools/git/git.inc14
1 files changed, 1 insertions, 13 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 183a93cde6..f33069c7ca 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -16,7 +16,7 @@ EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
inherit autotools perlnative
-EXTRA_OEMAKE = "NO_PYTHON=1"
+EXTRA_OEMAKE = "NO_PYTHON=1 RUNTIME_PREFIX=1"
do_compile_prepend () {
# Remove perl/perl.mak to fix the out-of-date perl.mak error
@@ -35,18 +35,6 @@ do_install () {
rmdir ${D}${exec_prefix}/lib || true
}
-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
-}
-
-do_install_append_class-nativesdk() {
- create_wrapper ${D}/${bindir}/git \
- GIT_EXEC_PATH=${libexecdir}/git-core \
- GIT_TEMPLATE_DIR=${STAGING_DATADIR_NATIVE}/git-core/templates
-}
-
FILES_${PN} += "${datadir}/git-core ${libxecdir}/git-core/"
FILES_${PN}-dbg += "${libexecdir}/git-core/.debug"