From: Frank Rowand Date: Wed, 26 Apr 2017 00:09:53 +0000 (-0700) Subject: of: per-file dtc compiler flags X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=331f741679564720a49ccf355012e1a8a45686ec;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git of: per-file dtc compiler flags The dtc compiler version that adds initial support was available in 4.11-rc1. Add the ability to set an additional dtc compiler flag is needed by overlays. Signed-off-by: Frank Rowand Acked-by: Masahiro Yamada Signed-off-by: Rob Herring --- diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 8066b6185d1e..01c77403a803 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -293,6 +293,8 @@ DTC_FLAGS += -Wnode_name_chars_strict \ -Wproperty_name_chars_strict endif +DTC_FLAGS += $(DTC_FLAGS_$(basetarget)) + # Generate an assembly file to wrap the output of the device tree compiler quiet_cmd_dt_S_dtb= DTB $@ cmd_dt_S_dtb= \