diff options
author | Awais Belal <awais_belal@mentor.com> | 2014-12-16 15:46:40 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-19 18:07:59 +0000 |
commit | 73388a1846c18414c8c499476257367b2b66ea96 (patch) | |
tree | c37a6983480cae3d1503bb43ef166220c749bfac /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_git.bb | |
parent | f9ea9382a755841d750490279d98af372ac5fe87 (diff) | |
download | poky-73388a1846c18414c8c499476257367b2b66ea96.tar.gz |
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)
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>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_git.bb')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_git.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_git.bb index 2f72497363..dcf5ffc3c1 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_git.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_git.bb | |||
@@ -9,8 +9,9 @@ S = "${WORKDIR}/git" | |||
9 | 9 | ||
10 | SRCREV = "06b8ac10cee85c5c304ca320997aa8f44295a66f" | 10 | SRCREV = "06b8ac10cee85c5c304ca320997aa8f44295a66f" |
11 | 11 | ||
12 | do_configure() { | 12 | do_configure_prepend() { |
13 | cd ${S} | ||
13 | ./autogen.sh --noconfigure | 14 | ./autogen.sh --noconfigure |
14 | oe_runconf | 15 | cd ${B} |
15 | } | 16 | } |
16 | 17 | ||