Message ID | CAL_JsqLAxUttFPsSdwWg0Phh0HdyxT8TJcPFOFMrjmD8vLT_Ww@mail.gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index ad50d58..417d8c2 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -271,6 +271,10 @@ cmd_gzip = (cat $(filter-out FORCE,$^) | gzip -n -f -9 > $@) || \ # --------------------------------------------------------------------------- DTC ?= $(objtree)/scripts/dtc/dtc +ifeq ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),) +DTC_FLAGS += -Wno-unit_address_vs_reg +endif + # Generate an assembly file to wrap the output of the device tree compiler quiet_cmd_dt_S_dtb= DTB $@ cmd_dt_S_dtb= \