poky/meta-yocto/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
Darren Hart 602808b788 linux-libc-headers-yocto: Do not include linux-yocto
The only bit we seem to need from the linux-yocto include is the
SRCREV_FORMAT. If we define this explicitly, we can avoid including the
linux-yocto include.

This is desirable so that linux-yocto can require kernel and simplify
the PR update process of all the linux-yocto* recipes. Pulling in
kernel to the linux-libc-headers-yocto recipes causes build failures by
pulling in "update-modules-nativesdk".

(From meta-yocto rev: be73421c4c8f5ae119aa8c030cca2442087d5c22)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Bruce Ashfield <bruce.ashfield@windriver.com>
CC: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-29 13:31:02 +01:00

37 lines
842 B
BlitzBasic

require recipes-kernel/linux-libc-headers/linux-libc-headers.inc
B = "${S}"
PROVIDES = "linux-libc-headers"
RPROVIDES_${PN}-dev = "linux-libc-headers-dev"
RPROVIDES_${PN}-dbg = "linux-libc-headers-dbg"
KBRANCH = "standard/base"
SRCREV = "a1cdb60720c452c3965eaec3ec2cd10f06261cc5"
PV = "3.4+git-${SRCPV}"
PR = "r6"
SRCREV_FORMAT ?= "meta_machine"
SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4.git;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
# force this to empty to prevent installation failures, we aren't
# building a device tree as part of kern headers
KERNEL_DEVICETREE = ""
inherit kernel-arch
# The following tasks are not required when we just want
# headers. So we override and stub them out.
do_kernel_configme() {
}
do_patch () {
}
do_kernel_configcheck () {
}
BBCLASSEXTEND = "nativesdk"