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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mw/] [src/] [config] - 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                     = UCLINUX-OR32
38
ARMTOOLSPREFIX           = arm-linux-
39
MIPSTOOLSPREFIX          = mipsel-linux-
40
POWERPCTOOLSPREFIX       = powerpc-linux-
41
SHTOOLSPREFIX            = sh-linux-gnu
42
RTEMSTOOLSPREFIX         = i386-rtemself-
43
OR32TOOLSPREFIX          = or32-uclibc-
44
 
45
####################################################################
46
#
47
# Compiling options
48
#
49
####################################################################
50
OPTIMIZE                 = Y
51
DEBUG                    = N
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
OBJFRAMEWORK             = N
63
 
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_PALETTE
96
 
97
####################################################################
98
#
99
# NanoX: Put Y to the following line to link the nano-X application
100
# with the server.  This is required for ELKS, if no network is present,
101
# or for speed or debugging.  This affects the nano-X server only.
102
#
103
####################################################################
104 716 simons
LINK_APP_INTO_SERVER     = Y
105 673 markom
 
106
####################################################################
107
#
108
# File I/O support
109
# Supporting either below drags in libc stdio, which may not be wanted
110
#
111
####################################################################
112
HAVE_FILEIO              = Y
113
 
114
####################################################################
115
# BMP, GIF reading support
116
####################################################################
117
HAVE_BMP_SUPPORT         = Y
118
HAVE_GIF_SUPPORT         = Y
119
HAVE_PNM_SUPPORT         = Y
120
HAVE_XPM_SUPPORT         = Y
121
 
122
####################################################################
123
# JPEG support through libjpeg, see README.txt in contrib/jpeg
124
####################################################################
125
HAVE_JPEG_SUPPORT        = N
126
INCJPEG                  = .
127
LIBJPEG                  = /usr/lib/libjpeg.a
128
 
129
####################################################################
130
# PNG support via libpng and libz
131
####################################################################
132
HAVE_PNG_SUPPORT         = N
133
INCPNG                   = .
134
LIBPNG                   = /usr/lib/libpng.a
135
LIBZ                     = /usr/lib/libz.a
136
 
137
####################################################################
138
# T1 adobe type1 font support thru t1lib
139
####################################################################
140
HAVE_T1LIB_SUPPORT       = N
141
INCT1LIB                 = /usr/include
142
LIBT1LIB                 = /usr/lib/libt1.a
143
 
144
####################################################################
145
# TrueType font support thru FreeType
146
####################################################################
147
HAVE_FREETYPE_SUPPORT    = N
148
INCFTLIB                 = /usr/include
149
LIBFTLIB                 = /usr/lib/libttf.so
150
FREETYPE_FONT_DIR        = "/usr/local/microwin/fonts"
151
 
152
####################################################################
153
# Shared memory support for Nano-X client/server protocol speedup
154
####################################################################
155
HAVE_SHAREDMEM_SUPPORT   = N
156
 
157
####################################################################
158
# Chinese Han Zi Ku font support
159
####################################################################
160
HAVE_HZK_SUPPORT         = N
161
HZK_FONT_DIR             = "fonts/chinese"
162
 
163
####################################################################
164
# Chinese BIG5 compiled in font support (big5font.c)
165
####################################################################
166
HAVE_BIG5_SUPPORT        = N
167
 
168
####################################################################
169
# Chinese GB2312 compiled in font support (gb2312font.c)
170
####################################################################
171
HAVE_GB2312_SUPPORT      = N
172
 
173
####################################################################
174
# Korean HANGUL font support (jo16x16.c)
175
####################################################################
176
HAVE_KSC5601_SUPPORT     = N
177
HANGUL_FONT_DIR          = "fonts/korean"
178
 
179
####################################################################
180
# Generate screen driver interface only with no fonts or clipping
181
####################################################################
182
NOFONTSORCLIPPING        = N
183
 
