[OE-core] [PATCH] u-boot.inc: Enable EXTERNALSRC build

Manjukumar Harthikote Matha manjukumar.harthikote-matha at xilinx.com
Tue Aug 2 20:10:23 UTC 2016


Hi Ross,
On 08/02/2016 11:39 AM, Burton, Ross wrote:
>
> On 2 August 2016 at 19:13, Manjukumar Harthikote Matha
> <manjukumar.harthikote-matha at xilinx.com
> <mailto:manjukumar.harthikote-matha at xilinx.com>> wrote:
>
>     I tried building master (poky and meta-ti) with this patch, it does
>     work, but needs change in u-boot-ti.inc (for do_install_append and
>     do_deploy_append, changing ${S} references to ${B})
>
>     Git cloned ti-u-boot and used ti-u-boot-2016.05 branch
>
>     I added these in my local.conf
>
>     INHERIT += "externalsrc"
>     EXTERNALSRC_pn-u-boot-ti-staging = "/<path>/ti-u-boot"
>
>
> I was able to replicate my build failure using MACHINE=beaglebone (from
> meta-yocto-bsp, but it has no u-boot bbappend) and no externalsrc.  Did
> you test that combination?

With the patch in place, I removed meta-ti from bblayers.conf
Just using meta-yocto-bsp, meta-poky, meta-yocto and meta

Test Case 1:

Ran MACHINE=beaglbone bitbake u-boot (and then core-image-minimal) and 
it built it for me.
u-boot-beaglebone-v2016.03+gitAUTOINC+df61a74e68-r0.img

Test Case 2:
rm tmp, cache and did a cleansstate
Enabled EXTERNALSRC and built u-boot using MACHINE=beaglebone bitbake u-boot
u-boot-beaglebone-v2016.03+git999-r0.img

Thanks
Manju




More information about the Openembedded-core mailing list