diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2022-06-08 09:42:45 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-08 21:55:56 +0100 |
commit | 5f249a407f6abbf72804be2660d618c45b02932e (patch) | |
tree | d1aae7e0045d13a582b93dd0fb48f7398cca196b /meta/recipes-support/vim | |
parent | 1025118484c1f0359a1909d4e9246c68615d0f98 (diff) | |
download | poky-5f249a407f6abbf72804be2660d618c45b02932e.tar.gz |
vim: put xxd in its own package
The xxd tool can be quite handy by itself, and doesn't have anything
to do with vim per se. Make it possible to include the rather tiny xxd
in a rootfs without pulling in the several MB vim binary and
associated data.
For backwards compatibility, add an RDEPENDS from the main package to
the new vim-xxd package.
(From OE-Core rev: 06ed2aa93fc25a681e3a00ee120d9395b04845da)
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/vim')
-rw-r--r-- | meta/recipes-support/vim/vim_8.2.bb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-support/vim/vim_8.2.bb b/meta/recipes-support/vim/vim_8.2.bb index f358e61132..fee9f055e9 100644 --- a/meta/recipes-support/vim/vim_8.2.bb +++ b/meta/recipes-support/vim/vim_8.2.bb | |||
@@ -2,14 +2,18 @@ require vim.inc | |||
2 | 2 | ||
3 | PROVIDES = "xxd" | 3 | PROVIDES = "xxd" |
4 | 4 | ||
5 | RDEPENDS:${PN} = "ncurses-terminfo-base" | 5 | RDEPENDS:${PN} = "ncurses-terminfo-base ${PN}-xxd" |
6 | # Recommend that runtime data is installed along with vim | 6 | # Recommend that runtime data is installed along with vim |
7 | RRECOMMENDS:${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common" | 7 | RRECOMMENDS:${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common" |
8 | 8 | ||
9 | PACKAGECONFIG:class-native = "" | 9 | PACKAGECONFIG:class-native = "" |
10 | BBCLASSEXTEND = "native nativesdk" | 10 | BBCLASSEXTEND = "native nativesdk" |
11 | 11 | ||
12 | ALTERNATIVE:${PN}:append = " xxd" | 12 | PACKAGES =+ "${PN}-xxd" |
13 | FILES:${PN}-xxd = "${bindir}/xxd" | ||
14 | RPROVIDES:${PN}-xxd = "xxd" | ||
15 | |||
16 | ALTERNATIVE:${PN}-xxd = "xxd" | ||
13 | ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd" | 17 | ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd" |
14 | ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd" | 18 | ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd" |
15 | 19 | ||