1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
|
#
# Makefile for the kernel video drivers.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definitions are now inherited from the
# parent makes..
#
GSPA = gspa
GSPH2C = gspahextoc
L_TARGET := video.a
L_OBJS :=
M_OBJS :=
LX_OBJS :=
MX_OBJS :=
MOD_LIST_NAME := VIDEO_MODULES
# Frame Buffer Console
ifeq ($(CONFIG_FB),y)
L_OBJS += fonts.o font_8x8.o font_8x16.o pearl_8x8.o
LX_OBJS += fbcon.o fbcmap.o
endif
# Frame buffer devices
ifeq ($(CONFIG_APOLLO),y)
L_OBJS += dn_fb.o
endif
ifeq ($(CONFIG_FB_AMIGA),y)
L_OBJS += amifb.o
else
ifeq ($(CONFIG_FB_AMIGA),m)
M_OBJS += amifb.o
endif
endif
ifeq ($(CONFIG_FB_ATARI),y)
L_OBJS += atafb.o
else
ifeq ($(CONFIG_FB_ATARI),m)
M_OBJS += atafb.o
endif
endif
ifeq ($(CONFIG_FB_CYBER),y)
LX_OBJS += cyberfb.o
else
ifeq ($(CONFIG_FB_CYBER),m)
MX_OBJS += cyberfb.o
endif
endif
ifeq ($(CONFIG_FB_RETINAZ3),y)
LX_OBJS += retz3fb.o
else
ifeq ($(CONFIG_FB_RETINAZ3),m)
MX_OBJS += retz3fb.o
endif
endif
ifeq ($(CONFIG_FB_VIRTUAL),y)
L_OBJS += vfb.o
else
ifeq ($(CONFIG_FB_VIRTUAL),m)
M_OBJS += vfb.o
endif
endif
ifeq ($(CONFIG_FB_OPEN_FIRMWARE),y)
L_OBJS += offb.o
endif
ifeq ($(CONFIG_FB_MACH64),y)
L_OBJS += mach64fb.o
else
ifeq ($(CONFIG_FB_MACH64),m)
M_OBJS += mach64fb.o
endif
endif
ifeq ($(CONFIG_FB_TGA),y)
L_OBJS += tgafb.o
endif
# Low level drivers
ifeq ($(CONFIG_FBCON_AFB),y)
L_OBJS += fbcon-afb.o
else
ifeq ($(CONFIG_FBCON_AFB),m)
M_OBJS += fbcon-afb.o
endif
endif
ifeq ($(CONFIG_FBCON_CFB8),y)
L_OBJS += fbcon-cfb8.o
else
ifeq ($(CONFIG_FBCON_CFB8),m)
M_OBJS += fbcon-cfb8.o
endif
endif
ifeq ($(CONFIG_FBCON_CFB16),y)
LX_OBJS += fbcon-cfb16.o
else
ifeq ($(CONFIG_FBCON_CFB16),m)
MX_OBJS += fbcon-cfb16.o
endif
endif
ifeq ($(CONFIG_FBCON_ILBM),y)
L_OBJS += fbcon-ilbm.o
else
ifeq ($(CONFIG_FBCON_ILBM),m)
M_OBJS += fbcon-ilbm.o
endif
endif
ifeq ($(CONFIG_FBCON_IPLAN2P2),y)
L_OBJS += fbcon-iplan2p2.o
else
ifeq ($(CONFIG_FBCON_IPLAN2P2),m)
M_OBJS += fbcon-iplan2p2.o
endif
endif
ifeq ($(CONFIG_FBCON_IPLAN2P4),y)
L_OBJS += fbcon-iplan2p4.o
else
ifeq ($(CONFIG_FBCON_IPLAN2P4),m)
M_OBJS += fbcon-iplan2p4.o
endif
endif
ifeq ($(CONFIG_FBCON_IPLAN2P8),y)
L_OBJS += fbcon-iplan2p8.o
else
ifeq ($(CONFIG_FBCON_IPLAN2P8),m)
M_OBJS += fbcon-iplan2p8.o
endif
endif
ifeq ($(CONFIG_FBCON_MFB),y)
L_OBJS += fbcon-mfb.o
else
ifeq ($(CONFIG_FBCON_MFB),m)
M_OBJS += fbcon-mfb.o
endif
endif
ifeq ($(CONFIG_FBCON_CYBER),y)
L_OBJS += fbcon-cyber.o
else
ifeq ($(CONFIG_FBCON_CYBER),m)
M_OBJS += fbcon-cyber.o
endif
endif
ifeq ($(CONFIG_FBCON_RETINAZ3),y)
L_OBJS += fbcon-retz3.o
else
ifeq ($(CONFIG_FBCON_RETINAZ3),m)
M_OBJS += fbcon-retz3.o
endif
endif
ifeq ($(CONFIG_FBCON_MACH64),y)
L_OBJS += fbcon-mach64.o
else
ifeq ($(CONFIG_FBCON_MACH64),m)
M_OBJS += fbcon-mach64.o
endif
endif
# GSP Console
ifdef CONFIG_AMIGA_GSP
L_OBJS := $(L_OBJS) gspcon.o gspcore.o
endif
# VGA Console
ifdef CONFIG_ABSTRACT_CONSOLE
ifdef CONFIG_VGA_CONSOLE
L_OBJS := $(L_OBJS) vgacon.o
endif
endif
include $(TOPDIR)/Rules.make
gspcore.c: gspcore.gsp
$(GSPA) $< > $*.hex
$(GSPH2C) $*.hex > gspcore.c
|