blob: f358e61132b3dd1418e41ff81a1836c19d2de428 [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001require vim.inc
2
3PROVIDES = "xxd"
4
Patrick Williams213cb262021-08-07 19:21:33 -05005RDEPENDS:${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 = ""
Andrew Geissler6ce62a22020-11-30 19:58:47 -060010BBCLASSEXTEND = "native nativesdk"
Brad Bishop15ae2502019-06-18 21:44:24 -040011
Patrick Williams213cb262021-08-07 19:21:33 -050012ALTERNATIVE:${PN}:append = " xxd"
Brad Bishop15ae2502019-06-18 21:44:24 -040013ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd"
14ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd"
Andrew Geissler5a43b432020-06-13 10:46:56 -050015
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)}"