]> code.ossystems Code Review - openembedded-core.git/commitdiff
vim: add nativesdk to BBCLASSEXTEND
authorNathan Rossi <nathan@nathanrossi.com>
Thu, 5 Nov 2020 11:02:47 +0000 (11:02 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 8 Nov 2020 14:03:16 +0000 (14:03 +0000)
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.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/vim/vim_8.2.bb

index 709b6ddb55668ae3afe543aae5496fd56d1fb1ec..7e4654e472d0887affea6280c93ad0ca6ac24c7d 100644 (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"