summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/ti/am33x-cm3_git.bb
blob: 247ba4d8d91f2af0669f724a27e7f7f8aaf174e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"