Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1955456AbdDZAMe (ORCPT ); Tue, 25 Apr 2017 20:12:34 -0400 Received: from mail-pg0-f65.google.com ([74.125.83.65]:35800 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1955385AbdDZAMY (ORCPT ); Tue, 25 Apr 2017 20:12:24 -0400 Subject: Re: [PATCH v2 1/2] of: support dtc compiler flags for overlays To: Masahiro Yamada References: <1493075119-32026-1-git-send-email-frowand.list@gmail.com> <1493075119-32026-2-git-send-email-frowand.list@gmail.com> Cc: Rob Herring , Stephen Boyd , Michal Marek , devicetree@vger.kernel.org, Linux Kernel Mailing List , Linux Kbuild mailing list From: Frank Rowand Message-ID: <58FFE592.2030203@gmail.com> Date: Tue, 25 Apr 2017 17:10:58 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1263 Lines: 48 On 04/25/17 15:04, Masahiro Yamada wrote: > 2017-04-25 8:05 GMT+09:00 : >> From: Frank Rowand >> >> The dtc compiler version that adds initial support was available >> in 4.11-rc1. Add the ability to set the dtc compiler flags needed >> by overlays. >> >> Signed-off-by: Frank Rowand >> --- > > > I know your motivation for 1/2 is overlay, > but this patch itself is more generic. > (support for per-file dtc compiler flag) > > Could you reword the commit subject a little bit? > > Otherwise, > > Acked-by: Masahiro Yamada Fixed in version 4. -Frank > > > >> scripts/Makefile.lib | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib >> index 0a07f9014944..0bbec480d323 100644 >> --- a/scripts/Makefile.lib >> +++ b/scripts/Makefile.lib >> @@ -283,6 +283,8 @@ ifeq ($(KBUILD_ENABLE_EXTRA_GCC_CHECKS),) >> DTC_FLAGS += -Wno-unit_address_vs_reg >> 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= \ >> -- > >