[yocto] FILESPATH Search Order Changed?

Martin Jansa martin.jansa at gmail.com
Fri Nov 15 15:17:34 PST 2013


On Fri, Nov 15, 2013 at 02:52:27PM -0800, Leo Schwab wrote:
> I'm working on transitioning from 'dylan' to the 'dora' branch for our
> Freescale-based project, and suddenly my kernel is building with the
> wrong config.  I've isolated it to a change in (what I presume is) the
> FILESPATH search order, and shows up very plainly when looking at the
> log.do_unpack file.

Yes it was changed just before dora release
http://git.openembedded.org/openembedded-core/commit/?h=dora&id=92cbf7eeea553bfa24c7081473fa8bc4ebc1f552

You're not alone fighting with it..

> 
> My defconfig is located in
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/defconfig.
> Under 'dylan', it does this, and gets picked up correctly:
> 
> ----
> DEBUG: Searching for defconfig in paths:
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/arm
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/armv7a
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/mx6
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/mx6dl
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/medianode
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/poky
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/
> /..paths../sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-imx-3.0.35/arm
> /..paths../sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-imx-3.0.35/armv7a
> /..paths../sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-imx-3.0.35/mx6
> /..paths../sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-imx-3.0.35/mx6dl
> /..paths../sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-imx-3.0.35/medianode
> /..paths../sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-imx-3.0.35/poky
> /..paths../sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-imx-3.0.35/
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/arm
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/armv7a
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/mx6
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/mx6dl
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/medianode
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/poky
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx/arm
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx/armv7a
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx/mx6
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx/mx6dl
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx/medianode
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx/poky
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx/
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/files/arm
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/files/armv7a
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/files/mx6
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/files/mx6dl
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/files/medianode
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/files/poky
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/files/
> NOTE: Unpacking
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/defconfig to
> /..paths../build/tmp/work/medianode-poky-linux-gnueabi/linux-imx/3.0.35-r39.14/
> ----
> 
> But under 'dora', it does this:
> 
> ----
> DEBUG: Searching for defconfig in paths:
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/poky
> /..paths../sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-imx-3.0.35/poky
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/poky
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx/poky
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/files/poky
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/medianode
> /..paths../sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-imx-3.0.35/medianode
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/medianode
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx/medianode
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/files/medianode
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/mx6dl
> /..paths../sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-imx-3.0.35/mx6dl
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/mx6dl
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx/mx6dl
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/files/mx6dl
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/mx6
> /..paths../sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-imx-3.0.35/mx6
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/mx6
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx/mx6
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/files/mx6
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/armv7a
> /..paths../sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-imx-3.0.35/armv7a
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/armv7a
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx/armv7a
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/files/armv7a
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/arm
> /..paths../sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-imx-3.0.35/arm
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/arm
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx/arm
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/files/arm
> /..paths../sources/meta-belis3/recipes-kernel/linux/files/
> /..paths../sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-imx-3.0.35/
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx/
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/files/
> NOTE: Unpacking
> /..paths../sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.0.35/mx6dl/defconfig
> to /..paths../build/tmp/work/medianode-poky-linux-gnueabi/linux-imx/3.0.35-r39.14/
> ----
> 
> As a consequence, it picks up a default Freescale-supplied 'defconfig'
> rather than mine.
> 
> The "obvious" solution is to move my 'defconfig' under a directory
> named 'medianode' or 'poky'.  What's less clear is what I should have
> been doing in the first place and why, so that I can avoid getting
> bitten by this kind of thing again.
> 
> Schwab
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20131116/8ca0f60b/attachment.pgp>


More information about the yocto mailing list