diff options
Diffstat (limited to 'meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb')
| -rw-r--r-- | meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb b/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb new file mode 100644 index 00000000..bd5c3693 --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | DESCRIPTION = "Cortex-M3 binary blob for suspend-resume" | ||
| 2 | |||
| 3 | LICENSE = "TI-TSPA" | ||
| 4 | LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8" | ||
| 5 | |||
| 6 | PV = "1.9.2" | ||
| 7 | PR = "r0" | ||
| 8 | |||
| 9 | SRCREV = "fb484c5e54f2e31cf0a338d2927a06a2870bcc2c" | ||
| 10 | BRANCH ?= "ti-v4.1.y" | ||
| 11 | |||
| 12 | SRC_URI = "git://git.ti.com/processor-firmware/ti-amx3-cm3-pm-firmware.git;protocol=git;branch=${BRANCH}" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | do_compile() { | ||
| 17 | make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${SECURITY_NOPIE_CFLAGS}" | ||
| 18 | } | ||
| 19 | |||
| 20 | do_install() { | ||
| 21 | install -d ${D}${base_libdir}/firmware | ||
| 22 | install -m 0644 bin/am335x-pm-firmware.elf ${D}${base_libdir}/firmware/ | ||
| 23 | install -m 0644 bin/*-scale-data.bin ${D}${base_libdir}/firmware/ | ||
| 24 | } | ||
| 25 | |||
| 26 | FILES:${PN} += "${base_libdir}/firmware" | ||
| 27 | |||
| 28 | COMPATIBLE_MACHINE = "(ti-soc)" | ||
| 29 | TOOLCHAIN = "gcc" | ||
