summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorGeorge McCollister <george.mccollister@gmail.com>2016-01-14 14:56:35 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-29 18:14:55 +0000
commit2139a841e44e1b765421cc76c85eb0a7b43dd953 (patch)
treebd99a1d6e60986acaec332a0446f7d1aa48a3a13 /meta
parenta6776e2ac597a70cb6105740eed1cf1b28204ad7 (diff)
downloadopenembedded-core-2139a841e44e1b765421cc76c85eb0a7b43dd953.tar.gz
openembedded-core-2139a841e44e1b765421cc76c85eb0a7b43dd953.tar.bz2
openembedded-core-2139a841e44e1b765421cc76c85eb0a7b43dd953.zip
git: use bash-completion.bbclass
Use bash-completion.bbclass to package bash completions. Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/git/git.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index d9770e687a..c19e0d4748 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/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'"
@@ -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 += " \