From 4680bb7c16c09f4cfb324ba1e3ec8df605e22156 Mon Sep 17 00:00:00 2001 From: Gatien Chevallier Date: Thu, 29 Aug 2024 17:15:20 +0200 Subject: [PATCH] mk/compile.mk: fix pre-processed device tree dependencies file target The pre-processed device tree dependencies file target should be .pre.dts, not .dtb. Fixes: f0bb1a5a390f ("mk/compile.mk: separate rule to produce preprocessed dts files") Link: https://github.com/OP-TEE/optee_os/issues/7015 Signed-off-by: Gatien Chevallier Reviewed-by: Jerome Forissier --- mk/compile.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/compile.mk b/mk/compile.mk index f57f3fd4fdd..e8d9026b2db 100644 --- a/mk/compile.mk +++ b/mk/compile.mk @@ -272,7 +272,7 @@ cleanfiles := $$(cleanfiles) $2 \ dtb-cppflags-$2 := -Icore/include/ -x assembler-with-cpp -Ulinux -Uunix \ -E -ffreestanding $$(CPPFLAGS) \ - -MD -MF $$(dtb-predep-$2) -MT $2 + -MD -MF $$(dtb-predep-$2) -MT $$(dtb-predts-$2) dtb-dtcflags-$2 := $$(DTC_FLAGS) -I dts -O dtb -Wno-unit_address_vs_reg \ -d $$(dtb-dep-$2)