[yocto] How Does Yocto Fill In UBOOT_MACHINE?
Khem Raj
raj.khem at gmail.com
Thu Aug 15 14:03:56 PDT 2013
On Thu, Aug 15, 2013 at 11:15 AM, Leo Schwab <lschwab at sensity.com> wrote:
> meta-belis3/recipes-bsp/u-boot/u-boot-imx_2009.08.bbappend):
>
> ----
> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> SRC_URI_append_ourboard = "file://u-boot-ourboard.patch"
>
> UBOOT_MACHINE_ourboard = "mx6_ourboard_config"
>
the above would mean when MACHINE is ourboard then value for UBOOT_MACHINE
will be mx6_ourboard_config
> ----
>
> I then ran 'bitbake u-boot', and was rewarded with a u-boot image
> built for 'ourboard' -- the logs confirm it was built using the target
> mx6_ourboard_config.
>
> ...Except I never told it to build 'ourboard';
>
I doubt that. Whats your default MACHINE may be in your local.conf ?
> I haven't modified
> conf/machine/ourboard.conf yet. It should still be building
> mx6dl_sabresd_config. So UBOOT_MACHINE is magically picking up a
> different value. If I remove my .bbappend file, then it resumes using
> the target mx6dl_sabresd_config.
>
> So: What are the rules governing how UBOOT_MACHINE acquires its final
> value? What did I neglect to consider? Is my .bbappend bogus? Is
> there some magic setting buried somewhere else I need to be aware of?
> Thank you in advance for all suggestions.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130815/c4d37c61/attachment.html>
More information about the yocto
mailing list