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

Subversion Repositories or1k

[/] [or1k/] [tags/] [MW_0_8_9PRE7/] [mw/] [src/] [Configs/] [config.ksc] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 673 markom
####################################################################
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                     = LINUX-NATIVE
38
ARMTOOLSPREFIX           = arm-linux-
39
MIPSTOOLSPREFIX          = mipsel-linux-
40
POWERPCTOOLSPREFIX       = powerpc-linux-
41
SHTOOLSPREFIX            = sh-linux-gnu
42
RTEMSTOOLSPREFIX         = i386-rtemself-
43
 
44
####################################################################
45
#
46
# Compiling options
47
#
48
####################################################################
49
OPTIMIZE                 = Y
50
DEBUG                    = N
51
VERBOSE                  = N
52
 
53
####################################################################
54
#
55
# Libraries to build: microwin, nano-X, nanowidget, object frameworks
56
#
57
####################################################################
58
MICROWIN                 = Y
59
NANOX                    = Y
60
SHAREDLIBS               = N
61
OBJFRAMEWORK             = N
62
 
63
 
64
####################################################################
65
#
66
# Demos to build
67
#
68
####################################################################
69
MICROWINDEMO             = Y
70
NANOXDEMO                = Y
71
 
72
####################################################################
73
#
74
# Applications to build
75
#
76
####################################################################
77
NANOWM                   = Y
78
 
79
####################################################################
80
#
81
# The pixeltype of the native hardware or underlying graphics library.
82
# This definition defines the PIXELVAL to be 32, 16 or 8 bits wide.
83
# If using Linux framebuffer, set to MWPF_TRUECOLOR0888, and use fbset.
84
# It also enables GdArea/GrArea for this particular pixel packing format.
85
#
86
# define MWPF_PALETTE       /* pixel is packed 8 bits 1, 4 or 8 pal index*/
87
# define MWPF_TRUECOLOR0888 /* pixel is packed 32 bits 8/8/8 truecolor*/
88
# define MWPF_TRUECOLOR888  /* pixel is packed 24 bits 8/8/8 truecolor*/
89
# define MWPF_TRUECOLOR565  /* pixel is packed 16 bits 5/6/5 truecolor*/
90
# define MWPF_TRUECOLOR555  /* pixel is packed 16 bits 5/5/5 truecolor*/
91
# define MWPF_TRUECOLOR332  /* pixel is packed 8 bits 3/3/2 truecolor*/
92
#
93
####################################################################
94
SCREEN_PIXTYPE           = MWPF_TRUECOLOR0888
95
 
96
####################################################################
97
#
98
# NanoX: Put Y to the following line to link the nano-X application
99
# with the server.  This is required for ELKS, if no network is present,
100
# or for speed or debugging.  This affects the nano-X server only.
101
#
102
####################################################################
103
LINK_APP_INTO_SERVER     = N
104
 
105
####################################################################
106
#
107
# File I/O support
108
# Supporting either below drags in libc stdio, which may not be wanted
109
#
110
####################################################################
111
HAVE_FILEIO              = Y
112
 
113
####################################################################
114
# BMP, GIF reading support
115
####################################################################
116
HAVE_BMP_SUPPORT         = Y
117
HAVE_GIF_SUPPORT         = Y
118
HAVE_PNM_SUPPORT         = Y
119
HAVE_XPM_SUPPORT         = Y
120
 
121
####################################################################
122
# JPEG support through libjpeg, see README.txt in contrib/jpeg
123
####################################################################
124
HAVE_JPEG_SUPPORT        = N
125
INCJPEG                  = .
126
LIBJPEG                  = /usr/lib/libjpeg.a
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
FREETYPE_FONT_DIR        = "/usr/local/microwin/fonts"
150
 
151
####################################################################
152
# Shared memory support for Nano-X client/server protocol speedup
153
####################################################################
154
HAVE_SHAREDMEM_SUPPORT   = N
155
 
156
####################################################################
157
# Chinese Han Zi Ku font support
158
####################################################################
159
HAVE_HZK_SUPPORT         = N
160
HZK_FONT_DIR             = "fonts/chinese"
161
 
