git: fix build with with no threads
[buildroot-gz.git] / package / directfb / Config.in
blob6a3d71868fe5569daca322fa4ea01c9089b48ada
1 config BR2_PACKAGE_DIRECTFB
2         bool "directfb"
3         depends on !BR2_STATIC_LIBS # static link issues
4         depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
5         depends on BR2_INSTALL_LIBSTDCPP
6         depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_5
7         depends on !BR2_TOOLCHAIN_USES_MUSL # sigval_t issue
8         depends on BR2_TOOLCHAIN_HAS_SYNC_4
9         select BR2_PACKAGE_FREETYPE
10         select BR2_PACKAGE_ZLIB
11         help
12           DirectFB (Direct Frame Buffer) is a set of graphics APIs implemented
13           on top of the Linux Frame Buffer (fbdev) abstraction layer. It is an
14           alternative to X11 with a smaller memory footprint that still has an
15           integrated windowing system. As of 4 October 2015, DirectFB's website
16           http://www.directfb.org/ is down. See alternative site listed below.
18           http://elinux.org/DirectFB
20 if BR2_PACKAGE_DIRECTFB
22 config BR2_PACKAGE_DIRECTFB_MULTI
23         bool "directfb multi application"
24         select BR2_PACKAGE_LINUX_FUSION
25         depends on BR2_USE_MMU # madvise()
26         depends on BR2_LINUX_KERNEL
27         help
28           Enable use of multiple concurrent DirectFB applications
30 comment "directfb multi application needs a Linux kernel to be built"
31         depends on !BR2_LINUX_KERNEL
33 config BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT
34         bool "directfb debugging support"
35         default y
36         help
37           Compile DirectFB with debugging support. It provides
38           functions to print debug information, for DirectFB as well as
39           external DirectFB drivers.
41           When disabled, DirectFB does not print any debug information.
42           The drivers will be installed to and loaded from
43           /usr/lib/directfb-<version>-pure instead of
44           /usr/lib/directfb-<version>.
46 config BR2_PACKAGE_DIRECTFB_DEBUG
47         bool "directfb debugging"
48         depends on BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT
49         help
50           Compile DirectFB with lots of debug output
52 config BR2_PACKAGE_DIRECTFB_TRACE
53         bool "directfb call trace support"
54         help
55           Enable call tracing for DirectFB applications
57 config BR2_PACKAGE_DIRECTFB_DIVINE
58         bool "divine"
59         help
60           Enable the DiVine feature (virtual input)
62 config BR2_PACKAGE_DIRECTFB_SAWMAN
63         bool "sawman"
64         help
65           Enable the SawMan feature (window manager)
67 config BR2_PACKAGE_DIRECTFB_ATI128
68         bool "compile ati128 graphics driver"
69         depends on BR2_i386 || BR2_x86_64
71 config BR2_PACKAGE_DIRECTFB_MATROX
72         bool "compile matrox graphics driver"
73         depends on BR2_i386 || BR2_x86_64
75 config BR2_PACKAGE_DIRECTFB_PXA3XX
76         bool "compile pxa3xx graphics driver"
77         depends on BR2_arm
78         help
79           The Marvell PXA3xx Processor Family is a system-on-chip based
80           on XScaleĀ® microarchitecture. This option enables the graphic
81           driver support for the PXA3xx processor family.
83           http://www.marvell.com/application-processors/pxa-family/
85 config BR2_PACKAGE_DIRECTFB_EP9X
86         bool "compile ep9x graphics driver"
87         depends on BR2_arm
88         help
89           Enable the graphic driver support for the EP93xx ARMv9 based
90           processors from Cirrus Logic.
92           http://cirrus.com/en/products/arm9.html
94 config BR2_PACKAGE_DIRECTFB_I830
95         bool "compile i830 graphics driver"
96         depends on BR2_i386 || BR2_x86_64
98 config BR2_PACKAGE_DIRECTFB_LINUXINPUT
99         bool "compile /dev/input/eventX input driver"
100         default y
102 config BR2_PACKAGE_DIRECTFB_KEYBOARD
103         bool "compile keyboard input driver"
104         default y
106 config BR2_PACKAGE_DIRECTFB_PS2MOUSE
107         bool "compile PS2 mouse input driver"
108         default y
110 config BR2_PACKAGE_DIRECTFB_SERIALMOUSE
111         bool "compile serial mouse input driver"
112         default y
114 config BR2_PACKAGE_DIRECTFB_TSLIB
115         bool "enable touchscreen support"
116         depends on !BR2_STATIC_LIBS # tslib
117         default y
118         select BR2_PACKAGE_TSLIB
120 comment "touchscreen support needs a toolchain w/ dynamic library"
121         depends on BR2_STATIC_LIBS
123 config BR2_PACKAGE_DIRECTFB_GIF
124         bool "enable GIF support"
125         default y
127 config BR2_PACKAGE_DIRECTFB_TIFF
128         bool "enable TIFF support"
129         select BR2_PACKAGE_TIFF
131 config BR2_PACKAGE_DIRECTFB_IMLIB2
132         bool "enable IMLIB2 support"
133         select BR2_PACKAGE_IMLIB2
134         depends on !BR2_STATIC_LIBS
136 comment "imlib2 support needs a toolchain w/ dynamic library"
137         depends on BR2_STATIC_LIBS
139 config BR2_PACKAGE_DIRECTFB_JPEG
140         bool "enable JPEG support"
141         default y
142         select BR2_PACKAGE_JPEG
144 config BR2_PACKAGE_DIRECTFB_PNG
145         bool "enable PNG support"
146         default y
147         select BR2_PACKAGE_LIBPNG
149 config BR2_PACKAGE_DIRECTFB_SVG
150         bool "enable SVG support"
151         default y
152         select BR2_PACKAGE_LIBSVG_CAIRO
154 config BR2_PACKAGE_DIRECTFB_DITHER_RGB16
155         bool "enable advanced dithering of RGB16 surfaces"
156         help
157           Enable dithering when loading images to RGB16 surfaces.
158           This increases the data section by 64 KBytes.
160 config BR2_PACKAGE_DIRECTFB_TESTS
161         bool "build directfb tests"
163 endif # BR2_PACKAGE_DIRECTFB
165 comment "directfb needs a glibc or uClibc toolchain w/ C++, NPTL, gcc >= 4.5, dynamic library"
166         depends on BR2_TOOLCHAIN_HAS_SYNC_4
167         depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_INSTALL_LIBSTDCPP || \
168                 !BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 || BR2_TOOLCHAIN_USES_MUSL || \
169                 BR2_STATIC_LIBS