diff options
Diffstat (limited to 'meta/recipes-support/vim/vim_9.1.bb')
-rw-r--r-- | meta/recipes-support/vim/vim_9.1.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-support/vim/vim_9.1.bb b/meta/recipes-support/vim/vim_9.1.bb new file mode 100644 index 0000000000..fee9f055e9 --- /dev/null +++ b/meta/recipes-support/vim/vim_9.1.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | require vim.inc | ||
2 | |||
3 | PROVIDES = "xxd" | ||
4 | |||
5 | RDEPENDS:${PN} = "ncurses-terminfo-base ${PN}-xxd" | ||
6 | # Recommend that runtime data is installed along with vim | ||
7 | RRECOMMENDS:${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common" | ||
8 | |||
9 | PACKAGECONFIG:class-native = "" | ||
10 | BBCLASSEXTEND = "native nativesdk" | ||
11 | |||
12 | PACKAGES =+ "${PN}-xxd" | ||
13 | FILES:${PN}-xxd = "${bindir}/xxd" | ||
14 | RPROVIDES:${PN}-xxd = "xxd" | ||
15 | |||
16 | ALTERNATIVE:${PN}-xxd = "xxd" | ||
17 | ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd" | ||
18 | ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd" | ||
19 | |||
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 | # | ||
23 | lcl_maybe_fortify = "${@oe.utils.conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE=1',d)}" | ||