Builds device tree blobs.

dtb

Build a base devicetree blob (DTB).

Example:

dtb(
    name = "foo",
    srcs = ["foo.dts"],
)

ATTRIBUTES

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
depsList of devicetree_library() targets for .dtsi and .h inclusion.

Order matters. See devicetree_library(includes=) for details about ordering of include directories.
List of labelsoptional[]
srcsList of sources.

There must be exactly one .dts file.

.dtsi and .h files in the same directory or subdirectories may also be specified if you do not need extra search directories (-i option to dtc). If you do need to pair search directories with .dtsi and .h files, use devicetree_library() and add them to deps.
List of labelsoptional[]
outOutput file name. This should end with .dtb.

Default is name + ".dtb", if name does not end with .dtb; otherwise name.
Stringoptional""
dtcoptsList of flags to dtc.List of stringsoptional[]
generate_symbolsEnable generation of symbols (-@).

This is necessary if you are applying overlays on top of it.
BooleanoptionalFalse