<commit_before>require dfu-util_${PV}.bb

inherit native deploy

DEPENDS = "libusb1-native"

SRC_URI += "file://0001-Revert-Makefile.am-Drop-static-dfu-util.patch"

do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}"
do_deploy() {
    install -d ${DEPLOY_DIR_TOOLS}
    install -m 0755 src/dfu-util_static ${DEPLOY_DIR_TOOLS}/dfu-util-${PV}
    rm -f ${DEPLOY_DIR_TOOLS}/dfu-util
    ln -sf ./dfu-util-${PV} ${DEPLOY_DIR_TOOLS}/dfu-util
}
addtask deploy before do_package after do_install<commit_msg>dfu-utils-native: fix do_deploy sstate handling<commit_after>require dfu-util_${PV}.bb

inherit native deploy

DEPENDS = "libusb1-native"

SRC_URI += "file://0001-Revert-Makefile.am-Drop-static-dfu-util.patch"

do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}"
do_deploy() {
    install -m 0755 src/dfu-util_static ${DEPLOYDIR}/dfu-util-${PV}
    rm -f ${DEPLOYDIR}/dfu-util
    ln -sf ./dfu-util-${PV} ${DEPLOYDIR}/dfu-util
}
addtask deploy before do_package after do_install
{'fraction_non_alphanumeric': 0.1520408163265306, 'fraction_numerical': 0.018367346938775512, 'mean_word_length': 4.605714285714286, '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': '2887890', 'n_tokens_mistral': 439, 'n_tokens_neox': 398, 'n_words': 66}