summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-05-05 18:06:40 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-05-05 18:06:52 +0200
commitc2680ac59f4cffa50e5d4cdebf5197c74ac44c04 (patch)
treed53feec91c5e39c466a5e4eb870260a5bbff76ee
parent88b37f2b362feb1422e0bc34dca6b63e3b8885b3 (diff)
add vendor to dtb file
-rw-r--r--target/arm/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/arm/Makefile b/target/arm/Makefile
index e5c7a3a6d..1e2cc478b 100644
--- a/target/arm/Makefile
+++ b/target/arm/Makefile
@@ -188,6 +188,9 @@ endif
ifeq ($(ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ),y)
VENDOR:=xilinx/
endif
+ifeq ($(ADK_TARGET_SYSTEM_ST_STM32F746G),y)
+VENDOR:=st/
+endif
endif
dtb-install:
@@ -250,7 +253,7 @@ ifeq ($(ADK_TARGET_SYSTEM_ST_STM32F769),y)
${KERNEL_MAKE} dtbs $(MAKE_TRACE)
endif
ifeq ($(ADK_TARGET_SYSTEM_ST_STM32F746G),y)
- ${KERNEL_MAKE} dtbs $(MAKE_TRACE)
+ ${KERNEL_MAKE} $(VENDOR)stm32f746-disco.dtb $(MAKE_TRACE)
endif
for x in $(LINUX_DIR)/arch/arm/boot/dts/$(VENDOR)*.dtb; do \
[[ -e "$$x" ]] && cp $(LINUX_DIR)/arch/arm/boot/dts/$(VENDOR)*.dtb $(FW_DIR); \