From: Pantelis Antoniou <pantelis.antoniou@gmail.com> To: Geert Uytterhoeven <geert+renesas@glider.be> Cc: linux-kbuild@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH/RFC] kbuild: Create a rule for building device tree overlay objects Date: Tue, 12 May 2015 17:33:29 +0300 [thread overview] Message-ID: <D4386733-8722-478F-8BB6-FB86597D9E37@gmail.com> (raw) In-Reply-To: <1431431816-24612-1-git-send-email-geert+renesas@glider.be> Hi Geert, > On May 12, 2015, at 14:56 , Geert Uytterhoeven <geert+renesas@glider.be> wrote: > > This allows to handle device tree overlays like plain device trees. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > Questions: > - Do we want dtso files under arch/<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/<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
WARNING: multiple messages have this Message-ID (diff)
From: Pantelis Antoniou <pantelis.antoniou@gmail.com> To: Geert Uytterhoeven <geert+renesas@glider.be> Cc: linux-kbuild@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH/RFC] kbuild: Create a rule for building device tree overlay objects Date: Tue, 12 May 2015 17:33:29 +0300 [thread overview] Message-ID: <D4386733-8722-478F-8BB6-FB86597D9E37@gmail.com> (raw) In-Reply-To: <1431431816-24612-1-git-send-email-geert+renesas@glider.be> Hi Geert, > On May 12, 2015, at 14:56 , Geert Uytterhoeven <geert+renesas@glider.be> wrote: > > This allows to handle device tree overlays like plain device trees. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > Questions: > - Do we want dtso files under arch/<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/<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-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-05-12 14:33 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-05-12 11:56 [PATCH/RFC] kbuild: Create a rule for building device tree overlay objects Geert Uytterhoeven 2015-05-12 14:33 ` Pantelis Antoniou [this message] 2015-05-12 14:33 ` Pantelis Antoniou 2015-05-16 0:47 ` Frank Rowand 2015-05-16 0:47 ` Frank Rowand 2015-05-16 2:16 ` Frank Rowand 2015-05-16 2:16 ` Frank Rowand 2015-05-18 14:13 ` Pantelis Antoniou
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=D4386733-8722-478F-8BB6-FB86597D9E37@gmail.com \ --to=pantelis.antoniou@gmail.com \ --cc=devicetree@vger.kernel.org \ --cc=geert+renesas@glider.be \ --cc=linux-kbuild@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.