All of lore.kernel.org
 help / color / mirror / Atom feed
* SRCREV spec not working for kernel git recipes
@ 2012-06-23  4:41 Elvis Dowson
  2012-06-23  6:16 ` Elvis Dowson
  0 siblings, 1 reply; 8+ messages in thread
From: Elvis Dowson @ 2012-06-23  4:41 UTC (permalink / raw)
  To: Yocto Discussion Mailing List

[-- Attachment #1: Type: text/plain, Size: 1501 bytes --]

Hi,
      I find that specifying a SRCREV doesn't work for kernel git recipes. The following recipe has SRCREV set to the commit id for xilinx_v2.6.37, but during the build process, it is always taking the latest commit id from the master branch, which is at 3.3.0. 

I checked the tmp/work/virtex5-poky-linux/linux-xilinx-2.6.37+git1+ed63a4d76efadcb68f5776e4244766ffea226cc4-r17/git/Makefile

and it clearly is building linux kernel 3.3.0 instead of 2.6.37

contents of Makefile:

VERSION = 3
PATCHLEVEL = 3
SUBLEVEL = 0
EXTRAVERSION = -14.2-build1
NAME = Saber-toothed Squirrel

recipe linux-xilinx_git.bb

inherit kernel xilinx-kernel xilinx-utils
require recipes-kernel/linux/linux-dtb.inc

DESCRIPTION = "Linux kernel for Xilinx platforms"
COMPATIBLE_MACHINE = "(virtex4|virtex5|virtex5mb|spartan6-sp605|spartan6-lx9mb)"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

KBRANCH = "master"

SRCREV = "a5556fb251253ccb674bd22d9703c37f6f8807a8"

SRC_URI = "git://git.xilinx.com/linux-xlnx.git;protocol=git;branch=${KBRANCH} \
           file://defconfig"

LINUX_VERSION ?= "2.6.37"

PR = "r17"
PV = "${LINUX_VERSION}+git${SRCPV}"

XILINX_BOARD ?= "${@find_board(bb.data.getVar('XILINX_BSP_PATH', d, 1), d)}"
KERNEL_DEVICETREE = "${@device_tree(bb.data.getVar('TARGET_ARCH', d, 1), d)}"
KERNEL_DEVICETREE_microblazeel = "${@device_tree(bb.data.getVar('TARGET_CPU', d, 1), d)}"

S = "${WORKDIR}/git"

Elvis Dowson

[-- Attachment #2: Type: text/html, Size: 4240 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-06-23 18:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-23  4:41 SRCREV spec not working for kernel git recipes Elvis Dowson
2012-06-23  6:16 ` Elvis Dowson
2012-06-23  7:29   ` Khem Raj
2012-06-23  7:57     ` Elvis Dowson
2012-06-23  8:14       ` Elvis Dowson
2012-06-23 15:17       ` Khem Raj
2012-06-23 16:04         ` Elvis Dowson
2012-06-23 18:26           ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.