gstreamer1.0-* fix configure for out of tree build on git recipes

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)

(From OE-Core rev: dbb6cb42a9113038e437cf417f0b9cb25a285e9f)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Awais Belal 2014-12-16 15:46:40 +00:00 committed by Richard Purdie
parent 112c10ac64
commit 6ede9224f8
7 changed files with 21 additions and 14 deletions

View 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}
}

View File

@ -13,8 +13,9 @@ S = "${WORKDIR}/git"
SRCREV = "a2db76b048db278ef0aa798e106b7594264e06c0"
do_configure() {
do_configure_prepend() {
cd ${S}
./autogen.sh --noconfigure
oe_runconf
cd ${B}
}

View File

@ -19,8 +19,9 @@ EXTRA_OECONF += " \
-disable-openjpeg \
"
do_configure() {
do_configure_prepend() {
cd ${S}
./autogen.sh --noconfigure
oe_runconf
cd ${B}
}

View File

@ -11,8 +11,9 @@ S = "${WORKDIR}/git"
SRCREV = "8d4cb64a4b9d84b10076bf350f80a0d6ea68ec2d"
do_configure() {
do_configure_prepend() {
cd ${S}
./autogen.sh --noconfigure
oe_runconf
cd ${B}
}

View File

@ -10,8 +10,9 @@ S = "${WORKDIR}/git"
SRCREV = "fd0123800c8c1cf1468c0fa5d592ad0d0d8b4140"
do_configure() {
do_configure_prepend() {
cd ${S}
./autogen.sh --noconfigure
oe_runconf
cd ${B}
}

View File

@ -9,8 +9,9 @@ S = "${WORKDIR}/git"
SRCREV = "06b8ac10cee85c5c304ca320997aa8f44295a66f"
do_configure() {
do_configure_prepend() {
cd ${S}
./autogen.sh --noconfigure
oe_runconf
cd ${B}
}

View File

@ -10,8 +10,9 @@ S = "${WORKDIR}/git"
SRCREV = "3b8181a8c550e74acaba4e8c55bdc649fa551dc9"
do_configure() {
do_configure_prepend() {
cd ${S}
./autogen.sh --noconfigure
oe_runconf
cd ${B}
}