<commit_before>SECTION = "kernel"
DESCRIPTION = "Linux kernel for TI33x EVM from PSP, based on am335x-kernel"
LICENSE = "GPLv2"
KERNEL_IMAGETYPE = "uImage"

require multi-kernel.inc

S = "${WORKDIR}/git"

MULTI_CONFIG_BASE_SUFFIX = ""

BRANCH = "v3.2-staging"
SRCREV = "21ef5e1fa530eb8f23bfe18650e3915d7c291ca9"
MACHINE_KERNEL_PR_append = "e+gitr${SRCREV}"

COMPATIBLE_MACHINE = "(ti33x)"

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-am33x.git;protocol=http;branch=${BRANCH} \
	file://defconfig"

PATCHES_OVER_PSP = " \
	file://0002-f_rndis-HACK-around-undefined-variables.patch \
	file://0003-da8xx-fb-add-DVI-support-for-beaglebone.patch \
	file://0004-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch \
	file://0005-more-beaglebone-merges.patch \
	file://0006-beaglebone-disable-tsadc.patch \
	file://0007-tscadc-Add-general-purpose-mode-untested-with-touchs.patch \
	file://0008-tscadc-Add-board-file-mfd-support-fix-warning.patch \
	file://0009-AM335X-init-tsc-bone-style-for-new-boards.patch \
	file://0010-tscadc-make-stepconfig-channel-configurable.patch \
	file://0011-tscadc-Trigger-through-sysfs.patch \
	file://0012-meta-ti-Remove-debug-messages-for-meta-ti.patch \
	file://0013-tscadc-switch-to-polling-instead-of-interrupts.patch \
	file://0014-beaglebone-fix-ADC-init.patch \
	file://0015-AM335x-MUX-add-ehrpwm1A.patch \
	file://0016-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch \<commit_msg>linux-ti33x-psp 3.2: fix ehrPWM polarity inversion<commit_after>SECTION = "kernel"
DESCRIPTION = "Linux kernel for TI33x EVM from PSP, based on am335x-kernel"
LICENSE = "GPLv2"
KERNEL_IMAGETYPE = "uImage"

require multi-kernel.inc

S = "${WORKDIR}/git"

MULTI_CONFIG_BASE_SUFFIX = ""

BRANCH = "v3.2-staging"
SRCREV = "09e9651bcf2ee8d86685f2a8075bc6557b1d3b91"
MACHINE_KERNEL_PR_append = "f+gitr${SRCREV}"

COMPATIBLE_MACHINE = "(ti33x)"

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-am33x.git;protocol=http;branch=${BRANCH} \
	file://defconfig"

PATCHES_OVER_PSP = " \
	file://0002-f_rndis-HACK-around-undefined-variables.patch \
	file://0003-da8xx-fb-add-DVI-support-for-beaglebone.patch \
	file://0004-beaglebone-rebase-everything-onto-3.2-WARNING-MEGAPA.patch \
	file://0005-more-beaglebone-merges.patch \
	file://0006-beaglebone-disable-tsadc.patch \
	file://0007-tscadc-Add-general-purpose-mode-untested-with-touchs.patch \
	file://0008-tscadc-Add-board-file-mfd-support-fix-warning.patch \
	file://0009-AM335X-init-tsc-bone-style-for-new-boards.patch \
	file://0010-tscadc-make-stepconfig-channel-configurable.patch \
	file://0011-tscadc-Trigger-through-sysfs.patch \
	file://0012-meta-ti-Remove-debug-messages-for-meta-ti.patch \
	file://0013-tscadc-switch-to-polling-instead-of-interrupts.patch \
	file://0014-beaglebone-fix-ADC-init.patch \
	file://0015-AM335x-MUX-add-ehrpwm1A.patch \
	file://0016-beaglebone-enable-PWM-for-lcd-backlight-backlight-is.patch \
{'fraction_non_alphanumeric': 0.19436079934300574, 'fraction_numerical': 0.059676977826444016, 'mean_word_length': 4.884057971014493, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2356519', 'n_tokens_mistral': 1669, 'n_tokens_neox': 1501, 'n_words': 135}