Skip to content

Commit

Permalink
mk/compile.mk: fix pre-processed device tree dependencies file target
Browse files Browse the repository at this point in the history
The pre-processed device tree dependencies file target should be
<device-tree file>.pre.dts, not <device-tree file>.dtb.

Fixes: f0bb1a5 ("mk/compile.mk: separate rule to produce preprocessed dts files")
Link: #7015
Signed-off-by: Gatien Chevallier <[email protected]>
Reviewed-by: Jerome Forissier <[email protected]>
  • Loading branch information
GseoC authored and jforissier committed Aug 29, 2024
1 parent 71ecb9f commit 4680bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mk/compile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4680bb7

Please sign in to comment.