<commit_before>inherit kernel siteinfo
require recipes-kernel/linux/linux-yocto.inc

DESCRIPTION = "Mainline Linux Kernel" 
LICENSE = "GPLv2" 
SECTION = "kernel"
COMPATIBLE_MACHINE = "iotrpi"

LINUX_VERSION ?= "4.2.3"
LINUX_VERSION_EXTENSION_append = "-iotrpi"
 
SRC_URI = "https://www.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.gz;name=mainline \
           file://defconfig \
"

#PATCH FILES
SRC_URI +="file://9001-Start-GPIO-numeration-at-zero.patch \
           file://9000-Smsc95xx_allow_mac_to_be_set.patch \
"

SRC_URI[mainline.md5sum] = "2cccc90b4bd0eec438cb55696dfcaf65"
SRC_URI[mainline.sha256sum] = "3d6cc528582298a63237f5384723b64983378034b0c6ec848bcdbf814039b45b"

# Set source dir
S = "${WORKDIR}/linux-${PV}"


<commit_msg>moved imagetype to kernel<commit_after>inherit kernel siteinfo
require recipes-kernel/linux/linux-yocto.inc

DESCRIPTION = "Mainline Linux Kernel" 
LICENSE = "GPLv2" 
SECTION = "kernel"
COMPATIBLE_MACHINE = "iotrpi"

KERNEL_IMAGETYPE = "zImage"
LINUX_VERSION ?= "4.2.3"
LINUX_VERSION_EXTENSION_append = "-iotrpi"
 
SRC_URI = "https://www.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.gz;name=mainline \
           file://defconfig \
"

#PATCH FILES
SRC_URI +="file://9001-Start-GPIO-numeration-at-zero.patch \
           file://9000-Smsc95xx_allow_mac_to_be_set.patch \
"

SRC_URI[mainline.md5sum] = "2cccc90b4bd0eec438cb55696dfcaf65"
SRC_URI[mainline.sha256sum] = "3d6cc528582298a63237f5384723b64983378034b0c6ec848bcdbf814039b45b"

# Set source dir
S = "${WORKDIR}/linux-${PV}"



{'fraction_non_alphanumeric': 0.1354712041884817, 'fraction_numerical': 0.10602094240837696, 'mean_word_length': 4.769811320754717, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '812907', 'n_tokens_mistral': 729, 'n_tokens_neox': 644, 'n_words': 77}