diff --git a/recipes-bsp/ti/am33x-cm3_git.bb b/recipes-bsp/ti/am33x-cm3_git.bb new file mode 100644 index 00000000..247ba4d8 --- /dev/null +++ b/recipes-bsp/ti/am33x-cm3_git.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Cortex-M3 binary blob for suspend-resume" + +LICENSE = "TI-BSD" +LIC_FILES_CHKSUM = "file://License.txt;md5=858099c817e47ea63559fc6b67ae8d91" + +PV = "04.06.00.07" +SRCREV = "cf07b841d6e8c5e026eecb259d143f3dff412c8e" + +SRC_URI = "git://arago-project.org/git/projects/am33x-cm3.git" + +S = "${WORKDIR}/git" + +do_compile() { + make CC="${TARGET_CC}" CROSS_COMPILE="${TARGET_PREFIX}" +} + +do_install() { + install -d ${D}${base_libdir}/firmware + install -m 0644 bin/am335x-pm-firmware.bin ${D}${base_libdir}/firmware/ +} + +FILES_${PN} = "${base_libdir}/firmware" +