]> git.baikalelectronics.ru Git - uboot.git/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)
commitdd59749ccced4a85f423a79a87fee01451b7557f
treed365fdf320c50f30d8b8222e93dadcdadca5df02
parent91d9ceab457d469426cfb7f200e324ad9d52fab1
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