summaryrefslogtreecommitdiff
path: root/meta/recipes-multimedia/gstreamer
diff options
context:
space:
mode:
authorDrew Moseley <drew_moseley@mentor.com>2014-07-09 19:17:34 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-16 10:19:54 +0100
commit1ae73bb41436bf7e97d83052fbe1541074b4a4ac (patch)
tree869ae78485d948894978bd689b04fa19b439e979 /meta/recipes-multimedia/gstreamer
parent16d4d496a3a3c2df289b9c8b340d26ab1d818335 (diff)
downloadopenembedded-core-1ae73bb41436bf7e97d83052fbe1541074b4a4ac.tar.gz
openembedded-core-1ae73bb41436bf7e97d83052fbe1541074b4a4ac.tar.bz2
openembedded-core-1ae73bb41436bf7e97d83052fbe1541074b4a4ac.zip
gstreamer1.0-omx: Use variables for CORE_NAME processing.
Use the "libdir" and "sysconfdir" variables rather than hard-coding "/usr/lib" and "/etc". Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc
index b76786bddb..b4238634fc 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc
@@ -13,7 +13,7 @@ acpaths = "-I ${S}/common/m4 -I ${S}/m4"
PR = "r1"
GSTREAMER_1_0_OMX_TARGET ?= "bellagio"
-GSTREAMER_1_0_OMX_CORE_NAME ?= "/usr/lib/libomxil-bellagio.so.0"
+GSTREAMER_1_0_OMX_CORE_NAME ?= "${libdir}/libomxil-bellagio.so.0"
EXTRA_OECONF += "--disable-valgrind --with-omx-target=${GSTREAMER_1_0_OMX_TARGET}"
@@ -31,7 +31,7 @@ python __anonymous () {
}
set_omx_core_name() {
- sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" "${D}/etc/xdg/gstomx.conf"
+ sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" "${D}${sysconfdir}/xdg/gstomx.conf"
}
do_install[postfuncs] += " set_omx_core_name "