mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
The tricky of using BPN in a common inc file is rather hard to understand. Simplfy this by moving it to the base vim recipe and use the standard variable form. (From OE-Core rev: cffa5930d86a464aceb4764eec510a2b8f5c44a1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
665 B
BlitzBasic
20 lines
665 B
BlitzBasic
require vim.inc
|
|
|
|
PROVIDES = "xxd"
|
|
|
|
RDEPENDS:${PN} = "ncurses-terminfo-base"
|
|
# Recommend that runtime data is installed along with vim
|
|
RRECOMMENDS:${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common"
|
|
|
|
PACKAGECONFIG:class-native = ""
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
ALTERNATIVE:${PN}:append = " xxd"
|
|
ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd"
|
|
ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd"
|
|
|
|
# We override the default in security_flags.inc because vim (not vim-tiny!) will abort
|
|
# in many places for _FORTIFY_SOURCE=2. Security flags become part of CC.
|
|
#
|
|
lcl_maybe_fortify = "${@oe.utils.conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE=1',d)}"
|