]> git.karo-electronics.de Git - karo-tx-redboot.git/blob - packages/services/gfx/mw/v2_0/src/Configs/config.helio
Initial revision
[karo-tx-redboot.git] / packages / services / gfx / mw / v2_0 / src / Configs / config.helio
1 ####################################################################
2 # Microwindows and Nano-X configuration file
3 #
4 # This package can be configured to run on Linux (MIPS, ARM, POWERPC or x86)
5 # UNIX, ELKS, DJGPP, or RTEMS.
6 # On Linux, we've got drivers for Linux 2.x framebuffers, X11, or,
7 # svgalib for VGA hardware.
8 # In addition, a gpm or direct serial mouse driver can be configured.
9 # On ELKS, the bios screen driver and serial mouse driver are always used.
10 #
11 # Either Microwindows and/or Nano-X can be built.
12 # Microwindows and Nano-X have several demos.
13 #
14 # For MSDOS makes, see mcmwin.mak and mcnanox.mak
15 ####################################################################
16
17 ####################################################################
18 #
19 # build target platform
20 #
21 # Valid ARCH values are:
22 #
23 # LINUX-NATIVE
24 # LINUX-ARM
25 # LINUX-MIPS
26 # LINUX-POWERPC
27 # SOLARIS
28 # RTEMS
29 # DJGPP
30 # ELKS
31 #
32 # note: ELKS can't build client/server nano-X, nor widget lib
33 #
34 ####################################################################
35 ARCH                     = LINUX-MIPS
36 ARMTOOLSPREFIX           = arm-linux-
37 MIPSTOOLSPREFIX          = mipsel-linux-
38 POWERPCTOOLSPREFIX       = powerpc-linux-
39 RTEMSTOOLSPREFIX         = i386-rtemself-
40
41 ####################################################################
42 #
43 # Compiling options
44 #
45 ####################################################################
46 OPTIMIZE                 = Y
47 DEBUG                    = N
48 VERBOSE                  = Y
49
50 ####################################################################
51 #
52 # Libraries to build: microwin, nano-X, nanowidget, object frameworks
53 #
54 ####################################################################
55 MICROWIN                 = N
56 NANOX                    = Y
57 SHAREDLIBS               = Y
58 NWIDGET                  = N
59 OBJFRAMEWORK             = N
60
61
62 ####################################################################
63 #
64 # Demos to build
65 #
66 ####################################################################
67 MICROWINDEMO             = Y
68 NANOXDEMO                = N
69
70 ####################################################################
71 #
72 # Applications to build
73 #
74 ####################################################################
75 NANOWM                   = N
76
77 ####################################################################
78 #
79 # The pixeltype of the native hardware or underlying graphics library.
80 # This definition defines the PIXELVAL to be 32, 16 or 8 bits wide.
81 # If using Linux framebuffer, set to MWPF_TRUECOLOR0888, and use fbset.
82 # It also enables GdArea/GrArea for this particular pixel packing format.
83 #
84 # define MWPF_PALETTE       /* pixel is packed 8 bits 1, 4 or 8 pal index*/
85 # define MWPF_TRUECOLOR0888 /* pixel is packed 32 bits 8/8/8 truecolor*/
86 # define MWPF_TRUECOLOR888  /* pixel is packed 24 bits 8/8/8 truecolor*/
87 # define MWPF_TRUECOLOR565  /* pixel is packed 16 bits 5/6/5 truecolor*/
88 # define MWPF_TRUECOLOR332  /* pixel is packed 8 bits 3/3/2 truecolor*/
89 #
90 ####################################################################
91 #SCREEN_PIXTYPE           = MWPF_TRUECOLOR0888
92 SCREEN_PIXTYPE           = MWPF_PALETTE
93
94 ####################################################################
95 #
96 # NanoX: Put Y to the following line to link the nano-X application
97 # with the server.  This is required for ELKS, if no network is present,
98 # or for speed or debugging.  This affects the nano-X server only.
99 #
100 ####################################################################
101 LINK_APP_INTO_SERVER     = N
102
103 ####################################################################
104 #
105 # File I/O support
106 # Supporting either below drags in libc stdio, which may not be wanted
107 #
108 ####################################################################
109 HAVE_FILEIO              = Y
110
111 ####################################################################
112 # BMP, GIF reading support
113 ####################################################################
114 HAVE_BMP_SUPPORT         = Y
115 HAVE_PNM_SUPPORT         = Y
116 HAVE_GIF_SUPPORT         = Y
117
118 ####################################################################
119 # JPEG support through libjpeg, see README.txt in contrib/jpeg
120 ####################################################################
121 HAVE_JPEG_SUPPORT        = Y
122 INCJPEG                  = .
123 #LIBJPEG                 = /usr/lib/libjpeg.so
124 ifeq ($(ARCH), LINUX-MIPS)
125 LIBJPEG                  = /usr/mipsel-linux/lib/libjpeg.so
126 endif
127
128 ####################################################################
129 # PNG support via libpng and libz
130 ####################################################################
131 HAVE_PNG_SUPPORT         = N
132 INCPNG                   = .
133 LIBPNG                   = /usr/lib/libpng.a
134 LIBZ                     = /usr/lib/libz.a
135
136 ####################################################################
137 # T1 adobe type1 font support thru t1lib
138 ####################################################################
139 HAVE_T1LIB_SUPPORT       = N
140 INCT1LIB                 = /usr/include
141 LIBT1LIB                 = /usr/lib/libt1.a
142
143 ####################################################################
144 # TrueType font support thru FreeType
145 ####################################################################
146 HAVE_FREETYPE_SUPPORT    = N
147 INCFTLIB                 = /usr/include
148 LIBFTLIB                 = /usr/lib/libttf.so
149
150 ####################################################################
151 # Shared memory support for Nano-X client/server protocol speedup
152 ####################################################################
153 HAVE_SHAREDMEM_SUPPORT   = N
154
155 ####################################################################
156 # Chinese Han Zi Ku font support
157 ####################################################################
158 HAVE_HZK_SUPPORT         = N
159 HZK_FONT_DIR             = "fonts/chinese"
160
161 ####################################################################
162 # Chinese BIG5 compiled in font support (big5font.c)
163 ####################################################################
164 HAVE_BIG5_SUPPORT        = N
165
166 ####################################################################
167 # Chinese GB2312 compiled in font support (gb2312font.c)
168 ####################################################################
169 HAVE_GB2312_SUPPORT      = N
170
171 ####################################################################
172 # Generate screen driver interface only with no fonts or clipping
173 ####################################################################
174 NOFONTSORCLIPPING        = N
175
176 ####################################################################
177 #
178 # Window move algorithms for Microwindows
179 # Change for tradeoff between cpu speed and looks
180 # ERASEMOVE repaints only backgrounds while window dragging, quicker.
181 # Otherwise an XOR redraw is used for window moves only after button up,
182 # quickest (should set for ELKS)
183 # UPDATEREGIONS paints in update clipping region only for better look and feel
184 #
185 ####################################################################
186 ERASEMOVE                = Y
187 UPDATEREGIONS            = Y
188
189 ####################################################################
190 #
191 # Use MS fonts (default no)
192 #
193 ####################################################################
194 HAVEMSFONTS              = N
195
196 ####################################################################
197 #
198 # Link with Gray Palette (valid only for 4bpp modes)
199 #
200 ####################################################################
201 GRAYPALETTE              = Y
202
203 ####################################################################
204 #
205 # If the platform is running UNIX, Linux or RTEMS...
206 #
207 ####################################################################
208 ifneq ($(ARCH), ELKS)
209
210 # X Window screen, mouse and kbd drivers
211 X11                      = N
212
213 ifeq ($(X11), Y)
214 # predefined model or select screen width, height, depth(palette mode only)
215 SCREEN_E15               = N
216 SCREEN_WIDTH             = 640
217 SCREEN_HEIGHT            = 480
218 SCREEN_DEPTH             = 4
219
220 else
221
222 # framebuffer screen driver (linear and/or vga 4 planes)
223 # set VTSWITCH to include virtual terminal switch code
224 # set PORTRAIT_MODE to L or R for left or right orientation
225 FRAMEBUFFER              = Y
226 FBVGA                    = N
227 VTSWITCH                 = N
228 PORTRAIT_MODE            = N
229
230 # svgalib screen driver
231 VGALIB                   = N
232
233 # direct VGA hardware access screen driver
234 HWVGA                    = N
235
236 ####################################################################
237 # Mouse or touch screen driver
238 # TPMOUSE for Linux-VR and Embedded Planet
239 # TPHELIO for VTech Helio
240 # ADSMOUSE for ADS Graphics Client
241 # IPAQMOUSE for Compaq iPAQ
242 ####################################################################
243 GPMMOUSE                 = N
244 SERMOUSE                 = N
245 TPMOUSE                  = N
246 TPHELIO                  = Y
247 ADSMOUSE                 = N
248 IPAQMOUSE                = N
249 NOMOUSE                  = N
250
251 # keyboard or null kbd driver
252 TTYKBD                   = N
253 NOKBD                    = Y
254
255 endif
256
257 ####################################################################
258 # Screen driver specific configuration
259 # SA1100_LCD_LTLEND 4bpp driver with arm SA1100 LCD controller
260 # INVERT4BPP 4bpp inverted pixel driver for VTech Helio
261 ####################################################################
262 SA1100_LCD_LTLEND        = N
263 INVERT4BPP               = Y
264
265 ####################################################################
266 #
267 # If the platform is a RTEMS box ....
268 #
269 ####################################################################
270 ifeq ($(ARCH), RTEMS)
271
272 # Location & BSP information of the RTEMS build
273 RTEMS_BUILD              = /tools/build-i386-elf-rtems
274 RTEMS_BSP                = pc386
275 LINK_APP_INTO_SERVER     = Y
276
277 endif
278
279 endif
280
281 ####################################################################
282 #
283 # If the platform is an ELKS box ...
284 #
285 ####################################################################
286 ifeq ($(ARCH), ELKS)
287
288 # Higher speed asm driver, c driver of hercules screen driver
289 ASMVGADRIVER             = Y
290 CVGADRIVER               = N
291 HERCDRIVER               = N
292 DBGDRIVER                = N
293
294 # Mouse support
295 SERMOUSE                 = Y
296
297 endif