mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
git: use bash-completion.bbclass
Use bash-completion.bbclass to package bash completions. (From OE-Core rev: 2139a841e44e1b765421cc76c85eb0a7b43dd953) Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
9d2066139f
commit
0f3780cd1b
@@ -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'"
|
||||
@@ -96,10 +96,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 += " \
|
||||
|
||||
Reference in New Issue
Block a user