Skip to content

Commit f4590cf

Browse files
committed
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 6af8ae3 commit f4590cf

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
@@ -348,6 +348,12 @@ cmd_dtco = mkdir -p $(dir ${dtc-tmp}) ; \
348348
$(DTC) -@ -H epapr -O dtb -o $@ -b 0 \
349349
-i $(dir $<) $(DTC_FLAGS) \
350350
-Wno-interrupts_property \
351+
-Wno-label_is_string \
352+
-Wno-reg_format \
353+
-Wno-pci_device_bus_num \
354+
-Wno-i2c_bus_reg \
355+
-Wno-spi_bus_reg \
356+
-Wno-avoid_default_addr_size \
351357
-d $(depfile).dtc.tmp $(dtc-tmp) ; \
352358
cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
353359

0 commit comments

Comments
 (0)