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