Skip to content

Commit d88be10

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 7528cf8 commit d88be10

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
@@ -391,6 +391,12 @@ cmd_dtco = mkdir -p $(dir ${dtc-tmp}) ; \
391391
$(DTC) -@ -H epapr -O dtb -o $@ -b 0 \
392392
-i $(dir $<) $(DTC_FLAGS) \
393393
-Wno-interrupts_property \
394+
-Wno-label_is_string \
395+
-Wno-reg_format \
396+
-Wno-pci_device_bus_num \
397+
-Wno-i2c_bus_reg \
398+
-Wno-spi_bus_reg \
399+
-Wno-avoid_default_addr_size \
394400
-d $(depfile).dtc.tmp $(dtc-tmp) ; \
395401
cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
396402

0 commit comments

Comments
 (0)