summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex_git.bb
blob: 82d47e55d87ac75899d205338e2f77df48b6581b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
inherit kernel
require recipes-kernel/linux/linux.inc

LINUX_VERSION ?= "3.1.10"

SRCREV_colibri-t20 = "fa2371bff9ac03581881849d8f95678ef3992719"
PR_colibri-t20 = "V2.0"
SRCREV_colibri-t30 = "fa2371bff9ac03581881849d8f95678ef3992719"
PR_colibri-t30 = "V2.0a2"
SRCREV_apalis-t30 = "fa2371bff9ac03581881849d8f95678ef3992719"
PR_apalis-t30 = "V2.0a0"
SRCREV_colibri-pxa = "fa2371bff9ac03581881849d8f95678ef3992719"
PR_colibri-pxa = "V2.0a0"

PV = "${LINUX_VERSION}+gitr${SRCREV}"
S = "${WORKDIR}/git"
SRC_URI = "git://git.toradex.com/linux-toradex.git;protocol=git;branch=colibri"

COMPATIBLE_MACHINE_colibri-t20 = "colibri-t20"
COMPATIBLE_MACHINE_colibri-t30 = "colibri-t30"
COMPATIBLE_MACHINE_apalis-t30 = "apalis-t30"
COMPATIBLE_MACHINE_colibri-pxa = "colibri-pxa"

do_configure_prepend () {
    #use the defconfig provided in the kernel source tree
    #assume its called ${MACHINE}_defconfig, but with '_' instead of '-'
    DEFCONFIG=`echo ${MACHINE} | sed -e 's/\-/\_/g' -e 's/$/_defconfig/'`
    oe_runmake $DEFCONFIG
}