blob: d13990a5ddcabe915ef4cd9e3c5cebb5202dc2c2 (
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
27
28
29
|
DESCRIPTION = "PRU sw example applications"
HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/"
LICENSE = "BSD"
DEPENDS += "ti-pru-sw-app-loader ti-pru-sw-edma-library"
RDEPENDS += "ti-pru-sw-edma-driver kernel-module-uio-pru"
PR = "r2+svnr${SRCPV}"
COMPATIBLE_MACHINE = "omapl138"
SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;proto=https;user=anonymous;pswd=''"
SRCREV = "21"
S = "${WORKDIR}/trunk"
do_compile () {
make -C ${S}/example_apps \
CC=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc \
BINDIR_APPLICATIONS="${S}/example_apps/bin" \
BINDIR_FW="${S}/example_apps/bin" \
UTILS_DIR="${S}/utils"
}
do_install () {
install -d ${D}/usr/share/ti/ti-pru-eg/
install -m 0755 ${S}/example_apps/bin/* ${D}/usr/share/ti/ti-pru-eg/
}
FILES_${PN} += "${datadir}/ti/ti-pru-eg/*"
FILES_${PN}-dbg += "${datadir}/ti/ti-pru-eg/.debug/*"
|