Преглед изворни кода

qualcommbe: move Device DTS to dedicated DTS directory

Align the qualcommbe target to the pattern already used on other devices where
the device DTS are placed in a dedicated directory separate from the files
directory.

This, while trying to enforce a common pattern for every target, also permits to
do modification to device DTS without having to trigger a recompilation of the
entire kernel (as the files directory is not touched)

Link: https://github.com/openwrt/openwrt/pull/22038
Signed-off-by: Christian Marangi <[email protected]>
Christian Marangi пре 1 месец
родитељ
комит
041ef9648d

+ 0 - 0
target/linux/qualcommbe/files/arch/arm64/boot/dts/qcom/ipq9570-kiwi-dvk.dts → target/linux/qualcommbe/dts/ipq9570-kiwi-dvk.dts


+ 1 - 1
target/linux/qualcommbe/image/Makefile

@@ -6,7 +6,7 @@ define Device/Default
 	KERNEL_LOADADDR := 0x41000000
 	DEVICE_DTS = $$(SOC)-$(lastword $(subst _, ,$(1)))
 	DEVICE_DTS_CONFIG := config@1
-	DEVICE_DTS_DIR := $(DTS_DIR)/qcom
+	DEVICE_DTS_DIR := ../dts
 	IMAGES := sysupgrade.bin
 	IMAGE/sysupgrade.bin = sysupgrade-tar | append-metadata
 	IMAGE/sysupgrade.bin/squashfs :=

+ 2 - 0
target/linux/qualcommbe/image/ipq95xx.mk

@@ -1,3 +1,5 @@
+DTS_DIR := $(DTS_DIR)/qcom
+
 define Device/8devices_kiwi-dvk
 	$(call Device/FitImage)
 	$(call Device/EmmcImage)