From: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] directfb: allow to enable debug and trace support
Date: Thu, 06 Aug 2009 14:17:26 +0200 [thread overview]
Message-ID: <1249561046.16366.4.camel@couak.urd44.com> (raw)
In-Reply-To: <1249554495-26364-1-git-send-email-s.neumann@raumfeld.com>
Le jeudi 06 ao?t 2009 ? 12:28 +0200, Sven Neumann a ?crit :
> This change adds two new options, BR2_PACKAGE_DIRECTFB_DEBUG
> to enable lots of debugging output from DirectFB and
> BR2_PACKAGE_DIRECTFB_TRACE to enable support for call traces
> in case of a crash.
>
> Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
> ---
> package/directfb/Config.in | 13 ++++++++++++-
> package/directfb/directfb.mk | 15 +++++++++++++++
> 2 files changed, 27 insertions(+), 1 deletions(-)
>
> diff --git a/package/directfb/Config.in b/package/directfb/Config.in
> index 4642ee0..e616314 100644
> --- a/package/directfb/Config.in
> +++ b/package/directfb/Config.in
> @@ -11,7 +11,18 @@ config BR2_PACKAGE_DIRECTFB_MULTI
> select BR2_PACKAGE_LINUX_FUSION
> help
> Enable use of multiple concurrent DirectFB applications
> - http://www.directfb.org/
> +
> +config BR2_PACKAGE_DIRECTFB_DEBUG
> + bool "directfb debugging"
> + depends on BR2_PACKAGE_DIRECTFB
> + help
> + Compile DirectFB with lots of debug output
> +
> +config BR2_PACKAGE_DIRECTFB_TRACE
> + bool "directfb call trace support"
> + depends on BR2_PACKAGE_DIRECTFB
> + help
> + Enable call tracing for DirectFB applications
>
> config BR2_PACKAGE_DIRECTFB_XSERVER
> bool "build with X server backend"
> diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
> index 8456798..b3af0ed 100644
> --- a/package/directfb/directfb.mk
> +++ b/package/directfb/directfb.mk
> @@ -19,6 +19,19 @@ else
> DIRECTFB_MULTI:=
> DIRECTFB_FUSION:=
> endif
> +
> +ifeq ($(BR2_PACKAGE_DIRECTFB_DEBUG),y)
> +DIRECTFB_DEBUG:=--enable-debug
> +else
> +DIRECTFB_DEBUG:=
> +endif
> +
> +ifeq ($(BR2_PACKAGE_DIRECTFB_TRACE),y)
> +DIRECTFB_TRACE:=--enable-trace
> +else
> +DIRECTFB_TRACE:=
> +endif
> +
> ifeq ($(BR2_PACKAGE_XSERVER),y)
> DIRECTFB_X:=--enable-x11
> else
> @@ -114,6 +127,8 @@ DIRECTFB_CONF_OPT = \
> --enable-shared \
> --disable-explicit-deps \
> $(DIRECTFB_MULTI) \
> + $(DIRECTFB_DEBUG) \
> + $(DIRECTFB_TRACE) \
> $(DIRECTFB_X) \
> $(DIRECTFB_JPEG) \
> $(DIRECTFB_PNG) \
Also proposed in https://bugs.busybox.net/show_bug.cgi?id=471
I'm using --enable-debug and --enable-debug-support instead of
--enable-debug only. Does it make sense ?
--
Lionel Landwerlin <lionel.landwerlin@openwide.fr>
next prev parent reply other threads:[~2009-08-06 12:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-06 10:28 [Buildroot] [PATCH] directfb: allow to enable debug and trace support Sven Neumann
2009-08-06 12:17 ` Lionel Landwerlin [this message]
2009-08-06 12:41 ` Sven Neumann
2009-08-07 17:05 ` Thomas Petazzoni
2009-08-24 20:59 ` Peter Korsgaard
2009-08-25 6:30 ` 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=1249561046.16366.4.camel@couak.urd44.com \
--to=lionel.landwerlin@openwide.fr \
--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.