All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Cédric Marie" <cedric.marie@openmailbox.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] directfb: add an option for debugging support
Date: Tue, 09 Jun 2015 22:45:57 +0200	[thread overview]
Message-ID: <55775085.1090107@openmailbox.org> (raw)
In-Reply-To: <1433881958-15591-1-git-send-email-cedric.marie@openmailbox.org>

Hi,

Sorry for the noise...
Please forget the first version of the patch. The second one looks 
better to me.

Thank you.

C?dric


Le 09/06/2015 22:32, C?dric Marie a ?crit :
> DirectFB debugging support is enabled by default. This new option makes
> it possible to disable it (--disable-debug-support) and build the
> library with no debug feature at all.
>
> NB: When debugging support is disabled, the target installation path is
> suffixed with -pure.
>
> Signed-off-by: C?dric Marie <cedric.marie@openmailbox.org>
> ---
>   package/directfb/Config.in   | 7 +++++++
>   package/directfb/directfb.mk | 4 ++++
>   2 files changed, 11 insertions(+)
>
> diff --git a/package/directfb/Config.in b/package/directfb/Config.in
> index 7759f8f..0015c0c 100644
> --- a/package/directfb/Config.in
> +++ b/package/directfb/Config.in
> @@ -20,8 +20,15 @@ config BR2_PACKAGE_DIRECTFB_MULTI
>   comment "directfb multi application needs a Linux kernel to be built"
>   	depends on !BR2_LINUX_KERNEL
>
> +config BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT
> +	bool "directfb debugging support"
> +	default y
> +	help
> +	  Compile DirectFB with debugging support
> +
>   config BR2_PACKAGE_DIRECTFB_DEBUG
>   	bool "directfb debugging"
> +	depends on BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT
>   	help
>   	  Compile DirectFB with lots of debug output
>
> diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
> index e3dc506..d8af56e 100644
> --- a/package/directfb/directfb.mk
> +++ b/package/directfb/directfb.mk
> @@ -39,6 +39,10 @@ DIRECTFB_CONF_OPTS += --enable-multi --enable-fusion
>   DIRECTFB_DEPENDENCIES += linux-fusion
>   endif
>
> +ifneq ($(BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT),y)
> +DIRECTFB_CONF_OPTS += --disable-debug-support
> +endif
> +
>   ifeq ($(BR2_PACKAGE_DIRECTFB_DEBUG),y)
>   DIRECTFB_CONF_OPTS += --enable-debug
>   endif
>

-- 
C?dric

  reply	other threads:[~2015-06-09 20:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-09 20:32 [Buildroot] [PATCH] directfb: add an option for debugging support Cédric Marie
2015-06-09 20:45 ` Cédric Marie [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-06-09 20:43 Cédric Marie
2015-06-10 21:45 ` Arnout Vandecappelle
2015-06-11 12:58   ` Cédric Marie
2015-06-11 20:32     ` Arnout Vandecappelle
2015-06-11 21:20       ` Cédric Marie
2015-06-11 22:24         ` Arnout Vandecappelle
2015-06-12  7:09           ` Cédric Marie
2015-06-14 20:51 Cédric Marie
2015-06-14 22:07 ` Arnout Vandecappelle
2015-06-15  6:33   ` Cédric Marie
2015-06-16 21:15     ` Arnout Vandecappelle
2015-06-15 20:02 Cédric Marie
2015-06-17 22:10 ` Arnout Vandecappelle
2015-06-21  7:38 ` Thomas Petazzoni

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=55775085.1090107@openmailbox.org \
    --to=cedric.marie@openmailbox.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.