Extend FILESEXTRAPATHS using machine-overrides to add common groupings? Ross
On 16 March 2018 at 16:45, Giordon Stark <[email protected]> wrote: > Hi, > > I would do that, but what I want to do is something like this: > > Machine1 > Machine2 > Machine3a > Machine3b > Machine4 > > I want 3a/3b to have some shared dtsi files, but these should not be > shared with machines 1, 2, 4. I'm not sure it's just a matter of placing it > under files/ because I don't want those picked up by the non-3 machines. > > G > > On Fri, Mar 16, 2018 at 11:42 AM Burton, Ross <[email protected]> > wrote: > >> On 15 March 2018 at 14:07, Giordon Stark <[email protected]> wrote: >> >>> So for my device trees, I'm finding some files are duplicated. In >>> particular some of my dtsi files are going to be the same amongst a few >>> boards we're using, so I would like to have each machine name distinct so >>> that >>> >>> FILESEXTRAPATHS_prepend := "${THISDIR}/files:" >>> >>> files/${MACHINE}/${MACHINE}.dts >>> >>> is picked up, while still having >>> >>> files/common/*.dtsi picked up as well. As an example of my SRC_URI >>> appends: >>> >>> SRC_URI_append_gfex-prototype1b = " \ >>> file://skeleton.dtsi \ >>> file://pl.dtsi \ >>> file://zynq-7000.dtsi \ >>> file://system.dts \ >>> " >>> >>> SRC_URI_append_gfex-prototype2 = " \ >>> file://skeleton.dtsi \ >>> file://pl.dtsi \ >>> file://zynq-7000.dtsi \ >>> file://system.dts \ >>> " >>> >>> I suspect I do something with OVERRIDES in the >>> conf/machine/${MACHINE}.conf file but not sure... >>> >> >> Can't you just put common files in files/file.dtsi and then the >> machine-specific ones in files/[machine]/? >> >> Ross >> > -- > Giordon Stark >
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
