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

powered by: WebSVN 2.1.0

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