mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-07-27 22:37:56 +00:00
234cab508a
* The latest PSP release is 03.21.00.04 * Apply WiFi, BT, pruss patches * DISTRO_FEATURES="tipspkernel" uses unpatched PSP version and defconfig Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
37 lines
1.3 KiB
BlitzBasic
37 lines
1.3 KiB
BlitzBasic
SECTION = "kernel"
|
|
DESCRIPTION = "Linux kernel for DaVinci EVM from PSP, based on linux-davinci kernel"
|
|
LICENSE = "GPLv2"
|
|
KERNEL_IMAGETYPE = "uImage"
|
|
|
|
require multi-kernel.inc
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
MULTI_CONFIG_BASE_SUFFIX = ""
|
|
|
|
BRANCH = "03.21.00.03"
|
|
SRCREV = "v2.6.37_DAVINCIPSP_03.21.00.04"
|
|
|
|
COMPATIBLE_MACHINE = "(omapl138)"
|
|
|
|
THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
|
|
CONFIGS_PSP = "${@base_set_filespath(["${THISDIR}/${PN}-${PV}/tipspkernel"], d)}:\
|
|
${@base_set_filespath(["${THISDIR}/${PN}/tipspkernel"], d)}:\
|
|
${@base_set_filespath(["${THISDIR}/files/tipspkernel"], d)}:"
|
|
FILESPATH =. "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "${CONFIGS_PSP}", "", d)}"
|
|
|
|
SRC_URI += "git://arago-project.org/git/projects/linux-davinci.git;protocol=git;branch=${BRANCH} \
|
|
file://defconfig"
|
|
|
|
PATCHES_OVER_PSP = " \
|
|
file://0001-TI-WL12xx-MMC-patches-03.21.00.04.patch \
|
|
file://0002-da850-Set-maximum-OPP-frequency-to-456MHz.patch \
|
|
file://0003-AM18xx-WL1271-Enable-BT.patch \
|
|
file://0004-PSP03.21.00.04.sdk-activate-wireless-extensions.patch \
|
|
file://0005-Davinci-da850-Add-Mistral-WL12XX-config-support-to.patch \
|
|
file://0006-Add-wlan-and-BT-config-switches.patch \
|
|
file://uio_pruss.patch \
|
|
"
|
|
|
|
SRC_URI += "${@base_contains('DISTRO_FEATURES', 'tipspkernel', "", "${PATCHES_OVER_PSP}", d)}"
|