184
####################################################################
185
#
186
# Window move algorithms for Microwindows
187
# Change for tradeoff between cpu speed and looks
188
# ERASEMOVE repaints only backgrounds while window dragging, quicker.
189
# Otherwise an XOR redraw is used for window moves only after button up,
190
# quickest (should set for ELKS)
191
# UPDATEREGIONS paints in update clipping region only for better look and feel
192
#
193
####################################################################
194
ERASEMOVE                = Y
195
UPDATEREGIONS            = Y
196
 
197
####################################################################
198
#
199
# Use MS fonts (default no)
200
#
201
####################################################################
202
HAVEMSFONTS              = N
203
 
204
####################################################################
205
#
206
# Link with Gray Palette (valid only for 4bpp modes)
207
#
208
####################################################################
209
GRAYPALETTE              = N
210
 
211
####################################################################
212
#
213
# If the platform is running UNIX, Linux or RTEMS...
214
#
215
####################################################################
216
ifneq ($(ARCH), ELKS)
217
 
218
# X Window screen, mouse and kbd drivers
219
X11                      = N
220
 
221
ifeq ($(X11), Y)
222
# predefined model or select screen width, height, depth(palette mode only)
223
SCREEN_E15               = N
224
SCREEN_WIDTH             = 640
225
SCREEN_HEIGHT            = 480
226
SCREEN_DEPTH             = 4
227
 
228
# You may want to turn this on for XFree86 4.x or if your backing store
229
# isn't functioning properly
230
USE_EXPOSURE             = Y
231
 
232
else
233
 
234
# framebuffer screen driver (linear and/or vga 4 planes)
235
# set VTSWITCH to include virtual terminal switch code
236
# set FBREVERSE to reverse bit orders in 1,2,4 bpp
237
# set FBVGA=N for all systems without VGA hardware (for MIPS must=N)
238
FRAMEBUFFER              = Y
239
FBVGA                    = Y
240
VTSWITCH                 = Y
241
FBREVERSE                = N
242
 
243
# svgalib screen driver
244
VGALIB                   = N
245
 
246
# direct VGA hardware access screen driver
247
HWVGA                    = N
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
# MTMOUSE for Microtouch touchpanel controller at RS232 port
258
####################################################################
259 716 simons
GPMMOUSE                 = N
260
SERMOUSE                 = Y
261 673 markom
TPMOUSE                  = N
262
TPHELIO                  = N
263
ADSMOUSE                 = N
264
IPAQMOUSE                = N
265
HARRIERMOUSE             = N
266
PSIONMOUSE               = N
267
MTMOUSE                  = N
268
NOMOUSE                  = N
269
 
270
# keyboard or null kbd driver
271
TTYKBD                   = N
272
SCANKBD                  = Y
273
PIPEKBD                  = N
274
NOKBD                    = N
275
 
276
endif
277
 
278
####################################################################
279
# Screen driver specific configuration
280
# SA1100_LCD_LTLEND 4bpp driver with arm SA1100 LCD controller
281
# INVERT4BPP 4bpp inverted pixel driver for VTech Helio
282
####################################################################
283
SA1100_LCD_LTLEND        = N
284
INVERT4BPP               = N
285
 
286
####################################################################
287
#
288
# If the platform is a RTEMS box ....
289
#
290
####################################################################
291
ifeq ($(ARCH), RTEMS)
292
 
293
# Location & BSP information of the RTEMS build
294
RTEMS_BUILD              = /tools/build-i386-elf-rtems
295
RTEMS_BSP                = pc386
296
LINK_APP_INTO_SERVER     = Y
297
 
298
endif
299
 
300
endif
301
 
302
####################################################################
303
#
304
# If the platform is an ELKS box ...
305
#
306
####################################################################
307
ifeq ($(ARCH), ELKS)
308
 
309
# Higher speed asm driver, c driver of hercules screen driver
310
ASMVGADRIVER             = Y
311
CVGADRIVER               = N
312
HERCDRIVER               = N
313
DBGDRIVER                = N
314
 
315
# Mouse support
316
SERMOUSE                 = Y
317
 
318
endif

powered by: WebSVN 2.1.0

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