summaryrefslogtreecommitdiff
path: root/recipes/ti/ti-codecs-dm355.inc
blob: 322bed2622bbefb245775497e74c7af81da9b4e2 (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
DESCRIPTION = "DM355 Codecs"
SECTION = "multimedia"

BASE_SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/codecs"
SRC_URI = "${BASE_SRC_URI}/dm355_codecs_setuplinux_${PV}.bin \
                   file://mapdmaq \
                 "

S = "${WORKDIR}/dm355_codecs_${PV}"

require ti-paths.inc

BINFILE = "dm355_codecs_setuplinux_${PV}.bin"
TI_BIN_UNPK_CMDS = "Y:Y: qY:workdir"

require ti-eula-unpack.inc

do_compile() {
        echo "Do nothing"
}

do_install () {
     # install mapdmaq on target
     install -d ${D}/${installdir}/codecs
     install -m 0755 ${WORKDIR}/mapdmaq ${D}/${installdir}/codecs
}

do_stage() {
    install -d ${CODEC_INSTALL_DIR}
    cp -pPrf ${S}/* ${CODEC_INSTALL_DIR}
}

PACKAGE_ARCH = "${MACHINE_ARCH}"

FILES_${PN} = "${installdir}/codecs/mapdmaq"

INHIBIT_PACKAGE_STRIP = "1"
INSANE_SKIP_${PN} = "True"