vim: add nativesdk to BBCLASSEXTEND

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>
This commit is contained in:
Nathan Rossi
2020-11-05 11:02:47 +00:00
committed by Richard Purdie
parent 8aca690ea7
commit 803fb7e487

View File

@@ -3,7 +3,7 @@ require vim.inc
PROVIDES = "xxd"
PACKAGECONFIG_class-native = ""
BBCLASSEXTEND = "native"
BBCLASSEXTEND = "native nativesdk"
ALTERNATIVE_${PN}_append = " xxd"
ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd"