<commit_before>SUMMARY = "Advantech key_event for i.MX6 platform"
SECTION = "base"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"

SRC_URI = "https://github.com/ADVANTECH-Corp/RISC_tools_source/raw/master/${BPN}-${PV}.tar.gz"
SRC_URI[md5sum] = "9fb6954bed858e9f005d131f66d7b24f"
SRC_URI[sha256sum] = "fe6d12e98b15b2ca2b81c7a63b05cd87e2091692d6c5f435dda41badb04c542d"

S = "${WORKDIR}/key_event"

inherit autotools pkgconfig

EXTRA_OECONF = "--host arm-poky-linux-gnueabi"

# We overwrite do_configure() to avoid perform autoreconf again
do_configure() {
    oe_runconf
}


# Because /tools is a customized folder, we need to<commit_msg>get source code instead of tarball<commit_after>SUMMARY = "Advantech key_event for i.MX6 platform"
SECTION = "base"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"

SRC_URI = "git://github.com/ADVANTECH-Corp/RISC_tools_source;module=key_event_2.0;protocol=https"
SRCREV = "${AUTOREV}"

S = "${WORKDIR}/git/key_event_2.0"

inherit autotools pkgconfig

EXTRA_OECONF = "--host arm-poky-linux-gnueabi"

# We overwrite do_configure() to avoid perform autoreconf again
do_configure() {
    oe_runconf
}


# Because /tools is a customized folder, we need to
{'fraction_non_alphanumeric': 0.1236121391561806, 'fraction_numerical': 0.09104367135455219, 'mean_word_length': 5.969072164948454, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '820265', 'n_tokens_mistral': 623, 'n_tokens_neox': 545, 'n_words': 92}