OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [packages/] [services/] [gfx/] [mw/] [v2_0/] [src/] [Configs/] [config.psion] - Blame information for rev 174

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 27 unneback
####################################################################
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
# FREEBSD-X86
28
# SOLARIS
29
# RTEMS
30
# DJGPP
31
# ELKS
32
#
33
# note: ELKS can't build client/server nano-X, nor widget lib
34
#
35
####################################################################
36
ARCH                     = LINUX-ARM
37
ARMTOOLSPREFIX           = arm-linux-
38
MIPSTOOLSPREFIX          = mipsel-linux-
39
POWERPCTOOLSPREFIX       = powerpc-linux-
40
RTEMSTOOLSPREFIX         = i386-rtemself-
41
 
42
####################################################################
43
#
44
# Compiling options
45
#
46
####################################################################
47
OPTIMIZE                 = Y
48
DEBUG                    = N
49
VERBOSE                  = N
50
 
51
####################################################################
52
#
53
# Libraries to build: microwin, nano-X, nanowidget, object frameworks
54
#
55
####################################################################
56
MICROWIN                 = Y
57
NANOX                    = Y
58
SHAREDLIBS               = Y
59
NWIDGET                  = Y
60
OBJFRAMEWORK             = Y
61
 
62
 
63
####################################################################
64
#
65
# Demos to build
66
#
67
####################################################################
68
MICROWINDEMO             = Y
69
NANOXDEMO                = Y
70
 
71
####################################################################
72
#
73
# Applications to build
74
#
75
####################################################################
76
NANOWM                   = Y
77
 
78
####################################################################
79
#
80
# The pixeltype of the native hardware or underlying graphics library.
81
# This definition defines the PIXELVAL to be 32, 16 or 8 bits wide.
82
# If using Linux framebuffer, set to MWPF_TRUECOLOR0888, and use fbset.
83
# It also enables GdArea/GrArea for this particular pixel packing format.
84
#
85
# define MWPF_PALETTE       /* pixel is packed 8 bits 1, 4 or 8 pal index*/
86
# define MWPF_TRUECOLOR0888 /* pixel is packed 32 bits 8/8/8 truecolor*/
87
# define MWPF_TRUECOLOR888  /* pixel is packed 24 bits 8/8/8 truecolor*/
88
# define MWPF_TRUECOLOR565  /* pixel is packed 16 bits 5/6/5 truecolor*/
89
# define MWPF_TRUECOLOR332  /* pixel is packed 8 bits 3/3/2 truecolor*/
90
#
91
####################################################################
92
SCREEN_PIXTYPE           = MWPF_TRUECOLOR0888
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_GIF_SUPPORT         = N
116
HAVE_PNM_SUPPORT         = Y
117
 
118
####################################################################
119
# JPEG support through libjpeg, see README.txt in contrib/jpeg
120
####################################################################
121
HAVE_JPEG_SUPPORT        = N
122
INCJPEG                  = .
123
LIBJPEG                  = /usr/lib/libjpeg.a
124
 
125
####################################################################
126
# PNG support via libpng and libz
127
####################################################################
128
HAVE_PNG_SUPPORT         = N
129
INCPNG                   = .
130
LIBPNG                   = /usr/lib/libpng.a
131
LIBZ                     = /usr/lib/libz.a
132
 
133
####################################################################
134
# T1 adobe type1 font support thru t1lib
135
####################################################################
136
HAVE_T1LIB_SUPPORT       = N
137
INCT1LIB                 = /usr/include
138
LIBT1LIB                 = /usr/lib/libt1.a
139
 
140
####################################################################
141
# TrueType font support thru FreeType
142
####################################################################
143
HAVE_FREETYPE_SUPPORT    = N
144
INCFTLIB                 = /usr/include
145
LIBFTLIB                 = /usr/lib/libttf.so
146
FREETYPE_FONT_DIR        = "/usr/local/microwin/fonts"
147
 
148
####################################################################
149
# Shared memory support for Nano-X client/server protocol speedup
150
####################################################################
151
HAVE_SHAREDMEM_SUPPORT   = Y
152
 
153
####################################################################
154
# Chinese Han Zi Ku font support
155
####################################################################
156
HAVE_HZK_SUPPORT         = N
157
HZK_FONT_DIR             = "fonts/chinese"
158
 
