DESCRIPTION = "Cortex-M3 binary blob for suspend-resume" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8" PV = "1.9.0" PR = "r0" PE = "1" SRCREV = "d85e6a17da1025adac9ab7f97dd7aa2a58c517ce" BRANCH ?= "ti-v3.14.y" SRC_URI = "git://git.ti.com/ti-cm3-pm-firmware/amx3-cm3.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}" do_compile() { make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}" } do_install() { install -d ${D}${base_libdir}/firmware install -m 0644 bin/am335x-pm-firmware.elf ${D}${base_libdir}/firmware/ install -m 0644 bin/*-scale-data.bin ${D}${base_libdir}/firmware/ } FILES_${PN} += "${base_libdir}/firmware"