summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorGeorge McCollister <george.mccollister@gmail.com>2016-01-14 14:56:31 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-30 11:37:02 +0000
commit9cddc0a7a20e15d61beb190ae10fb77a8f6b7041 (patch)
treeb9fabced5400b9b61680beefd5c3b23b2fc73361 /meta/classes
parentddb786c858984b3bd91bf25826e27d8a966c445c (diff)
downloadpoky-9cddc0a7a20e15d61beb190ae10fb77a8f6b7041.tar.gz
bash-completion.bbclass: add class
Add bash-completion.bbclass which will package bash completion files in a subpackage ${PN}-bash-completion. Use of this class will ensure consitent handling of bash completions across recipes. (From OE-Core rev: 80138689c2454781c21f0bcce92d8721c34c7405) 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>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/bash-completion.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/bash-completion.bbclass b/meta/classes/bash-completion.bbclass
new file mode 100644
index 0000000000..74a878edfc
--- /dev/null
+++ b/meta/classes/bash-completion.bbclass
@@ -0,0 +1,5 @@
1PACKAGES += "${PN}-bash-completion"
2
3FILES_${PN}-bash-completion = "${datadir}/bash-completion ${sysconfdir}/bash_completion.d"
4
5RDEPENDS_${PN}-bash-completion = "bash-completion"