mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
directfb: allow to enable debug and trace support
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>
This commit is contained in:
parent
5e64f5057b
commit
dfc4deffd4
@ -11,7 +11,18 @@ config BR2_PACKAGE_DIRECTFB_MULTI
|
|||||||
select BR2_PACKAGE_LINUX_FUSION
|
select BR2_PACKAGE_LINUX_FUSION
|
||||||
help
|
help
|
||||||
Enable use of multiple concurrent DirectFB applications
|
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
|
config BR2_PACKAGE_DIRECTFB_XSERVER
|
||||||
bool "build with X server backend"
|
bool "build with X server backend"
|
||||||
|
@ -19,6 +19,19 @@ else
|
|||||||
DIRECTFB_MULTI:=
|
DIRECTFB_MULTI:=
|
||||||
DIRECTFB_FUSION:=
|
DIRECTFB_FUSION:=
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_XSERVER),y)
|
||||||
DIRECTFB_X:=--enable-x11
|
DIRECTFB_X:=--enable-x11
|
||||||
else
|
else
|
||||||
@ -111,6 +124,8 @@ DIRECTFB_CONF_OPT = \
|
|||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-explicit-deps \
|
--disable-explicit-deps \
|
||||||
$(DIRECTFB_MULTI) \
|
$(DIRECTFB_MULTI) \
|
||||||
|
$(DIRECTFB_DEBUG) \
|
||||||
|
$(DIRECTFB_TRACE) \
|
||||||
$(DIRECTFB_X) \
|
$(DIRECTFB_X) \
|
||||||
$(DIRECTFB_JPEG) \
|
$(DIRECTFB_JPEG) \
|
||||||
$(DIRECTFB_PNG) \
|
$(DIRECTFB_PNG) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user