linux-ti33x-psp: add TI33x PSP kernel with am335x-evm configs
[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 = "10a9c95f6713ce4f7db7088443676808ca79a851"
15 COMPATIBLE_MACHINE = "(ti33x)"
17 THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
18 CONFIGS_PSP = "${@base_set_filespath(["${THISDIR}/${PN}-${PV}/tipspkernel"], d)}:\
19 ${@base_set_filespath(["${THISDIR}/${PN}/tipspkernel"], d)}:\
20 ${@base_set_filespath(["${THISDIR}/files/tipspkernel"], d)}:"
21 FILESPATH =. "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "${CONFIGS_PSP}", "", d)}"
23 SRC_URI += "git://arago-project.org/git/projects/linux-am33x.git;protocol=git;branch=${BRANCH} \
24         file://defconfig"
26 PATCHES_OVER_PSP = " \
27         file://0001-f_rndis-HACK-around-undefined-variables.patch \
28         file://0001-am335x-evm-hack-in-LED-support-for-beaglebone.patch \
29         "
31 SRC_URI += "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "", "${PATCHES_OVER_PSP}", d)}"