Extension that helps building Android kernel and drivers.

kernel_prebuilt_ext

Extension that manages what prebuilts Kleaf should use.

TAG CLASSES

declare_kernel_prebuilts

Declares a repo that contains kernel prebuilts

Attributes

NameDescriptionTypeMandatoryDefault
local_artifact_pathDirectory to local artifacts.

If set, artifact_url_fmt is ignored.

Only the root module may call declare() with this attribute set.

If relative, it is interpreted against workspace root.

If absolute, this is similar to setting artifact_url_fmt to file://<absolute local_artifact_path>/{filename}, but avoids using download(). Files are symlinked not copied, and --config=internet is not necessary.
Stringoptional""
targetName of the build target as identified by the remote build server.

This attribute has two effects:

* Replaces the {target} anchor in artifact_url_fmt. If artifact_url_fmt does not have the {target} anchor, this has no effect.

* If auto_download_config is True, download_config and mandatory is inferred from a list of known configs keyed on target.
Stringoptional"kernel_aarch64"