diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-06-19 08:06:29 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-06-19 08:06:31 +0200 |
commit | 9ba8edeb3e43ad6548bdaea4d26923b5397b092d (patch) | |
tree | a95ba6b37b1f9b1ff05caf8fda54fe8803efe68c /scripts/Makefile.lib | |
parent | 5384fb2ae1bcfbb3659f24ae7636d7b44cb7c3c5 (diff) | |
download | barebox-9ba8edeb3e43ad6548bdaea4d26923b5397b092d.tar.gz barebox-9ba8edeb3e43ad6548bdaea4d26923b5397b092d.tar.xz |
dtc: Disable some warnings
Disable the dtc warnings that are disabled in the kernel aswell.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r-- | scripts/Makefile.lib | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 3024b068ee..3b13086050 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -254,6 +254,12 @@ cmd_xzmisc = (cat $(filter-out FORCE,$^) | \ # DTC # --------------------------------------------------------------------------- +DTC_FLAGS += -Wno-unit_address_vs_reg \ + -Wno-unit_address_format \ + -Wno-avoid_unnecessary_addr_size \ + -Wno-alias_paths \ + -Wno-pci_device_reg + # Generate an assembly file to wrap the output of the device tree compiler quiet_cmd_dt_S_dtb = DTB $@ cmd_dt_S_dtb = $(srctree)/scripts/gen-dtb-s $(subst -,_,$(*F)) $< $(CONFIG_IMD) > $@ |