1*4882a593Smuzhiyunrequire vim.inc 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunPROVIDES = "xxd" 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunRDEPENDS:${PN} = "ncurses-terminfo-base" 6*4882a593Smuzhiyun# Recommend that runtime data is installed along with vim 7*4882a593SmuzhiyunRRECOMMENDS:${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common" 8*4882a593Smuzhiyun 9*4882a593SmuzhiyunPACKAGECONFIG:class-native = "" 10*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk" 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunALTERNATIVE:${PN}:append = " xxd" 13*4882a593SmuzhiyunALTERNATIVE_TARGET[xxd] = "${bindir}/xxd" 14*4882a593SmuzhiyunALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd" 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun# We override the default in security_flags.inc because vim (not vim-tiny!) will abort 17*4882a593Smuzhiyun# in many places for _FORTIFY_SOURCE=2. Security flags become part of CC. 18*4882a593Smuzhiyun# 19*4882a593Smuzhiyunlcl_maybe_fortify = "${@oe.utils.conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE=1',d)}" 20