[oe] [meta-oe][PATCH 1/2] mplayer2: use B = "${S}"

Gary Thomas gary at mlbassoc.com
Fri Dec 5 11:44:55 UTC 2014


On 2014-12-05 04:40, Awais Belal wrote:
> The mplayer2 package does not support out of tree builds
> and the do_configure step also tries to find the configure
> script in the same build directory while the script lies in
> the src directory.
> This patch updates the builddir to point to the srcdir in
> order to cope with the above issues.
>
> Signed-off-by: Drew Moseley <drew_moseley at mentor.com>
> Signed-off-by: Awais Belal <awais_belal at mentor.com>
> ---
>   meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb |    1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
> index 65fab1f..4656057 100644
> --- a/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
> +++ b/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb
> @@ -29,6 +29,7 @@ PR = "r13"
>   PARALLEL_MAKE = ""
>
>   S = "${WORKDIR}/git"
> +B = "${S}"
>
>   FILES_${PN} = "${bindir}/mplayer ${libdir} /usr/etc/mplayer/"
>   CONFFILES_${PN} += "/usr/etc/mplayer/input.conf \
>

It would probably be better to just inherit autoconf-brokensep
which does the same thing but documents the reason for the change.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the Openembedded-devel mailing list