[OE-core] [meta-xilinx] How to create a u-boot-xilinx_git.bb recipe for virtex5 and microblaze machine architectures

Elvis Dowson elvis.dowson at gmail.com
Sun Jun 3 07:48:05 UTC 2012


Hi,
       I'm trying to make the meta-xilinx/recipes-bsp/u-boot/u-boot-xilinx_git.bb recipe work for both the virtex5 and microblaze machine architectures.

So far, I find that you can start off by simply prefixing the machine architecture for a bunch of variables like

PV_virtex5
SRC_URI_virtex5

and so on.

I have two basic questions:

01. When setting PV_virtext5, should I be using SRCPV or SRCREV? What is the difference between SRCPV and SRCREV?

PV_virtex5 = "v2012.04.01+git${SRCPV}" 

02. When setting the SRCREV, which one should I use SRCREV_${PN}_virtex5 or SRCREV_pn-${PN}_virtex5

SRCREV_${PN}_virtex5 = "415d386877df49eb051b85ef74fa59a16dc17c7d"

or 

SRCREV_pn-${PN}_virtex5 = "415d386877df49eb051b85ef74fa59a16dc17c7d"

I'm looking at meta-ti/recipes-bsp/u-boot/u-boot_git.bb, and I see inconsistent application, e.g.  SRCREV_${PN} for omap3evm, and and SRCREV_pn-${PN} for the rest like am37x-evm, etc, in that recipe. It's got me confused as to what the proper way to set SRCREV is.

Best regards,

Elvis Dowson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120603/a49abc83/attachment-0002.html>


More information about the Openembedded-core mailing list