xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-support/vim/vim_9.0.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1require vim.inc
2
3PROVIDES = "xxd"
4
5RDEPENDS:${PN} = "ncurses-terminfo-base"
6# Recommend that runtime data is installed along with vim
7RRECOMMENDS:${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common"
8
9PACKAGECONFIG:class-native = ""
10BBCLASSEXTEND = "native nativesdk"
11
12ALTERNATIVE:${PN}:append = " xxd"
13ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd"
14ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd"
15
16# We override the default in security_flags.inc because vim (not vim-tiny!) will abort
17# in many places for _FORTIFY_SOURCE=2.  Security flags become part of CC.
18#
19lcl_maybe_fortify = "${@oe.utils.conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE=1',d)}"
20