]> code.ossystems Code Review - openembedded-core.git/commitdiff
git: leverage upstream relocation support
authorChristopher Larson <chris_larson@mentor.com>
Fri, 13 Dec 2013 14:50:11 +0000 (07:50 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Dec 2013 12:12:39 +0000 (12:12 +0000)
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/git/git.inc

index 183a93cde6ba16d0d3eefa03e3c74fee8e55396e..f33069c7ca25475381d226edbf7c9e9f1f2f91b8 100644 (file)
@@ -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"