# Copyright (C) 2016-2022 Digi International Inc. FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" # Without libgcc, swupdate generates an error signal when terminating RDEPENDS:${PN} += "libgcc" SRC_URI += " \ file://0001-Makefile-change-Makefile-to-build-swupdate-library-s.patch \ file://0002-config-add-on-the-fly-build-configuration-variable.patch \ " do_configure:append() { # If Trustfence is enabled, enable the signing support in the # '.config' file. if [ "${TRUSTFENCE_SIGN}" = "1" ]; then echo "CONFIG_SIGNED_IMAGES=y" >> ${B}/.config fi # add U-Booot handler to use uboot: type echo "CONFIG_BOOTLOADERHANDLER=y" >> ${B}/.config cml1_do_configure } do_install:append() { # Copy the 'progress' binary. install -d ${D}${bindir}/ install -m 0755 tools/swupdate-progress ${D}${bindir}/progress }