summaryrefslogtreecommitdiff
path: root/recipes/dvsdk/ti-codec-combo-dm6446-sdk_2.05.bb
blob: f02d49a048b7334da18a1abc7de54939c4099339 (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
DESCRIPTION = "DM6446 Codec Combo 2.05"
inherit sdk

# Should be replaced with real http URL, but for now create codec combo tar from DVSDK installation.
SRC_URI	= "ftp://install.source.dir.com/dm6446_dvsdk_combos_2_05.tar.gz"

S = "${WORKDIR}/dm6446_dvsdk_combos_2_05"

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

# DM6446 combo has Makefile. We don't want to rebuild anything here.
do_compile() {
	echo "do nothing"
}

do_install() {
    install -d ${D}/${prefix}/dvsdk/dm6446_dvsdk_combos_2_05
    cp -pPrf ${S}/* ${D}/${prefix}/dvsdk/dm6446_dvsdk_combos_2_05

    # Creates rules.make file
	  mkdir -p ${STAGING_DIR_HOST}/ti-sdk-rules
	  echo "# Where the codec servers are installed." > ${STAGING_DIR_HOST}/ti-sdk-rules/codec.Rules.make
    echo "CODEC_INSTALL_DIR=${prefix}/dvsdk/dm6446_dvsdk_combos_2_05" >> ${STAGING_DIR_HOST}/ti-sdk-rules/codec.Rules.make
}

INHIBIT_PACKAGE_STRIP = "1"
INSANE_SKIP_${PN} = True
FILES_${PN} = "${prefix}/dvsdk/dm6446_dvsdk_combos_2_05/*"