mirror of
https://github.com/oplus-giulia-dev/android_kernel_oneplus_sm8650-devicetrees
synced 2025-11-03 22:26:14 +08:00
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
22 lines
452 B
Python
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"],
|
|
)
|