<commit_before>require linux.inc
require kselftests.inc

DESCRIPTION = "Generic Linux mainline kernel"

PV = "4.14+git${SRCPV}"
SRCREV_kernel = "bebc6082da0a9f5d47a1ea2edc099bf671058bd4"
SRCREV_FORMAT = "kernel"

SRC_URI = "\
    git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=https;branch=master;name=kernel \
    file://distro-overrides.config;subdir=git/kernel/configs \
    file://systemd.config;subdir=git/kernel/configs \
"

S = "${WORKDIR}/git"

COMPATIBLE_MACHINE = "hikey|dragonboard-410c|am57xx-evm|intel-core2-32|juno|stih410-b2260"
KERNEL_IMAGETYPE ?= "Image"
KERNEL_CONFIG_FRAGMENTS += "\
    ${S}/kernel/configs/distro-overrides.config \
    ${S}/kernel/configs/systemd.config \
"

# make[3]: *** [scripts/extract-cert] Error 1
DEPENDS += "openssl-native"
HOST_EXTRACFLAGS += "-I${STAGING_INCDIR_NATIVE}"

do_configure() {
    touch ${B}/.scmversion ${S}/.scmversion<commit_msg>linux-generic-mainline: update PV to 4.15<commit_after>require linux.inc
require kselftests.inc

DESCRIPTION = "Generic Linux mainline kernel"

PV = "4.15+git${SRCPV}"
SRCREV_kernel = "bebc6082da0a9f5d47a1ea2edc099bf671058bd4"
SRCREV_FORMAT = "kernel"

SRC_URI = "\
    git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=https;branch=master;name=kernel \
    file://distro-overrides.config;subdir=git/kernel/configs \
    file://systemd.config;subdir=git/kernel/configs \
"

S = "${WORKDIR}/git"

COMPATIBLE_MACHINE = "hikey|dragonboard-410c|am57xx-evm|intel-core2-32|juno|stih410-b2260"
KERNEL_IMAGETYPE ?= "Image"
KERNEL_CONFIG_FRAGMENTS += "\
    ${S}/kernel/configs/distro-overrides.config \
    ${S}/kernel/configs/systemd.config \
"

# make[3]: *** [scripts/extract-cert] Error 1
DEPENDS += "openssl-native"
HOST_EXTRACFLAGS += "-I${STAGING_INCDIR_NATIVE}"

do_configure() {
    touch ${B}/.scmversion ${S}/.scmversion
{'fraction_non_alphanumeric': 0.1607717041800643, 'fraction_numerical': 0.04555198285101822, 'mean_word_length': 5.101307189542483, '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': '4435088', 'n_tokens_mistral': 798, 'n_tokens_neox': 752, 'n_words': 83}