diff options
Diffstat (limited to 'recipes/dvsdk/gstreamer-ti_svn.bb')
-rw-r--r-- | recipes/dvsdk/gstreamer-ti_svn.bb | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/recipes/dvsdk/gstreamer-ti_svn.bb b/recipes/dvsdk/gstreamer-ti_svn.bb index 85d85e0467..6eeffd0225 100644 --- a/recipes/dvsdk/gstreamer-ti_svn.bb +++ b/recipes/dvsdk/gstreamer-ti_svn.bb @@ -10,12 +10,14 @@ SRC_URI = "svn://gforge.ti.com/svn/gstreamer_ti/trunk;module=gstreamer_ti;proto= " # Again, no '.' in PWD allowed :( -PR = "r17" +PR = "r23" PV = "svnr${SRCREV}" S = "${WORKDIR}/gstreamer_ti/ti_build/ticodecplugin" -installdir = "${prefix}/ti" +installdir = "${datadir}/ti" + +META_SDK_PATH ?= "${CROSS_DIR}" DMAI_INSTALL_DIR = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-dmai" CE_INSTALL_DIR="${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/ti-codec-engine" @@ -52,9 +54,9 @@ PLATFORM_beagleboard = "omap3530" export PLATFORM -CROSS_COMPILE = "${CROSS_DIR}/bin/${TARGET_PREFIX}" -CSTOOL_DIR = "${CROSS_DIR}" -MVTOOL_DIR = "${CROSS_DIR}" +CROSS_COMPILE=${META_SDK_PATH}/bin/${TARGET_PREFIX} +CSTOOL_DIR=${META_SDK_PATH} +MVTOOL_DIR=${META_SDK_PATH} export CROSS_COMPILE export CSTOOL_DIR export MVTOOL_DIR @@ -72,6 +74,9 @@ do_install_prepend () { # default loadmodule script is hard-coded for insmod, change to modprobe sed -i 's/insmod/modprobe/g' ${D}/${installdir}/gst/${PLATFORM}/loadmodules.sh sed -i 's/.ko//g' ${D}/${installdir}/gst/${PLATFORM}/loadmodules.sh + if [ "${PLATFORM}" = "omap3530" ]; then + echo "modprobe sdmak" >> ${D}/${installdir}/gst/${PLATFORM}/loadmodules.sh + fi chmod 0755 ${D}/${installdir}/gst -R } |