summaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2020-12-27 23:34:43 +0300
committerTom Rini <trini@konsulko.com>2021-01-16 22:49:09 +0300
commit1d55eb1544f7fcbbc8b39d6f445ba74788bf94bf (patch)
tree4bb538b3a11606a157266bfe28c9256bd6f90da1 /dts
parent83a287a613f3f50aceaf8f0131402b5093368009 (diff)
downloadu-boot-1d55eb1544f7fcbbc8b39d6f445ba74788bf94bf.tar.xz
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. Signed-off-by: Florian Klink <flokli@flokli.de>
Diffstat (limited to 'dts')
-rw-r--r--dts/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/dts/Makefile b/dts/Makefile
index 94967cf656..cb31113829 100644
--- a/dts/Makefile
+++ b/dts/Makefile
@@ -33,7 +33,7 @@ targets += dt.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; \