diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-02-24 18:15:23 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:33:03 +0000 |
commit | 935d88ac482e96421b48a0ba960e9691053ed002 (patch) | |
tree | 26303885aa691f8b489841aa609911702aa125f2 | |
parent | 3a8ff19e2c085c5e6c5410097dc3f7618aa63af3 (diff) | |
download | poky-935d88ac482e96421b48a0ba960e9691053ed002.tar.gz |
gstreamer1.0-libav: move LIBAV_EXTRA_CONFIGURE_COMMON_ARG into .inc
The LIBAV_EXTRA_CONFIGURE_COMMON_ARG definition is now common to both
the git and the versioned gstreamer1.0-libav recipes, so move it into
gstreamer1.0-libav.inc
(From OE-Core rev: f1426ad80035cebbaf9b78e879b8fad6b3eafaaa)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
3 files changed, 7 insertions, 12 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc index c90af66c3f..598a349e02 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc | |||
@@ -22,6 +22,13 @@ PACKAGECONFIG[yasm] = "--enable-yasm,--disable-yasm,yasm-native" | |||
22 | GSTREAMER_1_0_DEBUG ?= "--disable-debug" | 22 | GSTREAMER_1_0_DEBUG ?= "--disable-debug" |
23 | 23 | ||
24 | LIBAV_EXTRA_CONFIGURE = "--with-libav-extra-configure" | 24 | LIBAV_EXTRA_CONFIGURE = "--with-libav-extra-configure" |
25 | |||
26 | LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \ | ||
27 | --cc='${CC}' --as='${CC}' --ld='${CC}' --nm='${NM}' --ar='${AR}' \ | ||
28 | --ranlib='${RANLIB}' \ | ||
29 | ${GSTREAMER_1_0_DEBUG} \ | ||
30 | --cross-prefix='${HOST_PREFIX}'" | ||
31 | |||
25 | LIBAV_EXTRA_CONFIGURE_COMMON = \ | 32 | LIBAV_EXTRA_CONFIGURE_COMMON = \ |
26 | '${LIBAV_EXTRA_CONFIGURE}="${LIBAV_EXTRA_CONFIGURE_COMMON_ARG}"' | 33 | '${LIBAV_EXTRA_CONFIGURE}="${LIBAV_EXTRA_CONFIGURE_COMMON_ARG}"' |
27 | 34 | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.6.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.6.3.bb index ba7ac7f3a7..687230a8f4 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.6.3.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.6.3.bb | |||
@@ -18,9 +18,3 @@ SRC_URI[md5sum] = "cfe9a06913d4fd4067e9e47f6e05fac2" | |||
18 | SRC_URI[sha256sum] = "857b9c060a0337de38c6d26238c47352433c02eabf26c2f860c854dbc35bd4ab" | 18 | SRC_URI[sha256sum] = "857b9c060a0337de38c6d26238c47352433c02eabf26c2f860c854dbc35bd4ab" |
19 | 19 | ||
20 | S = "${WORKDIR}/gst-libav-${PV}" | 20 | S = "${WORKDIR}/gst-libav-${PV}" |
21 | |||
22 | LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \ | ||
23 | --cc='${CC}' --as='${CC}' --ld='${CC}' --nm='${NM}' --ar='${AR}' \ | ||
24 | --ranlib='${RANLIB}' \ | ||
25 | ${GSTREAMER_1_0_DEBUG} \ | ||
26 | --cross-prefix='${HOST_PREFIX}'" | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb index 428d40123d..ebc8a5ef2e 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb | |||
@@ -33,12 +33,6 @@ SRCREV_FORMAT = "base" | |||
33 | 33 | ||
34 | S = "${WORKDIR}/git" | 34 | S = "${WORKDIR}/git" |
35 | 35 | ||
36 | LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \ | ||
37 | --cc='${CC}' --as='${CC}' --ld='${CC}' --nm='${NM}' --ar='${AR}' \ | ||
38 | --ranlib='${RANLIB}' \ | ||
39 | ${GSTREAMER_1_0_DEBUG} \ | ||
40 | --cross-prefix='${HOST_PREFIX}'" | ||
41 | |||
42 | do_configure_prepend() { | 36 | do_configure_prepend() { |
43 | ${S}/autogen.sh --noconfigure | 37 | ${S}/autogen.sh --noconfigure |
44 | } | 38 | } |