Convert a duplicate dtbs recipe into a dependency in the main Makefile.
Another recipe is already defined on line 2369, so we are getting
spurious warnings like:
Makefile:2369: warning: overriding recipe for target 'dtbs'
Makefile:1425: warning: ignoring old recipe for target 'dtbs'
The removed recipe was a no-op anyway so can be safely removed.
Signed-off-by: David Lechner <[email protected]>
---
Makefile | 1 -
1 file changed, 1 deletion(-)
diff --git a/Makefile b/Makefile
index d38fa5d6aca..7c81467cfb5 100644
--- a/Makefile
+++ b/Makefile
@@ -1422,7 +1422,6 @@ endif
PHONY += dtbs dtbs_check
dtbs: dts/dt.dtb
- @:
dts/dt.dtb: dtbs_prepare u-boot
$(Q)$(MAKE) $(build)=dts dtbs
---
base-commit: ef65b15383c99f4562539a635fe166fb4d75c0e3
change-id: 20260223-makefile-fix-duplicate-dtbs-recipe-0bd7c5280a7b
Best regards,
--
David Lechner <[email protected]>