4

After checked the official document, I still don’t understand this meaning in recipe.

BBCLASSEXTEND="native nativesdk"
GreenTea
  • 769
  • 1
  • 10
  • 36
  • It allows a normal recipe to be extended to a native recipe (and can be included in a host part SDK). – Nayfe Apr 28 '20 at 18:31

1 Answers1

7

BBCLASSEXTEND is a way for the named classes (in this case, native and nativesdk) to run over the recipe to alter them.

The native class makes a version of the recipe (with -native appended to the name) that builds for the build host instead of the build target, so you can execute the binaries during the build. The nativesdk class is similar but builds packages to be executed in the SDK.

Ross Burton
  • 3,516
  • 13
  • 12