[oe-commits] Koen Kooi : gstreamer-ti: add skeleton for TI gstreamer plugins

GIT User account git at amethyst.openembedded.net
Tue Jan 6 08:36:38 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 299f1c2aba77996286e8d1030726b3acb5ce2bfc
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=299f1c2aba77996286e8d1030726b3acb5ce2bfc

Author: Koen Kooi <koen at openembedded.org>
Date:   Sat Jan  3 19:51:06 2009 +0100

gstreamer-ti: add skeleton for TI gstreamer plugins

---

 packages/dsplink/codec-engine_2.21.bb |    8 --------
 packages/dsplink/gstreamer-ti_svn.bb  |   19 +++++++++++++++++++
 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 a3a3d71..88f2eb7 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 0000000..d943a0c
--- /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 f345728..eb214ec 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"





More information about the Openembedded-commits mailing list