blob: 340a222315b25ac6fc7472232dc5d61a72a40108 (
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
43
44
45
46
47
48
49
50
|
DESCRIPTION = "Codec Engine 2.23.01 for TI ARM/DSP processors"
inherit sdk
# tconf from xdctools dislikes '.' in pwd :/
PR = "r11"
PV = "2231"
SRC_URI = "http://install.source.dir.com/codec_engine_2_23_01.tar.gz "
# Set the source directory
S = "${WORKDIR}/codec_engine_2_23_01"
do_compile () {
echo "nothing to build"
}
do_install() {
# Update cmem and sdma Rules.make to point correct location of main
# Rules.make.
sed -i -e s:Rules.make:../Rules.make:g \
${S}/cetools/packages/ti/sdo/linuxutils/cmem/Rules.make
sed -i -e s:Rules.make:../Rules.make:g \
${S}/cetools/packages/ti/sdo/linuxutils/sdma/Rules.make
install -d ${D}/${prefix}/dvsdk/codec_engine_2_23_01
cp -pPrf ${S}/* ${D}/${prefix}/dvsdk/codec_engine_2_23_01
# Creates rules.make file
mkdir -p ${STAGING_DIR_HOST}/ti-sdk-rules
echo "# Where the Codec Engine package is installed." > ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make
echo "CE_INSTALL_DIR=${prefix}/dvsdk/codec_engine_2_23_01" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make
echo "" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make
echo "# Where the XDAIS package is installed." >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make
echo "XDAIS_INSTALL_DIR=\$(CE_INSTALL_DIR)/cetools" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make
echo "" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make
echo "# Where the DSP Link package is installed." >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make
echo "LINK_INSTALL_DIR=\$(CE_INSTALL_DIR)/cetools" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make
echo "" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make
echo "# Where the CMEM (contiguous memory allocator) package is installed." >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make
echo "CMEM_INSTALL_DIR=\$(CE_INSTALL_DIR)/cetools" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make
echo "" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make
echo "# Where Framework Components product is installed." >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make
echo "FC_INSTALL_DIR=\$(CE_INSTALL_DIR)/cetools" >> ${STAGING_DIR_HOST}/ti-sdk-rules/ce.Rules.make
}
FILES_${PN} = "${prefix}/dvsdk/codec_engine_2_23_01"
INHIBIT_PACKAGE_STRIP = "1"
INSANE_SKIP_${PN} = True
|