[PATCH] ARM: dts: Makefile: build arm64 device tree

From: peng . fan
Date: Thu Mar 12 2020 - 23:38:36 EST


From: Peng Fan <peng.fan@xxxxxxx>

To support aarch32 mode linux on aarch64 hardware, we need
build the device tree, so include the arm64 device tree path.

Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
---

V1:
This is just the device tree part. Besides this,
I am not sure whether need to create a standalone defconfig under arm32
for aarch32 mode linux on aarch64 hardware, or use multi_v7_defconfig.
multi_v7_defconfig should be ok, need to include LPAE config.

arch/arm/boot/dts/Makefile | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index e874fbf5a1f3..ff0161c1df5f 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -1341,3 +1341,5 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
aspeed-bmc-opp-zaius.dtb \
aspeed-bmc-portwell-neptune.dtb \
aspeed-bmc-quanta-q71l.dtb
+
+subdir-y += ../../../../arch/arm64/boot/dts
--
2.16.4