summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrijesh.singh <brijesh.singh@24075187-2e39-4e88-bbb8-bc8aa768f540>2011-01-18 17:01:15 +0000
committerbrijesh.singh <brijesh.singh@24075187-2e39-4e88-bbb8-bc8aa768f540>2011-01-18 17:01:15 +0000
commitaa1c282a911ac53854f511dff6b8adcc50c44ba2 (patch)
treec251de614207ca5ea9240945a0f41fe8692a7b5b
parenta9995fea95cde32c92637d248b00c56fb81ca000 (diff)
define C6ACCEL_PLATFORM variable
This variable will be used by Makefile.am to get c6accel static library name. The patch is in preperation for adding seperate dm3730 platform. git-svn-id: https://gstreamer.ti.com/svn/gstreamer_ti/trunk@893 24075187-2e39-4e88-bbb8-bc8aa768f540
-rw-r--r--gstreamer_ti/Makefile.common2
-rw-r--r--gstreamer_ti/ti_build/ticodecplugin/Makefile.external2
-rw-r--r--gstreamer_ti/ti_build/ticodecplugin/src/Makefile.am2
3 files changed, 5 insertions, 1 deletions
diff --git a/gstreamer_ti/Makefile.common b/gstreamer_ti/Makefile.common
index 65233a1..4d2127e 100644
--- a/gstreamer_ti/Makefile.common
+++ b/gstreamer_ti/Makefile.common
@@ -208,6 +208,7 @@ ifeq ($(GST_TI_PLATFORM), omap3530)
export LINK_XDC_ROOT = $(LINK_INSTALL_DIR)
export C6ACCEL_INSTALL_DIR
export ENABLE_C6ACCEL = true
+ export C6ACCEL_PLATFORM = $(GST_TI_PLATFORM)
export LIBTOOL_SYSROOT_PATH=$(LINUXLIBS_INSTALL_DIR)/..
endif
@@ -221,6 +222,7 @@ ifeq ($(GST_TI_PLATFORM), omapl138)
export LINK_XDC_ROOT = $(LINK_INSTALL_DIR)
export C6ACCEL_INSTALL_DIR
export ENABLE_C6ACCEL = true
+ export C6ACCEL_PLATFORM = $(GST_TI_PLATFORM)
export LIBTOOL_SYSROOT_PATH=$(LINUXLIBS_INSTALL_DIR)/..
endif
diff --git a/gstreamer_ti/ti_build/ticodecplugin/Makefile.external b/gstreamer_ti/ti_build/ticodecplugin/Makefile.external
index 366452c..18f27f1 100644
--- a/gstreamer_ti/ti_build/ticodecplugin/Makefile.external
+++ b/gstreamer_ti/ti_build/ticodecplugin/Makefile.external
@@ -89,6 +89,7 @@ ifeq ($(GST_TI_PLATFORM), omapl138)
export CROSS_COMPILE = ${CSTOOL_PREFIX}
export LINK_XDC_ROOT = $(LINK_INSTALL_DIR)
export C6ACCEL_INSTALL_DIR
+ export C6ACCEL_PLATFORM = $(GST_TI_PLATFORM)
export ENABLE_C6ACCEL ="--enable-c6accel"
endif
@@ -101,6 +102,7 @@ ifeq ($(GST_TI_PLATFORM), omap3530)
export CROSS_COMPILE = ${CSTOOL_PREFIX}
export LINK_XDC_ROOT = $(LINK_INSTALL_DIR)
export C6ACCEL_INSTALL_DIR
+ export C6ACCEL_PLATFORM = $(GST_TI_PLATFORM)
export ENABLE_C6ACCEL ="--enable-c6accel"
endif
diff --git a/gstreamer_ti/ti_build/ticodecplugin/src/Makefile.am b/gstreamer_ti/ti_build/ticodecplugin/src/Makefile.am
index e55ceb2..1ab7275 100644
--- a/gstreamer_ti/ti_build/ticodecplugin/src/Makefile.am
+++ b/gstreamer_ti/ti_build/ticodecplugin/src/Makefile.am
@@ -7,7 +7,7 @@ plugin_LTLIBRARIES = libgstticodecplugin.la
if HAVE_C6ACCEL
C6ACCEL_SRC = gsttic6xcolorspace.c
C6ACCEL_HEAD = gsttic6xcolorspace.h
-C6ACCEL_LIB = $(C6ACCEL_INSTALL_DIR)/soc/c6accelw/lib/c6accelw_$(GST_TI_PLATFORM).a470MV
+C6ACCEL_LIB = $(C6ACCEL_INSTALL_DIR)/soc/c6accelw/lib/c6accelw_$(C6ACCEL_PLATFORM).a470MV
endif