diff options
author | Sumit Garg | 2024-02-22 15:06:01 +0530 |
---|---|---|
committer | Tom Rini | 2024-02-29 22:24:05 -0500 |
commit | e3a9829c87422417986432a8007786cd6f6e1c8e (patch) | |
tree | 7c2c1a48fc372b321dbc8a7ffababf44f389c974 /dts/upstream | |
parent | 3a4e5944c96c0d4a421132096f88d972569cb307 (diff) |
dts: Add alternative location for upstream DTB builds
Allow platform owners to mirror devicetree files from devitree-rebasing
directory into dts/upstream/src/$(ARCH) (special case for arm64). Then
build then along with any *-u-boot.dtsi file present in arch/$(ARCH)/dts
directory. Also add a new Makefile for arm64.
This will help easy migration for platforms which currently are compliant
with upstream Linux kernel devicetree files.
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Diffstat (limited to 'dts/upstream')
-rw-r--r-- | dts/upstream/src/arm64/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dts/upstream/src/arm64/Makefile b/dts/upstream/src/arm64/Makefile new file mode 100644 index 00000000000..9a8f6aa3584 --- /dev/null +++ b/dts/upstream/src/arm64/Makefile @@ -0,0 +1,14 @@ +# SPDX-License-Identifier: GPL-2.0+ + +include $(srctree)/scripts/Makefile.dts + +targets += $(dtb-y) + +# Add any required device tree compiler flags here +DTC_FLAGS += -a 0x8 + +PHONY += dtbs +dtbs: $(addprefix $(obj)/, $(dtb-y)) + @: + +clean-files := */*.dtb */*.dtbo |