[meta-xilinx] confused about linux-zynqmp-mainline_3.19.bb

Robert P. J. Day rpjday at crashcourse.ca
Wed Mar 4 11:21:25 PST 2015


 i'm poking around the meta-xilinx YP layer and am a tad confused
about a couple kernel recipes. first, there's
linux-zynqmp-mainline_3.19.bb, which opens with:

# Kernel version and SRCREV correspond to: xlnx_3.14 branch
LINUX_VERSION = "3.19"
KBRANCH ?= "master"
SRCREV ?= "bfa76d49576599a4b9f9b7a71f23d73d6dcff735"

include linux-xlnx.inc

  so my first observation is that that comment doesn't seem right
since it talks about the "xlnx_3.14" branch, but LINUX_VERSION is
clearly being set to "3.19" and KBRANCH is set to "master".

  however, immediately next, we have:

include linux-xlnx.inc

which then overrides some values, and sets SRC_URI to xilinx's github
repo:

# Sources
KBRANCH ?= "master"
FILESEXTRAPATHS_prepend := "${THISDIR}/linux-xlnx:"
SRC_URI = " \

git://github.com/Xilinx/linux-xlnx.git;protocol=https;branch=${KBRANCH} \
                file://xilinx-base;type=kmeta;destsuffix=xilinx-base \
                "

but, weirdly, once that file is included, things pick up again back in
linux-zynqmp-mainline_3.19.bb, which reassigns SRC_URI:

FILESEXTRAPATHS_prepend := "${THISDIR}/linux-zynqmp-mainline:"
SRC_URI = " \

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=https;branch=${KBRANCH} \
... snip ...

  this is just confusing ... is there a reason it's being done this
way?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the meta-xilinx mailing list