Re: [PATCH/RFC] kbuild: Create a rule for building device tree overlay objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Geert,

> On May 12, 2015, at 14:56 , Geert Uytterhoeven <geert+renesas@xxxxxxxxx> wrote:
> 
> This allows to handle device tree overlays like plain device trees.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> ---
> 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 devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux