<commit_before>inherit esw python3native

ESW_COMPONENT_SRC = "/lib/sw_services/xiltimer/src/"
ESW_COMPONENT_NAME = "libxiltimer.a"

DEPENDS += "dtc-native python3-pyyaml-native libxil device-tree"
<commit_msg>meta-xilinx-standalone: recipes-libraries: xiltimer: Add task for generating cmake meta-data<commit_after>inherit esw python3native

ESW_COMPONENT_SRC = "/lib/sw_services/xiltimer/src/"
ESW_COMPONENT_NAME = "libxiltimer.a"

DEPENDS += "dtc-native python3-dtc-native python3-pyyaml-native libxil device-tree"

do_configure_prepend() {
    # This script should also not rely on relative paths and such
    cd ${S}
    nativepython3 ${S}/scripts/lib_parser.py -d ${DTBFILE} -o ${OECMAKE_SOURCEPATH}
}

{'fraction_non_alphanumeric': 0.10875706214689265, 'fraction_numerical': 0.00847457627118644, 'mean_word_length': 5.387387387387387, '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': '6268631', 'n_tokens_mistral': 263, 'n_tokens_neox': 261, 'n_words': 53}