]> Git Repo - J-u-boot.git/commit
kbuild: turn of dtc unit address warnings by default
authorMasahiro Yamada <[email protected]>
Mon, 27 Feb 2017 06:24:45 +0000 (15:24 +0900)
committerTom Rini <[email protected]>
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Tested-by: Bin Meng <[email protected]>
Makefile
scripts/Kbuild.include
scripts/Makefile.extrawarn
This page took 0.034118 seconds and 4 git commands to generate.