dts: Log name of expected .dtb file
PATCH 1/1 dts: Log name of expected .dtb file
Make it more obvious what .dts file was expected by the build system.
When adding support for a new board, I kept getting this error message, assuming I passed a wrong DEVICE_TREE parameter.
However, what was really the mistake was that the entry in arch/arm/dts/Makefile was missing, and u-boot didn't like not being able to find the .dtb file that should have been produced.
Simply logging the expected .dtb file name should make it easier to spot such mistakes.
--- dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
dts/Makefile +1 -1
@@ -32,7 +32,7 @@ targets += dt.dtb dt-spl.dtb $(DTB): arch-dtbs $(Q)test -e $@ || ( \ echo >&2; \ - echo >&2 "Device Tree Source is not correctly specified."; \ + echo >&2 "Device Tree Source ($@) is not correctly specified."; \ echo >&2 "Please define 'CONFIG_DEFAULT_DEVICE_TREE'"; \ echo >&2 "or build with 'DEVICE_TREE=<device_tree>' argument"; \ echo >&2; \
Signature · 1 line
2.29.2
PATCH 1/1 dts: Log name of expected .dtb file
Quoted 5 lines · Florian Klink
Make it more obvious what .dts file was expected by the build system.
When adding support for a new board, I kept getting this error message, assuming I passed a wrong
DEVICE_TREEparameter.
Quoted 8 lines
However, what was really the mistake was that the entry in
arch/arm/dts/Makefilewas missing, and u-boot didn't like not being able to find the .dtb file that should have been produced.Simply logging the expected .dtb file name should make it easier to spot such mistakes.
Signed-off-by Florian Klink <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210118/c4c4aa8b/attachment.sig>