Files
android_kernel_oneplus_sm86…/BUILD.bazel
John Moon e7d3671873 ARM: dts: qcom: Add Bazel files for DT compilation
Kleaf provides a kernel_dtstree rule that must be used
to define a directory containing dts/dtsi files.

The rule uses the Bazel hermetic device tree compiler to
generate the DTB and DTBO files.

A platform map is added to link target names to device tree
files.

Change-Id: I9964cb70ec2d661608227890395ab316fb6a6259
2022-10-18 09:19:41 -07:00

22 lines
452 B
Python

load("//build/kernel/kleaf:kernel.bzl", "kernel_dtstree")
kernel_dtstree(
name = "msm_dt",
srcs = glob(
[
"Makefile",
"qcom/Makefile",
"qcom/**/*.dtsi",
"qcom/**/*.dts",
"bindings/**/*",
],
exclude = [
"**/.*",
"**/.*/**",
"**/*.bazel",
"**/*.bzl",
],
),
visibility = ["//visibility:public"],
)