diff options
Diffstat (limited to 'meta/recipes-kernel/linux/linux-yocto-stable_git.bb')
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-stable_git.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-stable_git.bb b/meta/recipes-kernel/linux/linux-yocto-stable_git.bb new file mode 100644 index 0000000000..8ecd86fa9f --- /dev/null +++ b/meta/recipes-kernel/linux/linux-yocto-stable_git.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | inherit kernel | ||
2 | require linux-yocto.inc | ||
3 | |||
4 | KMACHINE_qemux86 = "common_pc/base" | ||
5 | KMACHINE_qemux86-64 = "common_pc_64" | ||
6 | KMACHINE_qemuppc = "qemu_ppc32" | ||
7 | KMACHINE_qemumips = "mti_malta32_be" | ||
8 | KMACHINE_qemuarm = "arm_versatile_926ejs" | ||
9 | KMACHINE_atom-pc = "atom-pc" | ||
10 | KMACHINE_routerstationpro = "routerstationpro" | ||
11 | KMACHINE_mpc8315e-rdb = "fsl-mpc8315e-rdb" | ||
12 | KMACHINE_beagleboard = "beagleboard" | ||
13 | |||
14 | LINUX_VERSION ?= "2.6.34" | ||
15 | LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}" | ||
16 | PR = "r0" | ||
17 | PV = "${LINUX_VERSION}+git${SRCPV}" | ||
18 | SRCREV_FORMAT = "meta_machine" | ||
19 | |||
20 | # this performs a fixup on the SRCREV for new/undefined BSPs | ||
21 | python __anonymous () { | ||
22 | import bb, re | ||
23 | |||
24 | rev = bb.data.getVar("SRCREV_machine", d, 1) | ||
25 | if rev == "standard": | ||
26 | bb.data.setVar("SRCREV_machine", "${SRCREV_meta}", d) | ||
27 | } | ||
28 | |||
29 | SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;fullclone=1;branch=${KBRANCH};name=machine \ | ||
30 | git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;noclone=1;branch=wrs_meta;name=meta" | ||
31 | |||
32 | |||
33 | # Functionality flags | ||
34 | KERNEL_REVISION_CHECKING ?= "t" | ||
35 | KERNEL_FEATURES=features/netfilter | ||
36 | |||
37 | # extra tasks | ||
38 | addtask kernel_link_vmlinux after do_compile before do_install | ||
39 | addtask validate_branches before do_patch after do_kernel_checkout | ||
40 | |||
41 | require linux-tools.inc | ||