diff options
| author | Drew Moseley <drew_moseley@mentor.com> | 2014-07-09 19:17:34 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-16 10:20:51 +0100 |
| commit | cd843b3207ea6d7deddc80299144b692866572c4 (patch) | |
| tree | 70fdba76cbffbb94f2a8f4851da7f7233f931f0a /meta | |
| parent | 7023edcb1dd43b7171e1dff40f2916bfe2b21e58 (diff) | |
| download | poky-cd843b3207ea6d7deddc80299144b692866572c4.tar.gz | |
gstreamer1.0-omx: Use variables for CORE_NAME processing.
Use the "libdir" and "sysconfdir" variables rather than
hard-coding "/usr/lib" and "/etc".
(From OE-Core rev: 1ae73bb41436bf7e97d83052fbe1541074b4a4ac)
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')
| -rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc | 4 |
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" | |||
| 13 | PR = "r1" | 13 | PR = "r1" |
| 14 | 14 | ||
| 15 | GSTREAMER_1_0_OMX_TARGET ?= "bellagio" | 15 | GSTREAMER_1_0_OMX_TARGET ?= "bellagio" |
| 16 | GSTREAMER_1_0_OMX_CORE_NAME ?= "/usr/lib/libomxil-bellagio.so.0" | 16 | GSTREAMER_1_0_OMX_CORE_NAME ?= "${libdir}/libomxil-bellagio.so.0" |
| 17 | 17 | ||
| 18 | EXTRA_OECONF += "--disable-valgrind --with-omx-target=${GSTREAMER_1_0_OMX_TARGET}" | 18 | EXTRA_OECONF += "--disable-valgrind --with-omx-target=${GSTREAMER_1_0_OMX_TARGET}" |
| 19 | 19 | ||
| @@ -31,7 +31,7 @@ python __anonymous () { | |||
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | set_omx_core_name() { | 33 | set_omx_core_name() { |
| 34 | sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" "${D}/etc/xdg/gstomx.conf" | 34 | sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" "${D}${sysconfdir}/xdg/gstomx.conf" |
| 35 | } | 35 | } |
| 36 | do_install[postfuncs] += " set_omx_core_name " | 36 | do_install[postfuncs] += " set_omx_core_name " |
| 37 | 37 | ||
