All of lore.kernel.org
 help / color / mirror / Atom feed
* conf/machine/<machine.conf> in my custom layer doesn't get parsed
@ 2018-01-15 11:18 Isaac Nickaein
  2018-01-15 12:30 ` Mittal, Anuj
  0 siblings, 1 reply; 6+ messages in thread
From: Isaac Nickaein @ 2018-01-15 11:18 UTC (permalink / raw)
  To: yocto

Hi,

I've created a custom meta layer over poky rocko and added it to
bblayer.conf. I've also set the appropriate MACHINE value in
conf/local.conf:

MACHINE = "colibri-imx6"

There is a machine specific conf file in this meta layer, but it
doesn't get parsed. This file is located at
"conf/machine/colibri-imx6.conf" inside the meta layer.

By checking the output of

bitbake -e

it seems that other machine-specific conf files like
"meta-freescale-3rdparty/conf/machine/colibri-imx6.conf" are
referenced and parsed. But there is not even a reference to my
machine-specific conf file.

Should I set some variables that hint the bitbake to parse machine
specific files in my layer?

Bests,
Isaac


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: conf/machine/<machine.conf> in my custom layer doesn't get parsed
@ 2018-01-15 12:50 Isaac Nickaein
  0 siblings, 0 replies; 6+ messages in thread
From: Isaac Nickaein @ 2018-01-15 12:50 UTC (permalink / raw)
  To: Mittal, Anuj; +Cc: yocto@yoctoproject.org

On Mon, Jan 15, 2018 at 4:00 PM, Mittal, Anuj <anuj.mittal@intel.com> wrote:
>
> Have you defined BBPATH in your layer.conf correctly?

Hi Anuj,

I guess so. Here is relevant lines in layer.conf for BBPATH:


# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"

# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
        ${LAYERDIR}/recipes-*/*/*.bbappend \
        ${LAYERDIR}/*.bb"

BBFILE_COLLECTIONS += "samim-saba"
BBFILE_PATTERN_samim-saba = "^${LAYERDIR}/"
BBFILE_PRIORITY_samim-saba = "99"


And there the layout of conf directory of my layer:

yocto@yocto-server:/opt/yocto/rocko-poky/poky/meta-samim-saba/conf$ find
.
./layer.conf
./machine
./machine/colibri-imx6.conf
yocto@yocto-server:/opt/yocto/rocko-poky/poky/meta-samim-saba/conf$


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-01-15 15:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-15 11:18 conf/machine/<machine.conf> in my custom layer doesn't get parsed Isaac Nickaein
2018-01-15 12:30 ` Mittal, Anuj
2018-01-15 13:13   ` Isaac Nickaein
2018-01-15 14:17     ` Anuj Mittal
2018-01-15 15:23       ` Isaac Nickaein
  -- strict thread matches above, loose matches on Subject: below --
2018-01-15 12:50 Isaac Nickaein

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.