Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Option for debug support in DirectFB package
@ 2015-06-08 21:56 Cédric Marie
  2015-06-08 22:19 ` Thomas Petazzoni
  2015-06-08 22:27 ` Arnout Vandecappelle
  0 siblings, 2 replies; 6+ messages in thread
From: Cédric Marie @ 2015-06-08 21:56 UTC (permalink / raw)
  To: buildroot

Hi,

DirectFB provides two configure options for debug:
* --enable-debug (default is no)
* --enable-debug-support (default is yes)
The first one enables verbose mode in DirectFB, while the second one
only provide the functions to print debug information, that might be
used by an external DirectFB driver.

When these options are both disabled, the installation path is suffixed
with -pure (i.e. /usr/lib/directfb-x.y.z-pure instead of
/usr/lib/directfb-x.y.z).

Buildroot only gives the possibility to enable/disable the first one
(with BR2_PACKAGE_DIRECTFB_DEBUG).

Some external DirectFB driver, when compiled in release mode, would
expect debug support to be disabled, and would install in the -pure
suffixed directory.

Therefore it would be helpful:
- either to have another option for debug support (and debug option
   would depend on debug support option, in Config.in)
- or to disable debug support when debug is disabled: the two options
   would always be forced to have the same value.

I believe the first solution is better, but let me know what you
think... I can provide the patch if you agree with the suggestion.

That would also prevent DirectFB to compile some useless features
in release mode.

-- 
C?dric

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-06-09  8:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-08 21:56 [Buildroot] Option for debug support in DirectFB package Cédric Marie
2015-06-08 22:19 ` Thomas Petazzoni
2015-06-09  7:29   ` Cédric Marie
2015-06-09  8:15     ` Thomas Petazzoni
2015-06-09  8:47       ` Cédric Marie
2015-06-08 22:27 ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox