]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Makefile: Add missing OF_UPSTREAM Makefile for 32bit ARM
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Mon, 18 Mar 2024 15:03:14 +0000 (16:03 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 20 Mar 2024 21:13:01 +0000 (17:13 -0400)
Copy dts/upstream/src/arm64/Makefile into dts/upstream/src/arm/Makefile
and create a commit. This makes 32bit ARM buildable with OF_UPSTREAM .

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Tested-by: Adam Ford <aford173@gmail.com> #am3517-evm
Tested-by: Tony Dinh <mibodhi@gmail.com>
dts/upstream/src/arm/Makefile [new file with mode: 0644]

diff --git a/dts/upstream/src/arm/Makefile b/dts/upstream/src/arm/Makefile
new file mode 100644 (file)
index 0000000..9a8f6aa
--- /dev/null
@@ -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