summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/am33x-cm3/am33x-cm3_git.bb
blob: 51ec9bdd9be275b8baac81ae97f1b073d2568c58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"

PV = "1.8.7"
PR = "r0"
PE = "1"

SRCREV = "fb0117edd5810a8d3bd9b1cd8abe34e12ff2d0ba"
BRANCH ?= "next"

SRC_URI = "git://git.ti.com/ti-cm3-pm-firmware/amx3-cm3.git;protocol=git;branch=${BRANCH}"

S = "${WORKDIR}/git"

do_compile() {
	make CROSS_COMPILE="${TARGET_PREFIX}"
}

do_install() {
	install -d ${D}${base_libdir}/firmware
	install -m 0644 bin/am335x-pm-firmware.elf ${D}${base_libdir}/firmware/
}

FILES_${PN} += "${base_libdir}/firmware"