Skip to content

Commit 4b7f9f0

Browse files
pelwellpopcornmix
authored andcommitted
kbuild: Silence unavoidable dtc overlay warnings
Much effort has been put into finding ways to avoid warnings from dtc about overlays, usually to do with the presence of #address-cells and size-cells, but not exclusively so. Since the issues being warned about are harmless, suppress the warnings to declutter the build output and to avoid alarming users. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
1 parent 4341966 commit 4b7f9f0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎scripts/Makefile.lib‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,12 @@ cmd_dtco = mkdir -p $(dir ${dtc-tmp}) ; \
379379
$(DTC) -@ -H epapr -O dtb -o $@ -b 0 \
380380
-i $(dir $<) $(DTC_FLAGS) \
381381
-Wno-interrupts_property \
382+
-Wno-label_is_string \
383+
-Wno-reg_format \
384+
-Wno-pci_device_bus_num \
385+
-Wno-i2c_bus_reg \
386+
-Wno-spi_bus_reg \
387+
-Wno-avoid_default_addr_size \
382388
-d $(depfile).dtc.tmp $(dtc-tmp) ; \
383389
cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
384390

0 commit comments

Comments
 (0)