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

powered by: WebSVN 2.1.0

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