openwrt/target/linux/qualcommbe/image/ipq95xx.mk
Ahmed Naseef c43ce9ddec qualcommbe: fix rdp433 build after DTS directory move
Commit 041ef9648d ("qualcommbe: move Device DTS to dedicated DTS
directory") introduced a dedicated DTS directory and set DEVICE_DTS_DIR
to ../dts as default. This broke the rdp433 device build since its DTS
resides in the kernel tree (applied via patches), not in the target dts
directory.

Fix this by overriding DEVICE_DTS_DIR for rdp433 to point to the kernel
DTS directory.

Fixes: 041ef9648d ("qualcommbe: move Device DTS to dedicated DTS directory")
Signed-off-by: Ahmed Naseef <naseefkm@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22096
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-02-20 10:57:56 +01:00

29 lines
904 B
Makefile

DTS_DIR := $(DTS_DIR)/qcom
define Device/8devices_kiwi-dvk
$(call Device/FitImage)
$(call Device/EmmcImage)
DEVICE_VENDOR := 8devices
DEVICE_MODEL := Kiwi-DVK
DEVICE_DTS_CONFIG := config@8dev-kiwi
SOC := ipq9570
DEVICE_PACKAGES := kmod-ath12k ath12k-firmware-qcn9274 ipq-wifi-8devices_kiwi f2fsck mkf2fs kmod-sfp kmod-phy-maxlinear
IMAGE/factory.bin := qsdk-ipq-factory-nor
endef
TARGET_DEVICES += 8devices_kiwi-dvk
define Device/qcom_rdp433
$(call Device/FitImageLzma)
DEVICE_VENDOR := Qualcomm Technologies, Inc.
DEVICE_MODEL := RDP433
DEVICE_VARIANT := AP-AL02-C4
BOARD_NAME := ap-al02.1-c4
DEVICE_DTS_CONFIG := config@rdp433
DEVICE_DTS_DIR := $(DTS_DIR)
SOC := ipq9574
KERNEL_INSTALL := 1
KERNEL_SIZE := 6096k
IMAGE_SIZE := 25344k
IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | append-rootfs | pad-rootfs | check-size | append-metadata
endef
TARGET_DEVICES += qcom_rdp433