]> git.sur5r.net Git - u-boot/commit
kbuild: turn of dtc unit address warnings by default
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 27 Feb 2017 06:24:45 +0000 (15:24 +0900)
committerTom Rini <trini@konsulko.com>
Thu, 9 Mar 2017 16:31:39 +0000 (11:31 -0500)
commit4b83f0d98a17aef896a9d772275bd09a4dfab07c
treed365fdf320c50f30d8b8222e93dadcdadca5df02
parent0574f786d3c85ab1a9fe9ee8ade65e3ae83e18a4
kbuild: turn of dtc unit address warnings by default

DTC 1.4.2 or later checks DT unit-address without reg property and
vice-versa, and generates lots of warnings.  Fixing DT files will
take for a while.  Until then, let's turn off the check unless
building with W=*.

Introduce a new helper dtc-option to check if the option is supported
in order to suppress warnings on older versions.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Makefile
scripts/Kbuild.include
scripts/Makefile.extrawarn