mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 18:02:12 +01:00
Enable nativesdk build support in order to be able to include vim in nativesdk targets (e.g. buildtools-tarball/sdk). It is useful to be able to provide an editor in a relocatable form for when hosts do not provide an editor. Additionally the vim recipe provides the xxd tool. (From OE-Core rev: 72399c0c2eca21d2c27c3ba668d456375453b809) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 lines
482 B
BlitzBasic
16 lines
482 B
BlitzBasic
require vim.inc
|
|
|
|
PROVIDES = "xxd"
|
|
|
|
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)}"
|