Re: SRCREV spec not working for kernel git recipes


Elvis Dowson
 

Hi Khem,

On Jun 23, 2012, at 7:17 PM, Khem Raj wrote:

BTW, I do not have a PROVIDES += "virtual/kernel" entry in the
linux-xilinx kernel recipes. Is that necessary to get SRCREV to
work?

hmm I see
SRCREV = "AUTOINC" in faulty case which is your problem comes from
meta-xilinx layer it sets SRCEREV in
conf/distro/include/xilinx-default-revisions.inc

SRCREV_pn-u-boot-xilinx ?= "${AUTOREV}"
SRCREV_pn-linux-xilinx ?= "${AUTOREV}"

that setting up SRCREV to be top of tree and its using pn-${PN} override
so whatever you set without override will be overwritten by this the
reson why SRCREV_pn-${PN} worked is because this is a weak assignment so
when you defined yours that one took precedence.

What do you recommend I do? 

Best regards,

Elvis Dowson

Join yocto@lists.yoctoproject.org to automatically receive all group messages.