blob: 45a01eb7b20a7ce964dcfbc46bf6aaf47da7a0e0 (
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 = "r4+svnr${SRCPV}"
COMPATIBLE_MACHINE = "omapl138"
SRC_URI = "svn://gforge.ti.com/svn/pru_sw/;module=trunk;proto=https;user=anonymous;pswd=''"
SRCREV = "24"
S = "${WORKDIR}/trunk"
do_compile () {
make -C ${S}/example_apps \
CC="${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" \
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/*"
|