1c4bee09d1b0d5aafc8686592503445a3fcff4a7
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-ti33x-psp_3.0+3.1rc.bb
1 SECTION = "kernel"
2 DESCRIPTION = "Linux kernel for TI33x EVM from PSP, based on am335x-kernel"
3 LICENSE = "GPLv2"
4 KERNEL_IMAGETYPE = "uImage"
6 require multi-kernel.inc
8 S = "${WORKDIR}/git"
10 MULTI_CONFIG_BASE_SUFFIX = ""
12 BRANCH = "master"
13 SRCREV = "c7fc664a6a36a4721b43dc287e410a2453f0b782"
14 MACHINE_KERNEL_PR_append = "j+gitr${SRCREV}"
16 COMPATIBLE_MACHINE = "(ti33x)"
18 THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
19 CONFIGS_PSP = "${@base_set_filespath(["${THISDIR}/${PN}-${PV}/tipspkernel"], d)}:\
20 ${@base_set_filespath(["${THISDIR}/${PN}/tipspkernel"], d)}:\
21 ${@base_set_filespath(["${THISDIR}/files/tipspkernel"], d)}:"
22 FILESPATH =. "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "${CONFIGS_PSP}", "", d)}"
24 SRC_URI += "git://arago-project.org/git/projects/linux-am33x.git;protocol=git;branch=${BRANCH} \
25         file://defconfig"
27 PATCHES_OVER_PSP = " \
28         file://0001-f_rndis-HACK-around-undefined-variables.patch \
29         file://0001-am335x-Add-pin-mux-and-init-for-beaglebone-specific-.patch \
30         "
32 SRC_URI += "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "", "${PATCHES_OVER_PSP}", d)}"