Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932953AbbELOdi (ORCPT ); Tue, 12 May 2015 10:33:38 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:33305 "EHLO mail-wg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932790AbbELOdf convert rfc822-to-8bit (ORCPT ); Tue, 12 May 2015 10:33:35 -0400 Subject: Re: [PATCH/RFC] kbuild: Create a rule for building device tree overlay objects Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: text/plain; charset=utf-8 From: Pantelis Antoniou In-Reply-To: <1431431816-24612-1-git-send-email-geert+renesas@glider.be> Date: Tue, 12 May 2015 17:33:29 +0300 Cc: linux-kbuild@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: References: <1431431816-24612-1-git-send-email-geert+renesas@glider.be> To: Geert Uytterhoeven X-Mailer: Apple Mail (2.2098) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1501 Lines: 51 Hi Geert, > On May 12, 2015, at 14:56 , Geert Uytterhoeven wrote: > > This allows to handle device tree overlays like plain device trees. > > Signed-off-by: Geert Uytterhoeven > --- > Questions: > - Do we want dtso files under arch//boot/dts/, too? > - Do we want to move the dts files outside the kernel repository > first? > Oh that’s a nice hornet’s nest you’ve kicked here. arch//boot/dts should not be the place, cause overlays are not related with boot per se. As they are right now are board (family) specific. I think we should try to keep an external kernel repo with them for now until we figure out where to put them. > scripts/Makefile.lib | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib > index 79e86613712f2230..4b14eef1d4b2ce8f 100644 > --- a/scripts/Makefile.lib > +++ b/scripts/Makefile.lib > @@ -292,6 +292,9 @@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ > $(obj)/%.dtb: $(src)/%.dts FORCE > $(call if_changed_dep,dtc) > > +$(obj)/%.dtbo: $(src)/%.dtso FORCE > + $(call if_changed_dep,dtc) > + > dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp) > > # Bzip2 > -- > 1.9.1 Regards — Pantelis -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/