[oe] [meta-oe][PATCH 1/2] vim: alternatify xxd

Dan McGregor danismostlikely at gmail.com
Thu Oct 18 15:46:27 UTC 2018


From: Dan McGregor <dan.mcgregor at usask.ca>

toybox also provides xxd.

Signed-off-by: Dan McGregor <dan.mcgregor at usask.ca>
---
 meta-oe/recipes-support/vim/vim_8.1.0347.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/vim/vim_8.1.0347.bb b/meta-oe/recipes-support/vim/vim_8.1.0347.bb
index 8713d66ed4..46d229e03b 100644
--- a/meta-oe/recipes-support/vim/vim_8.1.0347.bb
+++ b/meta-oe/recipes-support/vim/vim_8.1.0347.bb
@@ -106,10 +106,12 @@ RDEPENDS_${BPN} = "ncurses-terminfo-base"
 # Recommend that runtime data is installed along with vim
 RRECOMMENDS_${BPN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common"
 
-ALTERNATIVE_${PN} = "vi vim"
+ALTERNATIVE_${PN} = "vi vim xxd"
+ALTERNATIVE_PRIORITY = "100"
 ALTERNATIVE_TARGET = "${bindir}/${BPN}.${BPN}"
 ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi"
 ALTERNATIVE_LINK_NAME[vim] = "${bindir}/vim"
-ALTERNATIVE_PRIORITY = "100"
+ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd"
+ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd"
 
 BBCLASSEXTEND = "native"
-- 
2.19.0-dev




More information about the Openembedded-devel mailing list