# the include files on top define do_compile for the submodules
do_compile_append() {
cd ${S}/examples
- # export some more variable to point to external TI tools
- # information is duplicated between the js and make based tools
- export CE_INSTALL_DIR=${S}
- export XDC_INSTALL_DIR=${TIXDCTOOLSDIR}
- export BIOS_INSTALL_DIR=${TITOOLSDIR}/${TIBIOSDIR}
- # needed for configuro:
- export CGTOOLS_V5T="${CROSS_DIR}"
- export CC_V5T="bin/${TARGET_PREFIX}gcc"
# Fix paths to arm crosstools, c6x codegen and x86 gcc
# Also disable uclibc and x86 builds
--- /dev/null
+DEPENDS = "gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly libid3tag liboil libmad"
+
+SRC_URI = "svn://omapzoom.org/svn/gstreamer_ti/trunk;module=gstreamer_ti;proto=https"
+SRCREV = "43"
+
+# Again, no '.' in PWD allowed :(
+PV = "0+svnr${SRCREV}"
+
+S = "${WORKDIR}/gstreamer_ti/ti_build/ticodecplugin"
+
+inherit autotools
+
+require ti-paths.inc
+
+CPPFLAGS_append = " -DPlatform_${PLATFORM}"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+
# Path under TITOOLSDIR where the dsp toolchain is unpacked
TICGTOOLSDIR ?= "cg6x_6_0_16"
+# export some more variable to point to external TI tools
+# information is duplicated between the js and make based tools
+export CE_INSTALL_DIR=${S}
+export XDC_INSTALL_DIR=${TIXDCTOOLSDIR}
+export BIOS_INSTALL_DIR=${TITOOLSDIR}/${TIBIOSDIR}
+# needed for configuro:
+export CGTOOLS_V5T="${CROSS_DIR}"
+export CC_V5T="bin/${TARGET_PREFIX}gcc"
+
DSPLINKPLATFORM ?= "DAVINCI"
DSPLINKPLATFORM_omap5912osk = "OMAP"
DSPLINKPLATFORM_beagleboard = "OMAP3530"
DSPLINKPLATFORM_davinci-sffsdr = "DAVINCI"
DSPLINKPLATFORM_davinci-dvevm = "DAVINCI"
+PLATFORM ?= "dm6446"
+PLATFORM_omap5912osk = "OMAP"
+PLATFORM_beagleboard = "omap3530"
+PLATFORM_omap3evm = "omap3530"
+PLATFORM_davinci-sffsdr = "dm6446"
+PLATFORM_davinci-dvevm = "dm6446"
+
DSPLINKDSP ?= "C64XX"
DSPLINKSOC ?= "DM6446"
export DSPLINKSOC
export DSPCFG
export GPPOS
+export PLATFORM
DSPPOWERSOC ?= "dm6446"
DSPPOWERSOC_beagleboard = "omap3530"