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

powered by: WebSVN 2.1.0

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