]> code.ossystems Code Review - openembedded-core.git/commitdiff
gstreamer1.0-* fix configure for out of tree build on git recipes
authorAwais Belal <awais_belal@mentor.com>
Tue, 16 Dec 2014 15:46:40 +0000 (15:46 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Dec 2014 10:17:46 +0000 (10:17 +0000)
The autogen.sh script lies in the srcdir ($S) and is required to be run on git
based checkouts of gstreamer packages in order to generate initial
makefiles. So, we fix this by cd'ing to the specific dir, run the required
script and then come back to our initial dir which is builddir ($B).
Additionally rather than overriding the whole do_configure step we only _prepend
to make it clear what we are doing here.

(From OE-Core rev: f4a26b72377380e60d1e7058ba40aaf49b6316e5)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_git.bb
meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_git.bb
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_git.bb
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_git.bb
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_git.bb
meta/recipes-multimedia/gstreamer/gstreamer1.0_git.bb

index 5ce28ccbe7d2f8b4e1a3c31c734eade32f202c43..b0e6b2ecb8346bda601a9ea091483019b8e3c5eb 100644 (file)
@@ -20,8 +20,9 @@ LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \
   --cc='${CC}' --as='${CC}' --ld='${CC}' --nm='${NM}' --ar='${AR}' \
   ${GSTREAMER_1_0_DEBUG}"
 
-do_configure() {
+do_configure_prepend() {
+       cd ${S}
        ./autogen.sh --noconfigure
-       oe_runconf
+       cd ${B}
 }
 
index a3902056212e7846850854e49f23706ceed222f8..931a7fcc96c7f36ff597dc1e5b32d22a07099b28 100644 (file)
@@ -13,8 +13,9 @@ S = "${WORKDIR}/git"
 
 SRCREV = "a2db76b048db278ef0aa798e106b7594264e06c0"
 
-do_configure() {
+do_configure_prepend() {
+       cd ${S}
        ./autogen.sh --noconfigure
-       oe_runconf
+       cd ${B}
 }
 
index e1a5904abf110983645c02bb6f9aa2de30977412..75859f9a899f030733743a13a423923bd430bc6b 100644 (file)
@@ -19,8 +19,9 @@ EXTRA_OECONF += " \
     -disable-openjpeg \
     "
 
-do_configure() {
+do_configure_prepend() {
+       cd ${S}
        ./autogen.sh --noconfigure
-       oe_runconf
+       cd ${B}
 }
 
index a894abe501f71ad068a843612c0e92a62085ee50..fbe3a42cd771671f7a3007c0693187a3c1fc3642 100644 (file)
@@ -11,8 +11,9 @@ S = "${WORKDIR}/git"
 
 SRCREV = "8d4cb64a4b9d84b10076bf350f80a0d6ea68ec2d"
 
-do_configure() {
+do_configure_prepend() {
+       cd ${S}
        ./autogen.sh --noconfigure
-       oe_runconf
+       cd ${B}
 }
 
index 8b11b20b1b5cdaa3c6061a0f1aba54e2a26b29ef..2c0e0efe68fb1aa0c4efab3bc4baf9b3932b43a3 100644 (file)
@@ -10,8 +10,9 @@ S = "${WORKDIR}/git"
 
 SRCREV = "fd0123800c8c1cf1468c0fa5d592ad0d0d8b4140"
 
-do_configure() {
+do_configure_prepend() {
+       cd ${S}
        ./autogen.sh --noconfigure
-       oe_runconf
+       cd ${B}
 }
 
index 2f72497363d8fc0a2ac922089582771a82c41d99..dcf5ffc3c1ac8c9b3a6b4fa73d875932fb281956 100644 (file)
@@ -9,8 +9,9 @@ S = "${WORKDIR}/git"
 
 SRCREV = "06b8ac10cee85c5c304ca320997aa8f44295a66f"
 
-do_configure() {
+do_configure_prepend() {
+       cd ${S}
        ./autogen.sh --noconfigure
-       oe_runconf
+       cd ${B}
 }
 
index 424c90a9e8ed3dfb8970f920dc41d018e0e0f444..cb00d319a748e94df7753ab523df661a0d8433eb 100644 (file)
@@ -10,8 +10,9 @@ S = "${WORKDIR}/git"
 
 SRCREV = "3b8181a8c550e74acaba4e8c55bdc649fa551dc9"
 
-do_configure() {
+do_configure_prepend() {
+       cd ${S}
        ./autogen.sh --noconfigure
-       oe_runconf
+       cd ${B}
 }