blob: fee9f055e9a4663b9210b9284067a04cfb32709e [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001require vim.inc
2
3PROVIDES = "xxd"
4
Andrew Geissler78b72792022-06-14 06:47:25 -05005RDEPENDS:${PN} = "ncurses-terminfo-base ${PN}-xxd"
Patrick Williams213cb262021-08-07 19:21:33 -05006# 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
Andrew Geissler78b72792022-06-14 06:47:25 -050012PACKAGES =+ "${PN}-xxd"
13FILES:${PN}-xxd = "${bindir}/xxd"
14RPROVIDES:${PN}-xxd = "xxd"
15
16ALTERNATIVE:${PN}-xxd = "xxd"
Brad Bishop15ae2502019-06-18 21:44:24 -040017ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd"
18ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd"
Andrew Geissler5a43b432020-06-13 10:46:56 -050019
20# We override the default in security_flags.inc because vim (not vim-tiny!) will abort
21# in many places for _FORTIFY_SOURCE=2. Security flags become part of CC.
22#
23lcl_maybe_fortify = "${@oe.utils.conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE=1',d)}"