159
####################################################################
160
# Chinese BIG5 compiled in font support (big5font.c)
161
####################################################################
162
HAVE_BIG5_SUPPORT        = N
163
 
164
####################################################################
165
# Chinese GB2312 compiled in font support (gb2312font.c)
166
####################################################################
167
HAVE_GB2312_SUPPORT      = N
168
 
169
####################################################################
170
# Generate screen driver interface only with no fonts or clipping
171
####################################################################
172
NOFONTSORCLIPPING        = N
173
 
174
####################################################################
175
#
176
# Window move algorithms for Microwindows
177
# Change for tradeoff between cpu speed and looks
178
# ERASEMOVE repaints only backgrounds while window dragging, quicker.
179
# Otherwise an XOR redraw is used for window moves only after button up,
180
# quickest (should set for ELKS)
181
# UPDATEREGIONS paints in update clipping region only for better look and feel
182
#
183
####################################################################
184
ERASEMOVE                = Y
185
UPDATEREGIONS            = Y
186
 
187
####################################################################
188
#
189
# Use MS fonts (default no)
190
#
191
####################################################################
192
HAVEMSFONTS              = N
193
 
194
####################################################################
195
#
196
# Link with Gray Palette (valid only for 4bpp modes)
197
#
198
####################################################################
199
GRAYPALETTE              = N
200
 
201
####################################################################
202
#
203
# If the platform is running UNIX, Linux or RTEMS...
204
#
205
####################################################################
206
ifneq ($(ARCH), ELKS)
207
 
208
# X Window screen, mouse and kbd drivers
209
X11                      = N
210
 
211
ifeq ($(X11), Y)
212
# predefined model or select screen width, height, depth(palette mode only)
213
SCREEN_E15               = N
214
SCREEN_WIDTH             = 640
215
SCREEN_HEIGHT            = 240
216
SCREEN_DEPTH             = 2
217
 
218
else
219
 
220
# framebuffer screen driver (linear and/or vga 4 planes)
221
# set VTSWITCH to include virtual terminal switch code
222
# set PORTRAIT_MODE to L or R for left or right orientation
223
FRAMEBUFFER              = Y
224
FBVGA                    = N
225
VTSWITCH                 = Y
226
PORTRAIT_MODE            = N
227
FBREVERSE                = Y
228
 
229
# svgalib screen driver
230
VGALIB                   = N
231
 
232
# direct VGA hardware access screen driver
233
HWVGA                    = N
234
 
235
####################################################################
236
# Mouse or touch screen driver
237
# TPMOUSE for Linux-VR and Embedded Planet
238
# PSIONMOUSE for the Psion 5
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                  = N
247
ADSMOUSE                 = N
248
IPAQMOUSE                = N
249
PSIONMOUSE               = Y
250
NOMOUSE                  = N
251
 
252
# keyboard or null kbd driver
253
TTYKBD                   = Y
254
NOKBD                    = N
255
 
256
endif
257
 
258
####################################################################
259
# Screen driver specific configuration
260
# SA1100_LCD_LTLEND 4bpp driver with arm SA1100 LCD controller
261
# INVERT4BPP 4bpp inverted pixel driver for VTech Helio
262
####################################################################
263
SA1100_LCD_LTLEND        = N
264
INVERT4BPP               = N
265
 
266
####################################################################
267
#
268
# If the platform is a RTEMS box ....
269
#
270
####################################################################
271
ifeq ($(ARCH), RTEMS)
272
 
273
# Location & BSP information of the RTEMS build
274
RTEMS_BUILD              = /tools/build-i386-elf-rtems
275
RTEMS_BSP                = pc386
276
LINK_APP_INTO_SERVER     = Y
277
 
278
endif
279
 
280
endif
281
 
282
####################################################################
283
#
284
# If the platform is an ELKS box ...
285
#
286
####################################################################
287
ifeq ($(ARCH), ELKS)
288
 
289
# Higher speed asm driver, c driver of hercules screen driver
290
ASMVGADRIVER             = Y
291
CVGADRIVER               = N
292
HERCDRIVER               = N
293
DBGDRIVER                = N
294
 
295
# Mouse support
296
SERMOUSE                 = Y
297
 
298
endif
299
 
300
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.