Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/3] mplayer: not available on bfin
Date: Wed, 19 Feb 2014 11:09:55 +0100	[thread overview]
Message-ID: <20140219110955.41b0c690@skate> (raw)
In-Reply-To: <1392803602-5566-2-git-send-email-fabio.porcedda@gmail.com>

Dear Fabio Porcedda,

On Wed, 19 Feb 2014 10:53:20 +0100, Fabio Porcedda wrote:
> Fixes:
> http://autobuild.buildroot.net/results/109/109b7c9b575c7362c4982a908a1e3695e7590ebd/
> 
> Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
> ---
>  package/libplayer/Config.in | 3 ++-
>  package/mplayer/Config.in   | 4 ++--
>  2 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/package/libplayer/Config.in b/package/libplayer/Config.in
> index 113f650..84dad1d 100644
> --- a/package/libplayer/Config.in
> +++ b/package/libplayer/Config.in
> @@ -13,7 +13,8 @@ if BR2_PACKAGE_LIBPLAYER
>  config BR2_PACKAGE_LIBPLAYER_MPLAYER
>  	bool "mplayer backend"
>  	# mplayer
> -	depends on !BR2_sh4a && !BR2_sh4aeb && !BR2_microblaze && !BR2_aarch64
> +	depends on !(BR2_bfin || BR2_sh4a || BR2_sh4aeb || BR2_microblaze || \
> +		   BR2_aarch64)
>  	# mplayer
>  	depends on BR2_LARGEFILE
>  	# mplayer
> diff --git a/package/mplayer/Config.in b/package/mplayer/Config.in
> index ae273e4..f2b3620 100644
> --- a/package/mplayer/Config.in
> +++ b/package/mplayer/Config.in
> @@ -1,7 +1,7 @@
>  config BR2_PACKAGE_MPLAYER
>  	bool "mplayer"
>  	# Those architectures are not supported by MPlayer
> -	depends on !(BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
> +	depends on !(BR2_bfin || BR2_sh2a || BR2_sh4a || BR2_sh4aeb \
>  			|| BR2_microblaze || BR2_aarch64 || BR2_nios2)

I believe it's time to switch to a different logic. What about:

config BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS
	bool
	depends on <list of supported architectures>

and then use "depends on BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS" / "depends
on !BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS" all over the place instead of
duplicating the list of architectures everywhere.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-02-19 10:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-19  9:53 [Buildroot] [PATCH 0/3] mplayer autobuild fixes Fabio Porcedda
2014-02-19  9:53 ` [Buildroot] [PATCH 1/3] mplayer: not available on bfin Fabio Porcedda
2014-02-19 10:09   ` Thomas Petazzoni [this message]
2014-02-19 14:55     ` Peter Korsgaard
2014-02-19 14:53   ` Peter Korsgaard
2014-02-19  9:53 ` [Buildroot] [PATCH 2/3] mplayer: remove sh2 support Fabio Porcedda
2014-02-19 14:54   ` Peter Korsgaard
2014-02-19  9:53 ` [Buildroot] [PATCH 3/3] mplayer: add missing reverse dependencies for bfin and sh2a Fabio Porcedda
2014-02-19 14:54   ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140219110955.41b0c690@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox