mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
1025118484
commit
5f249a407f
@@ -2,14 +2,18 @@ require vim.inc
|
||||
|
||||
PROVIDES = "xxd"
|
||||
|
||||
RDEPENDS:${PN} = "ncurses-terminfo-base"
|
||||
RDEPENDS:${PN} = "ncurses-terminfo-base ${PN}-xxd"
|
||||
# Recommend that runtime data is installed along with vim
|
||||
RRECOMMENDS:${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common"
|
||||
|
||||
PACKAGECONFIG:class-native = ""
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
ALTERNATIVE:${PN}:append = " xxd"
|
||||
PACKAGES =+ "${PN}-xxd"
|
||||
FILES:${PN}-xxd = "${bindir}/xxd"
|
||||
RPROVIDES:${PN}-xxd = "xxd"
|
||||
|
||||
ALTERNATIVE:${PN}-xxd = "xxd"
|
||||
ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd"
|
||||
ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user