blob: 55b17a80efa5c350e277abd9251429f31e3a2ec7 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
|
DESCRIPTION = "DVSDK Demo applications for TI ARM/DSP processors"
DEPENDS += "ti-dmai"
DEPENDS += "alsa-lib libpng freetype jpeg"
SRC_URI = "${BASE_SRC_URI}/dvsdk_demos_${PV}.tar.gz;name=dvsdkdemostarball"
S = "${WORKDIR}/dvsdk_demos_${PV}"
inherit module-base
require ti-multimedia-common.inc
# Should go into machine config
TARGET ?= "all"
TARGET_dm355 ?= "dm355"
TARGET_dm365 ?= "dm365"
TARGET_dm6467 ?= "dm6467"
VERBOSE = "true"
do_compile () {
cd ${S}
make -e clean
make -e ${PLATFORM}
}
do_install () {
cd ${S}
make -e ${TARGET} EXEC_DIR=${D}/${installdir}/dvsdk-demos install
}
PACKAGE_ARCH = "${MACHINE_ARCH}"
RDEPENDS_ti-dvsdk-demos_dm355 += "ti-dm355mm-module ti-cmem-module alsa-lib libpng freetype jpeg"
RDEPENDS_ti-dvsdk-demos_dm365 += "ti-dm365mm-module ti-cmem-module alsa-lib libpng freetype jpeg"
FILES_${PN} = "${installdir}/dvsdk-demos/*"
BASE_SRC_URI ?= "http://install.source.dir.local"
INHIBIT_PACKAGE_STRIP = "1"
INSANE_SKIP_${PN} = "True"
|