162
####################################################################
163
# Chinese BIG5 compiled in font support (big5font.c)
164
####################################################################
165
HAVE_BIG5_SUPPORT        = N
166
 
167
####################################################################
168
# Chinese GB2312 compiled in font support (gb2312font.c)
169
####################################################################
170
HAVE_GB2312_SUPPORT      = N
171
 
172
####################################################################
173
# Korean HANGUL font support (jo16x16.c)
174
####################################################################
175
HAVE_KSC5601_SUPPORT     = Y
176
HANGUL_FONT_DIR          = "fonts/korean"
177
 
178
####################################################################
179
# Generate screen driver interface only with no fonts or clipping
180
####################################################################
181
NOFONTSORCLIPPING        = N
182
 
183
####################################################################
184
#
185
# Window move algorithms for Microwindows
186
# Change for tradeoff between cpu speed and looks
187
# ERASEMOVE repaints only backgrounds while window dragging, quicker.
188
# Otherwise an XOR redraw is used for window moves only after button up,
189
# quickest (should set for ELKS)
190
# UPDATEREGIONS paints in update clipping region only for better look and feel
191
#
192
####################################################################
193
ERASEMOVE                = Y
194
UPDATEREGIONS            = Y
195
 
196
####################################################################
197
#
198
# Use MS fonts (default no)
199
#
200
####################################################################
201
HAVEMSFONTS              = N
202
 
203
####################################################################
204
#
205
# Link with Gray Palette (valid only for 4bpp modes)
206
#
207
####################################################################
208
GRAYPALETTE              = N
209
 
210
####################################################################
211
#
212
# If the platform is running UNIX, Linux or RTEMS...
213
#
214
####################################################################
215
ifneq ($(ARCH), ELKS)
216
 
217
# X Window screen, mouse and kbd drivers
218
X11                      = N
219
 
220
ifeq ($(X11), Y)
221
# predefined model or select screen width, height, depth(palette mode only)
222
SCREEN_E15               = N
223
SCREEN_WIDTH             = 640
224
SCREEN_HEIGHT            = 480
225
SCREEN_DEPTH             = 4
226
 
227
# You may want to turn this on for XFree86 4.x or if your backing store
228
# isn't functioning properly
229
USE_EXPOSURE             = Y
230
 
231
else
232
 
233
# framebuffer screen driver (linear and/or vga 4 planes)
234
# set VTSWITCH to include virtual terminal switch code
235
# set FBREVERSE to reverse bit orders in 1,2,4 bpp
236
# set FBVGA=N for all systems without VGA hardware (for MIPS must=N)
237
FRAMEBUFFER              = Y
238
FBVGA                    = Y
239
VTSWITCH                 = Y
240
FBREVERSE                = N
241
 
242
# svgalib screen driver
243
VGALIB                   = N
244
 
245
# direct VGA hardware access screen driver
246
HWVGA                    = N
247
 
248
####################################################################
249
# Mouse or touch screen driver
250
# TPMOUSE for Linux-VR and Embedded Planet
251
# TPHELIO for VTech Helio
252
# ADSMOUSE for ADS Graphics Client
253
# IPAQMOUSE for Compaq iPAQ,Intel Assabet, ARM ucb1200 (/dev/h3600_ts 11,0)
254
# HARRIERMOUSE for NEC Harrier
255
# PSIONMOUSE for the Psion 5
256
# MTMOUSE for Microtouch touchpanel controller at RS232 port
257
####################################################################
258
GPMMOUSE                 = Y
259
SERMOUSE                 = N
260
TPMOUSE                  = N
261
TPHELIO                  = N
262
ADSMOUSE                 = N
263
IPAQMOUSE                = N
264
HARRIERMOUSE             = N
265
PSIONMOUSE               = N
266
MTMOUSE                  = N
267
NOMOUSE                  = N
268
 
269
# keyboard or null kbd driver
270
TTYKBD                   = N
271
SCANKBD                  = Y
272
PIPEKBD                  = N
273
NOKBD                    = 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.