From: George McCollister Date: Thu, 14 Jan 2016 20:56:35 +0000 (-0600) Subject: git: use bash-completion.bbclass X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~27306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2139a841e44e1b765421cc76c85eb0a7b43dd953;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git git: use bash-completion.bbclass Use bash-completion.bbclass to package bash completions. Signed-off-by: George McCollister Signed-off-by: Ross Burton --- diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc index d9770e687a3..c19e0d47483 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 += " \