summaryrefslogtreecommitdiff
path: root/recipes/ti/ti-codec-combo-dm6446_2.05.bb
blob: 07d9dffe6b4c7c69a7a11be4f1918b9b773f059f (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
DEPENDS="ti-codec-engine ti-dsplink-module"

require ti-codec.inc
require ti-codec-combo-dm6446.inc

SRC_URI	= "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/S1SDKLNX/DVSDK_2_00/exports/dm6446_codecs_setuplinux_2_00_00_22.bin"

S = "${WORKDIR}/dvsdk_2_00_00_22/dm6446_dvsdk_combos_2_05"
BINFILE = "dm6446_codecs_setuplinux_2_00_00_22.bin"

export ${CODEGEN_INSTALL_DIR}

# Yes, the xdc stuff still breaks with a '.' in PWD
PV = "205"
PR = "r15"

do_configure () {
	find . -name *.x64P | xargs rm -rf {} 
}

do_compile() {
	make BIOS_INSTALL_DIR=${BIOS_INSTALL_DIR} \
		XDC_INSTALL_DIR=${XDC_INSTALL_DIR} \
		CE_INSTALL_DIR=${CE_INSTALL_DIR} \
		FC_INSTALL_DIR=${FC_INSTALL_DIR} \
		CMEM_INSTALL_DIR=${CMEM_INSTALL_DIR} \
		XDAIS_INSTALL_DIR=${XDAIS_INSTALL_DIR} \
		LINK_INSTALL_DIR=${LINK_INSTALL_DIR} \
		CODEGEN_INSTALL_DIR=${CODEGEN_INSTALL_DIR} \
		XDCARGS=\"eval\"
}

do_install () {
    install -d ${D}/${installdir}/codec-combo
	cd ${S}
	for file in `find . -name *.x64P`; do
		cp ${file} ${D}/${installdir}/codec-combo
	done
}