diff options
author | George McCollister <george.mccollister@gmail.com> | 2016-01-14 14:56:36 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-30 11:37:02 +0000 |
commit | d88ed5d3a0f497b3757c62bfb9c4a2a634c0bb5b (patch) | |
tree | d1402e3e9e2e8dcb0ac6ee29e210486b9c222842 /meta/recipes-kernel/kmod/kmod_git.bb | |
parent | 0f3780cd1bb51347c21382ff3989cde71e7a5d01 (diff) | |
download | poky-d88ed5d3a0f497b3757c62bfb9c4a2a634c0bb5b.tar.gz |
kmod: use bash-completion.bbclass
Use bash-completion.bbclass to package bash completions.
(From OE-Core rev: 4f0716690ff4c7169b07e352df2301e77a3abc03)
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/recipes-kernel/kmod/kmod_git.bb')
-rw-r--r-- | meta/recipes-kernel/kmod/kmod_git.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-kernel/kmod/kmod_git.bb b/meta/recipes-kernel/kmod/kmod_git.bb index e0bb95c8f6..69185b2453 100644 --- a/meta/recipes-kernel/kmod/kmod_git.bb +++ b/meta/recipes-kernel/kmod/kmod_git.bb | |||
@@ -39,7 +39,7 @@ do_compile_prepend() { | |||
39 | sed -i 's/ac_pwd=/#ac_pwd=/' config.status ; sed -i "/#ac_pwd=/a\ac_pwd='.'" config.status | 39 | sed -i 's/ac_pwd=/#ac_pwd=/' config.status ; sed -i "/#ac_pwd=/a\ac_pwd='.'" config.status |
40 | } | 40 | } |
41 | 41 | ||
42 | inherit update-alternatives | 42 | inherit update-alternatives bash-completion |
43 | 43 | ||
44 | ALTERNATIVE_PRIORITY = "60" | 44 | ALTERNATIVE_PRIORITY = "60" |
45 | 45 | ||
@@ -56,8 +56,7 @@ ALTERNATIVE_TARGET[lsmod] = "${base_bindir}/lsmod.${BPN}" | |||
56 | 56 | ||
57 | ALTERNATIVE_LINK_NAME[depmod] = "${base_sbindir}/depmod" | 57 | ALTERNATIVE_LINK_NAME[depmod] = "${base_sbindir}/depmod" |
58 | 58 | ||
59 | PACKAGES =+ "libkmod ${PN}-bash-completion" | 59 | PACKAGES =+ "libkmod" |
60 | 60 | ||
61 | FILES_libkmod = "${base_libdir}/libkmod*${SOLIBS} ${libdir}/libkmod*${SOLIBS}" | 61 | FILES_libkmod = "${base_libdir}/libkmod*${SOLIBS} ${libdir}/libkmod*${SOLIBS}" |
62 | FILES_${PN} += "${base_libdir}/depmod.d ${base_libdir}/modprobe.d" | 62 | FILES_${PN} += "${base_libdir}/depmod.d ${base_libdir}/modprobe.d" |
63 | FILES_${PN}-bash-completion = "${datadir}/bash-completion" | ||