summaryrefslogtreecommitdiff
path: root/recipes/ti/ti-codec-engine_2.25.00.05.bb
blob: e903df359cf5b00b45f40669d6fb98eafb39a645 (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
require ti-codec-engine.inc

PV = "2_25_00_05"

# Full-CE
#SRC_URI[cetarball.md5sum] = "729ede0fd24210d3c5439511fa859d51"
#SRC_URI[cetarball.sha256sum] = "81f815159f3dfda0525be6da543644b02c3610bcb080df170cbd27e2d8420ba2"

# Lite-CE
SRC_URI[cetarball.md5sum] = "618f027c4a471a0658ed999621ac190b"
SRC_URI[cetarball.sha256sum] = "81acdf9236f3062c26356db502837ae13addb35f03c02a847f9b0face9657b51"

do_compile_prepend() {

    # Add OMAPL138 target build configuration
    sed -i  \
        -e 's/# figure out what categories of devices we are to build for/ \
# figure out what categories of devices we are to build for \
ifneq (,$(findstring OMAPL138,$(DEVICES))) \
    DEVICES_DUALCPU := 1 \
endif/g' \
        ${S}/examples/xdcpaths.mak

}

do_install_prepend() {

    # Re-use OMAPL137 system files for OMAPL138
    ln -sf  ${S}/examples/apps/system_files/OMAPL137  ${S}/examples/apps/system_files/OMAPL138 || true
}

do_install_append() {

    # Fix-up loadmodules to use modprobe instead of insmod
    sed -i \
        -e 's/insmod/modprobe/g' \
        -e 's/.ko//g' \
        ${D}/${installdir}/codec-engine-apps/loadmodules.sh
}