diff options
author | Koen Kooi <koen@openembedded.org> | 2009-01-03 19:51:06 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-01-03 19:51:06 +0100 |
commit | 299f1c2aba77996286e8d1030726b3acb5ce2bfc (patch) | |
tree | f27f79a048166ce974662f1e6147bbf4e217fdc3 /packages | |
parent | ca51dc17893f5cccacb165bd4c81b1b42cd33cce (diff) |
gstreamer-ti: add skeleton for TI gstreamer plugins
Diffstat (limited to 'packages')
-rw-r--r-- | packages/dsplink/codec-engine_2.21.bb | 8 | ||||
-rw-r--r-- | packages/dsplink/gstreamer-ti_svn.bb | 19 | ||||
-rw-r--r-- | packages/dsplink/ti-paths.inc | 17 |
3 files changed, 36 insertions, 8 deletions
diff --git a/packages/dsplink/codec-engine_2.21.bb b/packages/dsplink/codec-engine_2.21.bb index a3a3d71c10..88f2eb7620 100644 --- a/packages/dsplink/codec-engine_2.21.bb +++ b/packages/dsplink/codec-engine_2.21.bb @@ -34,14 +34,6 @@ PARALLEL_MAKE = "" # 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 diff --git a/packages/dsplink/gstreamer-ti_svn.bb b/packages/dsplink/gstreamer-ti_svn.bb new file mode 100644 index 0000000000..d943a0c30a --- /dev/null +++ b/packages/dsplink/gstreamer-ti_svn.bb @@ -0,0 +1,19 @@ +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}" + + diff --git a/packages/dsplink/ti-paths.inc b/packages/dsplink/ti-paths.inc index f3457287d6..eb214ec74d 100644 --- a/packages/dsplink/ti-paths.inc +++ b/packages/dsplink/ti-paths.inc @@ -11,6 +11,15 @@ TIXDCTOOLSDIR ?= "${TITOOLSDIR}/xdctools_3_10_03" # 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" @@ -18,6 +27,13 @@ DSPLINKPLATFORM_omap3evm = "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" @@ -37,6 +53,7 @@ export DSPLINKDSP export DSPLINKSOC export DSPCFG export GPPOS +export PLATFORM DSPPOWERSOC ?= "dm6446" DSPPOWERSOC_beagleboard = "omap3530" |