diff options
Diffstat (limited to 'yocto-poky/meta/recipes-devtools/git/git.inc')
-rw-r--r-- | yocto-poky/meta/recipes-devtools/git/git.inc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/yocto-poky/meta/recipes-devtools/git/git.inc b/yocto-poky/meta/recipes-devtools/git/git.inc index 4da4a2754..a1d0300be 100644 --- a/yocto-poky/meta/recipes-devtools/git/git.inc +++ b/yocto-poky/meta/recipes-devtools/git/git.inc @@ -17,7 +17,7 @@ EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \ --without-tcltk \ " -inherit autotools-brokensep perlnative +inherit autotools-brokensep perlnative bash-completion EXTRA_OEMAKE = "NO_PYTHON=1 CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'" EXTRA_OEMAKE += "'PERL_PATH=/usr/bin/env perl'" @@ -50,6 +50,8 @@ perl_native_fixup () { # ${libdir} is not applicable here, perl-native files are always # installed to /usr/lib on both 32/64 bits targets. + + mkdir -p ${D}${libdir} mv ${D}${exec_prefix}/lib/perl-native/perl ${D}${libdir} rmdir -p ${D}${exec_prefix}/lib/perl-native || true } @@ -75,7 +77,6 @@ do_install_append_class-nativesdk() { } FILES_${PN} += "${datadir}/git-core ${libexecdir}/git-core/" -FILES_${PN}-dbg += "${libexecdir}/git-core/.debug" PERLTOOLS = " \ ${libexecdir}/git-core/git-add--interactive \ @@ -97,10 +98,6 @@ PERLTOOLS = " \ ${datadir}/git-core/templates/hooks/pre-rebase.sample \ " -# Basic tab completion support -PACKAGES =+ "${PN}-bash-completion" -FILES_${PN}-bash-completion = "${datadir}/bash-completion/completions/*" - # Git tools requiring perl PACKAGES =+ "${PN}-perltools" FILES_${PN}-perltools += " \ |