mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
vim: add native BBCLASSEXTEND
* some recipes might use xxd * with stricter host binaries available in PATH: http://lists.openembedded.org/pipermail/openembedded-core/2017-March/133886.html we cannot use xxd from host and it's not so common to add it into HOSTTOOL_NONFATAL * there is also smaller solution for xxd -i (which is what I need): https://github.com/gregkh/xxdi but after creating xxdi-native recipe for this I've discovered that perl on my host as well as perlnative doesn't provide File::Slurp used by this, so adding BBCLASSEXTEND here is easier solution Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -99,12 +99,14 @@ FILES_${PN}-common = " \
|
|||||||
${datadir}/icons \
|
${datadir}/icons \
|
||||||
"
|
"
|
||||||
|
|
||||||
RDEPENDS_${PN} = "ncurses-terminfo-base"
|
RDEPENDS_${BPN} = "ncurses-terminfo-base"
|
||||||
# Recommend that runtime data is installed along with vim
|
# Recommend that runtime data is installed along with vim
|
||||||
RRECOMMENDS_${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common"
|
RRECOMMENDS_${BPN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common"
|
||||||
|
|
||||||
ALTERNATIVE_${PN} = "vi vim"
|
ALTERNATIVE_${PN} = "vi vim"
|
||||||
ALTERNATIVE_TARGET = "${bindir}/${BPN}.${BPN}"
|
ALTERNATIVE_TARGET = "${bindir}/${BPN}.${BPN}"
|
||||||
ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi"
|
ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi"
|
||||||
ALTERNATIVE_LINK_NAME[vim] = "${bindir}/vim"
|
ALTERNATIVE_LINK_NAME[vim] = "${bindir}/vim"
|
||||||
ALTERNATIVE_PRIORITY = "100"
|
ALTERNATIVE_PRIORITY = "100"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native"
|
||||||
|
|||||||
Reference in New Issue
Block a user