]>
Commit | Line | Data |
---|---|---|
8c411768 BC |
1 | AutoGen definitions Makefile.tpl; |
2 | ||
b524259b | 3 | script = { |
3572f2b6 | 4 | installdir = noinst; |
b524259b BC |
5 | name = gensyminfo.sh; |
6 | common = gensyminfo.sh.in; | |
7 | }; | |
8 | ||
9 | script = { | |
3572f2b6 | 10 | installdir = noinst; |
b524259b BC |
11 | name = genmod.sh; |
12 | common = genmod.sh.in; | |
13 | }; | |
14 | ||
6ad6223e VS |
15 | script = { |
16 | installdir = noinst; | |
17 | name = modinfo.sh; | |
18 | common = modinfo.sh.in; | |
19 | }; | |
20 | ||
2536cf64 | 21 | script = { |
80a71213 | 22 | installdir = platform; |
2536cf64 LK |
23 | name = gmodule.pl; |
24 | common = gmodule.pl.in; | |
25 | }; | |
26 | ||
27 | script = { | |
80a71213 | 28 | installdir = platform; |
2536cf64 LK |
29 | name = gdb_grub; |
30 | common = gdb_grub.in; | |
31 | }; | |
32 | ||
a79b8a15 VS |
33 | script = { |
34 | installdir = platform; | |
35 | name = grub.chrp; | |
36 | common = boot/powerpc/grub.chrp.in; | |
daaa64bd VS |
37 | enable = powerpc_ieee1275; |
38 | }; | |
39 | ||
40 | script = { | |
41 | installdir = platform; | |
42 | name = bootinfo.txt; | |
43 | common = boot/powerpc/bootinfo.txt.in; | |
44 | enable = powerpc_ieee1275; | |
a79b8a15 VS |
45 | }; |
46 | ||
8c411768 BC |
47 | kernel = { |
48 | name = kernel; | |
49 | ||
c1c6e4c0 BC |
50 | nostrip = emu; |
51 | ||
911bd640 | 52 | emu_ldflags = '-Wl,-r,-d'; |
6585de4c | 53 | i386_efi_ldflags = '-Wl,-r,-d'; |
0f021838 | 54 | i386_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version'; |
6585de4c | 55 | x86_64_efi_ldflags = '-Wl,-r,-d'; |
0f021838 | 56 | x86_64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version'; |
6585de4c VS |
57 | |
58 | ia64_efi_cflags = '-fno-builtin -fpic -minline-int-divide-max-throughput'; | |
bea33583 | 59 | ia64_efi_ldflags = '-Wl,-r,-d'; |
0f021838 | 60 | ia64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version'; |
2d465fb0 BC |
61 | |
62 | i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; | |
60240b8b | 63 | i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x9000'; |
2d465fb0 BC |
64 | |
65 | i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)'; | |
fb53b340 | 66 | i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8200'; |
2d465fb0 | 67 | |
03f80960 VS |
68 | ldadd = '$(LDADD_KERNEL)'; |
69 | ||
fb53b340 VS |
70 | i386_coreboot_ldflags = '-Wl,-Ttext=0x8200'; |
71 | i386_multiboot_ldflags = '-Wl,-Ttext=0x8200'; | |
72 | i386_ieee1275_ldflags = '-Wl,-Ttext=0x10000'; | |
54da1feb | 73 | mips_loongson_ldflags = '-Wl,-Ttext,0x80200000'; |
fb53b340 VS |
74 | powerpc_ieee1275_ldflags = '-Wl,-Ttext,0x200000'; |
75 | sparc64_ieee1275_ldflags = '-Wl,-Ttext,0x4400'; | |
7f63a64f | 76 | mips_arc_ldflags = '-Wl,-Ttext,$(TARGET_LINK_ADDR)'; |
3666d5f6 | 77 | mips_qemu_mips_ldflags = '-Wl,-Ttext,0x80200000'; |
8c411768 | 78 | |
17f9fd29 | 79 | mips_arc_cppflags = '-DGRUB_DECOMPRESSOR_LINK_ADDR=$(TARGET_DECOMPRESSOR_LINK_ADDR)'; |
54da1feb | 80 | mips_loongson_cppflags = '-DUSE_ASCII_FAILBACK'; |
8c411768 | 81 | i386_qemu_cppflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)'; |
16321bf9 BC |
82 | emu_cflags = '$(CFLAGS_GNULIB)'; |
83 | emu_cppflags = '$(CPPFLAGS_GNULIB)'; | |
8c411768 | 84 | |
8427685f BC |
85 | i386_pc_startup = kern/i386/pc/startup.S; |
86 | i386_efi_startup = kern/i386/efi/startup.S; | |
87 | x86_64_efi_startup = kern/x86_64/efi/startup.S; | |
88 | i386_qemu_startup = kern/i386/qemu/startup.S; | |
89 | i386_ieee1275_startup = kern/i386/ieee1275/startup.S; | |
eefe8abd VS |
90 | i386_coreboot_startup = kern/i386/coreboot/startup.S; |
91 | i386_multiboot_startup = kern/i386/coreboot/startup.S; | |
f440c33f | 92 | mips_startup = kern/mips/startup.S; |
8427685f BC |
93 | sparc64_ieee1275_startup = kern/sparc64/ieee1275/crt0.S; |
94 | powerpc_ieee1275_startup = kern/powerpc/ieee1275/startup.S; | |
95 | ||
96 | common = kern/command.c; | |
97 | common = kern/corecmd.c; | |
98 | common = kern/device.c; | |
99 | common = kern/disk.c; | |
100 | common = kern/dl.c; | |
101 | common = kern/env.c; | |
102 | common = kern/err.c; | |
103 | common = kern/file.c; | |
104 | common = kern/fs.c; | |
105 | common = kern/list.c; | |
106 | common = kern/main.c; | |
107 | common = kern/misc.c; | |
108 | common = kern/parser.c; | |
109 | common = kern/partition.c; | |
110 | common = kern/rescue_parser.c; | |
111 | common = kern/rescue_reader.c; | |
112 | common = kern/term.c; | |
113 | ||
114 | noemu = kern/mm.c; | |
115 | noemu = kern/time.c; | |
116 | noemu = kern/generic/millisleep.c; | |
117 | ||
118 | noemu_nodist = symlist.c; | |
119 | ||
8906c3dd | 120 | mips = kern/generic/rtc_get_time_ms.c; |
8427685f BC |
121 | |
122 | ieee1275 = disk/ieee1275/ofdisk.c; | |
123 | ieee1275 = kern/ieee1275/cmain.c; | |
124 | ieee1275 = kern/ieee1275/ieee1275.c; | |
125 | ieee1275 = kern/ieee1275/mmap.c; | |
126 | ieee1275 = kern/ieee1275/openfw.c; | |
ca8c0baf | 127 | ieee1275 = term/ieee1275/console.c; |
574618a2 | 128 | ieee1275 = kern/ieee1275/init.c; |
8427685f | 129 | |
ee74fa48 VS |
130 | terminfoinkernel = term/terminfo.c; |
131 | terminfoinkernel = term/tparm.c; | |
132 | terminfoinkernel = commands/extcmd.c; | |
133 | terminfoinkernel = lib/arg.c; | |
8427685f BC |
134 | |
135 | i386 = kern/i386/dl.c; | |
136 | ||
137 | i386_coreboot_multiboot_qemu = kern/i386/coreboot/init.c; | |
8427685f BC |
138 | i386_coreboot_multiboot_qemu = term/i386/pc/vga_text.c; |
139 | ||
6585de4c VS |
140 | efi = disk/efi/efidisk.c; |
141 | efi = kern/efi/efi.c; | |
142 | efi = kern/efi/init.c; | |
143 | efi = kern/efi/mm.c; | |
144 | efi = term/efi/console.c; | |
8427685f | 145 | |
f75835bd VS |
146 | x86 = kern/i386/tsc.c; |
147 | ||
6585de4c | 148 | i386_efi = kern/i386/efi/init.c; |
9d34bb85 | 149 | i386_efi = bus/pci.c; |
8427685f | 150 | |
8427685f BC |
151 | x86_64_efi = kern/x86_64/dl.c; |
152 | x86_64_efi = kern/x86_64/efi/callwrap.S; | |
6585de4c | 153 | x86_64_efi = kern/i386/efi/init.c; |
9d34bb85 | 154 | x86_64_efi = bus/pci.c; |
6585de4c VS |
155 | |
156 | ia64_efi = kern/ia64/efi/startup.S; | |
6585de4c | 157 | ia64_efi = kern/ia64/efi/init.c; |
c18271ed | 158 | ia64_efi = kern/ia64/dl.c; |
5452733f | 159 | ia64_efi = kern/ia64/dl_helper.c; |
8427685f | 160 | |
8c411768 BC |
161 | i386_pc = kern/i386/pc/init.c; |
162 | i386_pc = kern/i386/pc/mmap.c; | |
8c411768 | 163 | i386_pc = term/i386/pc/console.c; |
8427685f BC |
164 | |
165 | i386_qemu = bus/pci.c; | |
93c06ff9 | 166 | i386_qemu = kern/vga_init.c; |
8427685f | 167 | i386_qemu = kern/i386/qemu/mmap.c; |
8427685f | 168 | |
8c411768 | 169 | i386_coreboot = kern/i386/coreboot/mmap.c; |
8427685f | 170 | |
062cdbc1 | 171 | i386_multiboot = kern/i386/multiboot_mmap.c; |
8c411768 | 172 | |
f440c33f VS |
173 | mips = kern/mips/cache.S; |
174 | mips = kern/mips/dl.c; | |
175 | mips = kern/mips/init.c; | |
8906c3dd | 176 | |
3666d5f6 VS |
177 | mips_qemu_mips = kern/mips/qemu_mips/init.c; |
178 | mips_qemu_mips = term/ns8250.c; | |
179 | mips_qemu_mips = term/serial.c; | |
d7345994 VS |
180 | mips_qemu_mips = term/at_keyboard.c; |
181 | mips_qemu_mips = commands/keylayouts.c; | |
93c06ff9 | 182 | mips_qemu_mips = term/i386/pc/vga_text.c; |
93c06ff9 | 183 | mips_qemu_mips = kern/vga_init.c; |
3666d5f6 | 184 | |
8906c3dd VS |
185 | mips_arc = kern/mips/arc/init.c; |
186 | mips_arc = term/arc/console.c; | |
187 | mips_arc = disk/arc/arcdisk.c; | |
188 | ||
54da1feb VS |
189 | mips_loongson = term/ns8250.c; |
190 | mips_loongson = bus/bonito.c; | |
191 | mips_loongson = bus/cs5536.c; | |
192 | mips_loongson = bus/pci.c; | |
54da1feb VS |
193 | mips_loongson = kern/mips/loongson/init.c; |
194 | mips_loongson = term/at_keyboard.c; | |
195 | mips_loongson = term/serial.c; | |
196 | mips_loongson = video/sm712.c; | |
197 | mips_loongson = video/sis315pro.c; | |
d94497ea | 198 | mips_loongson = video/radeon_fuloong2e.c; |
6556eba9 | 199 | extra_dist = video/sm712_init.c; |
2702b4e4 | 200 | extra_dist = video/sis315_init.c; |
54da1feb | 201 | mips_loongson = commands/keylayouts.c; |
8c411768 | 202 | |
8c411768 | 203 | powerpc_ieee1275 = kern/powerpc/cache.S; |
8427685f BC |
204 | powerpc_ieee1275 = kern/powerpc/dl.c; |
205 | ||
206 | sparc64_ieee1275 = kern/sparc64/cache.S; | |
207 | sparc64_ieee1275 = kern/sparc64/dl.c; | |
8c411768 | 208 | sparc64_ieee1275 = kern/sparc64/ieee1275/ieee1275.c; |
8c411768 | 209 | |
8427685f BC |
210 | emu = disk/host.c; |
211 | emu = gnulib/progname.c; | |
053cfcdd | 212 | emu = kern/emu/error.c; |
0a2b2cdc | 213 | emu = kern/emu/cache_s.S; |
8c411768 BC |
214 | emu = kern/emu/hostdisk.c; |
215 | emu = kern/emu/hostfs.c; | |
8427685f | 216 | emu = kern/emu/main.c; |
6a656b0e | 217 | emu = kern/emu/argp_common.c; |
8427685f BC |
218 | emu = kern/emu/misc.c; |
219 | emu = kern/emu/mm.c; | |
220 | emu = kern/emu/time.c; | |
6f49d0aa | 221 | emu = kern/emu/cache.c; |
b500bcfe | 222 | emu = term/emu/console.c; |
610c1efd | 223 | |
eefe8abd | 224 | videoinkernel = term/gfxterm.c; |
eefe8abd VS |
225 | videoinkernel = font/font.c; |
226 | videoinkernel = font/font_cmd.c; | |
227 | videoinkernel = io/bufio.c; | |
228 | videoinkernel = video/bitmap.c; | |
229 | videoinkernel = video/bitmap_scale.c; | |
52832c55 | 230 | videoinkernel = video/colors.c; |
eefe8abd VS |
231 | videoinkernel = video/fb/fbblit.c; |
232 | videoinkernel = video/fb/fbfill.c; | |
233 | videoinkernel = video/fb/fbutil.c; | |
234 | videoinkernel = video/fb/video_fb.c; | |
235 | videoinkernel = video/video.c; | |
236 | ||
685475e5 VS |
237 | videoinkernel = commands/boot.c; |
238 | ||
fc5efcc0 | 239 | extra_dist = kern/i386/int.S; |
610c1efd | 240 | extra_dist = kern/i386/realmode.S; |
2702b4e4 | 241 | extra_dist = boot/i386/pc/lzma_decode.S; |
d768d159 | 242 | extra_dist = kern/mips/cache_flush.S; |
8c411768 BC |
243 | }; |
244 | ||
245 | program = { | |
246 | name = grub-emu; | |
247 | mansection = 1; | |
248 | ||
8427685f BC |
249 | emu = kern/emu/full.c; |
250 | emu_nodist = grub_emu_init.c; | |
8c411768 | 251 | |
b24ca7cd | 252 | ldadd = 'kernel.exec$(EXEEXT)'; |
8c411768 | 253 | ldadd = '$(MODULE_FILES)'; |
db99fbe8 | 254 | ldadd = 'gnulib/libgnu.a $(LIBINTL) $(LIBUTIL) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 255 | |
911bd640 | 256 | enable = emu; |
8c411768 BC |
257 | }; |
258 | ||
259 | program = { | |
260 | name = grub-emu-lite; | |
261 | ||
8427685f | 262 | emu = kern/emu/lite.c; |
8427685f | 263 | emu_nodist = symlist.c; |
8c411768 | 264 | |
b24ca7cd | 265 | ldadd = 'kernel.exec$(EXEEXT)'; |
db99fbe8 | 266 | ldadd = 'gnulib/libgnu.a $(LIBINTL) $(LIBUTIL) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)'; |
8c411768 | 267 | |
911bd640 | 268 | enable = emu; |
8c411768 BC |
269 | }; |
270 | ||
8c411768 BC |
271 | image = { |
272 | name = boot; | |
273 | i386_pc = boot/i386/pc/boot.S; | |
8c411768 | 274 | i386_qemu = boot/i386/qemu/boot.S; |
8427685f | 275 | sparc64_ieee1275 = boot/sparc64/ieee1275/boot.S; |
2d465fb0 BC |
276 | |
277 | i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; | |
278 | i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00'; | |
279 | ||
280 | i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)'; | |
281 | i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),$(GRUB_BOOT_MACHINE_LINK_ADDR)'; | |
8c411768 BC |
282 | i386_qemu_ccasflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)'; |
283 | ||
911bd640 | 284 | sparc64_ieee1275_objcopyflags = '-O a.out-sunos-big'; |
8c411768 | 285 | sparc64_ieee1275_ldflags = ' -Wl,-Ttext=0x4000'; |
911bd640 BC |
286 | |
287 | objcopyflags = '-O binary'; | |
288 | enable = i386_pc; | |
289 | enable = i386_qemu; | |
290 | enable = sparc64_ieee1275; | |
8c411768 BC |
291 | }; |
292 | ||
b49fe879 VS |
293 | image = { |
294 | name = boot_hybrid; | |
295 | i386_pc = boot/i386/pc/boot.S; | |
296 | ||
297 | cppflags = '-DHYBRID_BOOT=1'; | |
298 | ||
299 | i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; | |
300 | i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00'; | |
301 | ||
302 | objcopyflags = '-O binary'; | |
303 | enable = i386_pc; | |
304 | }; | |
305 | ||
8c411768 BC |
306 | image = { |
307 | name = cdboot; | |
8ca86b3a | 308 | |
2d465fb0 BC |
309 | i386_pc = boot/i386/pc/cdboot.S; |
310 | i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; | |
311 | i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00'; | |
8ca86b3a VS |
312 | |
313 | sparc64_ieee1275 = boot/sparc64/ieee1275/boot.S; | |
314 | sparc64_ieee1275_objcopyflags = '-O a.out-sunos-big'; | |
315 | sparc64_ieee1275_ldflags = ' -Wl,-Ttext=0x4000'; | |
316 | sparc64_ieee1275_cppflags = '-DCDBOOT=1'; | |
317 | ||
911bd640 | 318 | objcopyflags = '-O binary'; |
8ca86b3a VS |
319 | |
320 | enable = sparc64_ieee1275; | |
911bd640 | 321 | enable = i386_pc; |
8c411768 BC |
322 | }; |
323 | ||
324 | image = { | |
325 | name = pxeboot; | |
2d465fb0 | 326 | i386_pc = boot/i386/pc/pxeboot.S; |
8c411768 | 327 | |
2d465fb0 BC |
328 | i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; |
329 | i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00'; | |
911bd640 BC |
330 | |
331 | objcopyflags = '-O binary'; | |
332 | enable = i386_pc; | |
8c411768 BC |
333 | }; |
334 | ||
335 | image = { | |
336 | name = diskboot; | |
337 | i386_pc = boot/i386/pc/diskboot.S; | |
2d465fb0 BC |
338 | |
339 | i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; | |
340 | i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8000'; | |
8c411768 BC |
341 | |
342 | sparc64_ieee1275 = boot/sparc64/ieee1275/diskboot.S; | |
343 | sparc64_ieee1275_ldflags = '-Wl,-Ttext=0x4200'; | |
911bd640 BC |
344 | |
345 | objcopyflags = '-O binary'; | |
346 | ||
347 | enable = i386_pc; | |
348 | enable = sparc64_ieee1275; | |
8c411768 BC |
349 | }; |
350 | ||
351 | image = { | |
352 | name = lnxboot; | |
2d465fb0 | 353 | i386_pc = boot/i386/pc/lnxboot.S; |
8c411768 | 354 | |
2d465fb0 BC |
355 | i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)'; |
356 | i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x6000'; | |
911bd640 BC |
357 | |
358 | objcopyflags = '-O binary'; | |
359 | enable = i386_pc; | |
8c411768 BC |
360 | }; |
361 | ||
c5b4cd37 | 362 | image = { |
758194b0 | 363 | name = xz_decompress; |
c5b4cd37 | 364 | mips = boot/mips/startup_raw.S; |
758194b0 VS |
365 | common = boot/decompressor/minilib.c; |
366 | common = boot/decompressor/xz.c; | |
f8926c32 VS |
367 | common = lib/xzembed/xz_dec_bcj.c; |
368 | common = lib/xzembed/xz_dec_lzma2.c; | |
369 | common = lib/xzembed/xz_dec_stream.c; | |
c5b4cd37 | 370 | |
400b9371 | 371 | cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -DGRUB_EMBED_DECOMPRESSOR=1'; |
c5b4cd37 VS |
372 | |
373 | objcopyflags = '-O binary'; | |
7f63a64f | 374 | mips_ldflags = '-static-libgcc -Wl,-Ttext,$(TARGET_DECOMPRESSOR_LINK_ADDR)'; |
5a407278 | 375 | ldadd = '-lgcc'; |
ebcecdf1 | 376 | cflags = '-Wno-unreachable-code -static-libgcc'; |
c5b4cd37 VS |
377 | enable = mips; |
378 | }; | |
379 | ||
758194b0 VS |
380 | image = { |
381 | name = none_decompress; | |
382 | mips = boot/mips/startup_raw.S; | |
383 | common = boot/decompressor/none.c; | |
384 | ||
400b9371 | 385 | cppflags = '-DGRUB_EMBED_DECOMPRESSOR=1'; |
758194b0 VS |
386 | |
387 | objcopyflags = '-O binary'; | |
7f63a64f | 388 | mips_ldflags = '-static-libgcc -Wl,-Ttext,$(TARGET_DECOMPRESSOR_LINK_ADDR)'; |
5a407278 | 389 | ldadd = '-lgcc'; |
758194b0 VS |
390 | cflags = '-static-libgcc'; |
391 | enable = mips; | |
392 | }; | |
393 | ||
60240b8b VS |
394 | image = { |
395 | name = lzma_decompress; | |
396 | i386_pc = boot/i386/pc/startup_raw.S; | |
397 | ||
398 | objcopyflags = '-O binary'; | |
c4c48c54 | 399 | ldflags = '$(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x8200'; |
60240b8b VS |
400 | enable = i386_pc; |
401 | }; | |
402 | ||
297f0c2b BC |
403 | image = { |
404 | name = fwstart; | |
54da1feb | 405 | mips_loongson = boot/mips/loongson/fwstart.S; |
911bd640 | 406 | objcopyflags = '-O binary'; |
1d955d00 | 407 | ldflags = '-static-libgcc -lgcc -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic'; |
54da1feb | 408 | enable = mips_loongson; |
297f0c2b BC |
409 | }; |
410 | ||
a9fa2a22 | 411 | image = { |
14a2562c VS |
412 | name = fwstart_fuloong2f; |
413 | mips_loongson = boot/mips/loongson/fuloong2f.S; | |
911bd640 | 414 | objcopyflags = '-O binary'; |
a9fa2a22 | 415 | ldflags = '-static-libgcc -lgcc -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic'; |
54da1feb | 416 | enable = mips_loongson; |
297f0c2b BC |
417 | }; |
418 | ||
e235a228 BC |
419 | module = { |
420 | name = trig; | |
8427685f | 421 | common_nodist = trigtables.c; |
e235a228 | 422 | extra_dist = gentrigtables.c; |
e235a228 BC |
423 | }; |
424 | ||
baea1766 BC |
425 | module = { |
426 | name = cs5536; | |
f7711f5e BC |
427 | x86 = bus/cs5536.c; |
428 | enable = x86; | |
baea1766 BC |
429 | }; |
430 | ||
8c411768 BC |
431 | module = { |
432 | name = libusb; | |
8427685f | 433 | emu = bus/usb/emu/usb.c; |
911bd640 BC |
434 | enable = emu; |
435 | condition = COND_GRUB_EMU_USB; | |
8c411768 BC |
436 | }; |
437 | ||
297f0c2b BC |
438 | module = { |
439 | name = lsspd; | |
54da1feb VS |
440 | mips_loongson = commands/mips/loongson/lsspd.c; |
441 | enable = mips_loongson; | |
297f0c2b BC |
442 | }; |
443 | ||
8c411768 BC |
444 | module = { |
445 | name = usb; | |
8427685f | 446 | common = bus/usb/usb.c; |
fe942b7d VS |
447 | common = bus/usb/usbtrans.c; |
448 | common = bus/usb/usbhub.c; | |
eefe8abd | 449 | enable = usb; |
fe942b7d VS |
450 | }; |
451 | ||
452 | module = { | |
453 | name = emuusb; | |
454 | common = bus/usb/usb.c; | |
455 | condition = COND_GRUB_EMU_USB; | |
8c411768 BC |
456 | }; |
457 | ||
d84666e6 BC |
458 | module = { |
459 | name = usbserial_common; | |
460 | common = bus/usb/serial/common.c; | |
eefe8abd | 461 | enable = usb; |
d84666e6 BC |
462 | }; |
463 | ||
464 | module = { | |
465 | name = usbserial_pl2303; | |
466 | common = bus/usb/serial/pl2303.c; | |
eefe8abd | 467 | enable = usb; |
d84666e6 BC |
468 | }; |
469 | ||
470 | module = { | |
471 | name = usbserial_ftdi; | |
472 | common = bus/usb/serial/ftdi.c; | |
eefe8abd | 473 | enable = usb; |
d84666e6 BC |
474 | }; |
475 | ||
66a93674 VS |
476 | module = { |
477 | name = usbserial_usbdebug; | |
478 | common = bus/usb/serial/usbdebug_late.c; | |
479 | enable = usb; | |
480 | }; | |
481 | ||
8c411768 BC |
482 | module = { |
483 | name = uhci; | |
8427685f | 484 | common = bus/usb/uhci.c; |
f7bf6c31 | 485 | enable = pci; |
8c411768 BC |
486 | }; |
487 | ||
488 | module = { | |
489 | name = ohci; | |
8427685f | 490 | common = bus/usb/ohci.c; |
eefe8abd | 491 | enable = pci; |
8c411768 BC |
492 | }; |
493 | ||
2f82ea94 AN |
494 | module = { |
495 | name = ehci; | |
496 | common = bus/usb/ehci.c; | |
497 | enable = pci; | |
498 | }; | |
499 | ||
8c411768 BC |
500 | module = { |
501 | name = pci; | |
fe942b7d | 502 | common = bus/pci.c; |
d9b78bce | 503 | |
911bd640 | 504 | enable = i386_pc; |
911bd640 BC |
505 | enable = i386_ieee1275; |
506 | enable = i386_coreboot; | |
f0b05761 | 507 | enable = i386_multiboot; |
fe942b7d VS |
508 | }; |
509 | ||
7cd0df84 VS |
510 | module = { |
511 | name = nativedisk; | |
512 | common = commands/nativedisk.c; | |
513 | }; | |
514 | ||
fe942b7d VS |
515 | module = { |
516 | name = emupci; | |
517 | common = bus/emu/pci.c; | |
518 | common = commands/lspci.c; | |
519 | ||
520 | condition = COND_GRUB_EMU_PCI; | |
8c411768 BC |
521 | }; |
522 | ||
8906c3dd VS |
523 | module = { |
524 | name = lsdev; | |
525 | common = commands/arc/lsdev.c; | |
526 | ||
527 | enable = mips_arc; | |
528 | }; | |
529 | ||
8c411768 BC |
530 | library = { |
531 | name = libgnulib.a; | |
8427685f | 532 | common = gnulib/regex.c; |
8c411768 BC |
533 | cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)'; |
534 | cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)'; | |
8c411768 BC |
535 | }; |
536 | ||
16c7cb32 BC |
537 | module = { |
538 | name = cmostest; | |
eefe8abd VS |
539 | common = commands/i386/cmostest.c; |
540 | enable = cmos; | |
16c7cb32 BC |
541 | }; |
542 | ||
d55ffb02 VS |
543 | module = { |
544 | name = cmosdump; | |
545 | common = commands/i386/cmosdump.c; | |
546 | enable = cmos; | |
547 | }; | |
548 | ||
8c411768 BC |
549 | module = { |
550 | name = iorw; | |
8427685f | 551 | common = commands/iorw.c; |
f7711f5e | 552 | enable = x86; |
8c411768 BC |
553 | }; |
554 | ||
cc19857a VS |
555 | module = { |
556 | name = cbtime; | |
557 | common = commands/i386/coreboot/cb_timestamps.c; | |
558 | enable = i386_coreboot; | |
559 | }; | |
560 | ||
561 | module = { | |
562 | name = cbls; | |
563 | common = commands/i386/coreboot/cbls.c; | |
564 | enable = i386_coreboot; | |
565 | }; | |
566 | ||
567 | module = { | |
568 | name = cbmemc; | |
569 | common = term/i386/coreboot/cbmemc.c; | |
570 | enable = i386_coreboot; | |
571 | }; | |
572 | ||
8c411768 BC |
573 | module = { |
574 | name = regexp; | |
8427685f | 575 | common = commands/regexp.c; |
8fdefb92 | 576 | common = commands/wildcard.c; |
8c411768 BC |
577 | ldadd = libgnulib.a; |
578 | cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)'; | |
579 | cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)'; | |
8c411768 BC |
580 | }; |
581 | ||
582 | module = { | |
583 | name = acpi; | |
584 | ||
1782b135 | 585 | common = commands/acpi.c; |
6585de4c | 586 | efi = commands/efi/acpi.c; |
8c411768 | 587 | i386_pc = commands/i386/pc/acpi.c; |
16bd6cfa VS |
588 | i386_coreboot = commands/i386/pc/acpi.c; |
589 | i386_multiboot = commands/i386/pc/acpi.c; | |
911bd640 | 590 | |
6585de4c | 591 | enable = efi; |
911bd640 | 592 | enable = i386_pc; |
16bd6cfa VS |
593 | enable = i386_coreboot; |
594 | enable = i386_multiboot; | |
8c411768 BC |
595 | }; |
596 | ||
1782b135 TG |
597 | module = { |
598 | name = lsacpi; | |
599 | ||
600 | common = commands/lsacpi.c; | |
601 | ||
9a79fcf2 | 602 | enable = efi; |
1782b135 TG |
603 | enable = i386_pc; |
604 | enable = i386_coreboot; | |
605 | enable = i386_multiboot; | |
606 | }; | |
607 | ||
105de6a7 TG |
608 | module = { |
609 | name = lsefisystab; | |
610 | ||
611 | common = commands/efi/lsefisystab.c; | |
612 | ||
9a79fcf2 | 613 | enable = efi; |
105de6a7 TG |
614 | }; |
615 | ||
616 | module = { | |
617 | name = lssal; | |
618 | ||
619 | common = commands/efi/lssal.c; | |
620 | ||
9a79fcf2 | 621 | enable = efi; |
105de6a7 TG |
622 | }; |
623 | ||
41a331a8 TG |
624 | module = { |
625 | name = lsefimmap; | |
626 | ||
627 | common = commands/efi/lsefimmap.c; | |
628 | ||
9a79fcf2 | 629 | enable = efi; |
41a331a8 TG |
630 | }; |
631 | ||
7bd29c01 VS |
632 | module = { |
633 | name = lsefi; | |
634 | common = commands/efi/lsefi.c; | |
635 | enable = efi; | |
636 | }; | |
637 | ||
c5052c81 PJ |
638 | module = { |
639 | name = efifwsetup; | |
640 | efi = commands/efi/efifwsetup.c; | |
641 | enable = efi; | |
642 | }; | |
643 | ||
8c411768 | 644 | module = { |
8c411768 | 645 | name = blocklist; |
8427685f | 646 | common = commands/blocklist.c; |
8c411768 BC |
647 | }; |
648 | ||
649 | module = { | |
8c411768 | 650 | name = boot; |
8427685f | 651 | common = commands/boot.c; |
8c411768 | 652 | i386_pc = lib/i386/pc/biosnum.c; |
685475e5 | 653 | enable = videomodules; |
8c411768 BC |
654 | }; |
655 | ||
656 | module = { | |
8c411768 | 657 | name = cat; |
8427685f | 658 | common = commands/cat.c; |
8c411768 BC |
659 | }; |
660 | ||
661 | module = { | |
8c411768 | 662 | name = cmp; |
8427685f | 663 | common = commands/cmp.c; |
8c411768 BC |
664 | }; |
665 | ||
666 | module = { | |
8c411768 | 667 | name = configfile; |
8427685f | 668 | common = commands/configfile.c; |
8c411768 BC |
669 | }; |
670 | ||
671 | module = { | |
672 | name = cpuid; | |
354128c8 | 673 | x86 = commands/i386/cpuid.c; |
911bd640 | 674 | enable = x86; |
8c411768 BC |
675 | }; |
676 | ||
8c411768 | 677 | module = { |
8c411768 | 678 | name = date; |
8427685f | 679 | common = commands/date.c; |
8c411768 BC |
680 | }; |
681 | ||
682 | module = { | |
683 | name = drivemap; | |
684 | ||
685 | i386_pc = commands/i386/pc/drivemap.c; | |
686 | i386_pc = commands/i386/pc/drivemap_int13h.S; | |
911bd640 | 687 | enable = i386_pc; |
8c411768 BC |
688 | }; |
689 | ||
690 | module = { | |
8c411768 | 691 | name = echo; |
8427685f | 692 | common = commands/echo.c; |
8c411768 BC |
693 | }; |
694 | ||
695 | module = { | |
8c411768 | 696 | name = extcmd; |
8427685f BC |
697 | common = commands/extcmd.c; |
698 | common = lib/arg.c; | |
ee74fa48 | 699 | enable = terminfomodule; |
8c411768 BC |
700 | }; |
701 | ||
702 | module = { | |
703 | name = fixvideo; | |
6585de4c VS |
704 | common = commands/efi/fixvideo.c; |
705 | enable = i386_efi; | |
706 | enable = x86_64_efi; | |
8c411768 BC |
707 | }; |
708 | ||
709 | module = { | |
8c411768 | 710 | name = gptsync; |
8427685f | 711 | common = commands/gptsync.c; |
8c411768 BC |
712 | }; |
713 | ||
714 | module = { | |
715 | name = halt; | |
8427685f | 716 | nopc = commands/halt.c; |
8c411768 | 717 | i386_pc = commands/i386/pc/halt.c; |
4df7996d | 718 | i386_pc = commands/acpihalt.c; |
2419f17a VS |
719 | i386_coreboot = commands/acpihalt.c; |
720 | i386_multiboot = commands/acpihalt.c; | |
c18271ed | 721 | i386_efi = commands/acpihalt.c; |
722 | x86_64_efi = commands/acpihalt.c; | |
afba9f98 VS |
723 | i386_multiboot = lib/i386/halt.c; |
724 | i386_coreboot = lib/i386/halt.c; | |
725 | i386_qemu = lib/i386/halt.c; | |
6585de4c | 726 | efi = lib/efi/halt.c; |
afba9f98 VS |
727 | ieee1275 = lib/ieee1275/halt.c; |
728 | emu = lib/emu/halt.c; | |
8c411768 BC |
729 | }; |
730 | ||
544c2487 VS |
731 | module = { |
732 | name = reboot; | |
733 | i386 = lib/i386/reboot.c; | |
734 | i386 = lib/i386/reboot_trampoline.S; | |
735 | ia64_efi = lib/efi/reboot.c; | |
736 | x86_64_efi = lib/efi/reboot.c; | |
737 | powerpc_ieee1275 = lib/ieee1275/reboot.c; | |
738 | sparc64_ieee1275 = lib/ieee1275/reboot.c; | |
739 | mips_arc = lib/mips/arc/reboot.c; | |
740 | mips_loongson = lib/mips/loongson/reboot.c; | |
741 | mips_qemu_mips = lib/mips/qemu_mips/reboot.c; | |
742 | common = commands/reboot.c; | |
743 | }; | |
744 | ||
8c411768 | 745 | module = { |
8c411768 | 746 | name = hashsum; |
8427685f | 747 | common = commands/hashsum.c; |
8c411768 BC |
748 | }; |
749 | ||
5e3b8dcb VS |
750 | module = { |
751 | name = verify; | |
752 | common = commands/verify.c; | |
753 | cflags = '$(CFLAGS_POSIX)'; | |
754 | cppflags = '-I$(srcdir)/lib/posix_wrap'; | |
755 | }; | |
756 | ||
8c411768 BC |
757 | module = { |
758 | name = hdparm; | |
8427685f BC |
759 | common = commands/hdparm.c; |
760 | common = lib/hexdump.c; | |
eefe8abd | 761 | enable = pci; |
9a79fcf2 | 762 | enable = mips_qemu_mips; |
8c411768 BC |
763 | }; |
764 | ||
765 | module = { | |
8c411768 | 766 | name = help; |
8427685f | 767 | common = commands/help.c; |
8c411768 BC |
768 | }; |
769 | ||
770 | module = { | |
8c411768 | 771 | name = hexdump; |
8427685f BC |
772 | common = commands/hexdump.c; |
773 | common = lib/hexdump.c; | |
8c411768 BC |
774 | }; |
775 | ||
776 | module = { | |
8c411768 | 777 | name = keystatus; |
8427685f | 778 | common = commands/keystatus.c; |
8c411768 BC |
779 | }; |
780 | ||
781 | module = { | |
782 | name = loadbios; | |
6585de4c VS |
783 | common = commands/efi/loadbios.c; |
784 | enable = i386_efi; | |
785 | enable = x86_64_efi; | |
8c411768 BC |
786 | }; |
787 | ||
788 | module = { | |
8c411768 | 789 | name = loadenv; |
8427685f BC |
790 | common = commands/loadenv.c; |
791 | common = lib/envblk.c; | |
8c411768 BC |
792 | }; |
793 | ||
794 | module = { | |
8c411768 | 795 | name = ls; |
8427685f | 796 | common = commands/ls.c; |
8c411768 BC |
797 | }; |
798 | ||
799 | module = { | |
8c411768 | 800 | name = lsmmap; |
8427685f | 801 | common = commands/lsmmap.c; |
8c411768 BC |
802 | }; |
803 | ||
804 | module = { | |
805 | name = lspci; | |
8427685f | 806 | common = commands/lspci.c; |
8c411768 | 807 | |
eefe8abd | 808 | enable = pci; |
8c411768 BC |
809 | }; |
810 | ||
811 | module = { | |
8c411768 | 812 | name = memrw; |
8427685f | 813 | common = commands/memrw.c; |
8c411768 BC |
814 | }; |
815 | ||
816 | module = { | |
8c411768 | 817 | name = minicmd; |
8427685f | 818 | common = commands/minicmd.c; |
8c411768 BC |
819 | }; |
820 | ||
821 | module = { | |
8c411768 | 822 | name = parttool; |
8427685f | 823 | common = commands/parttool.c; |
8c411768 BC |
824 | }; |
825 | ||
826 | module = { | |
8c411768 | 827 | name = password; |
8427685f | 828 | common = commands/password.c; |
8c411768 BC |
829 | }; |
830 | ||
831 | module = { | |
8c411768 | 832 | name = password_pbkdf2; |
8427685f | 833 | common = commands/password_pbkdf2.c; |
8c411768 BC |
834 | }; |
835 | ||
836 | module = { | |
837 | name = play; | |
f7711f5e BC |
838 | x86 = commands/i386/pc/play.c; |
839 | enable = x86; | |
8c411768 BC |
840 | }; |
841 | ||
b78d6c32 VS |
842 | module = { |
843 | name = spkmodem; | |
844 | x86 = term/spkmodem.c; | |
845 | enable = x86; | |
846 | }; | |
847 | ||
848 | module = { | |
849 | name = morse; | |
850 | x86 = term/morse.c; | |
851 | enable = x86; | |
852 | }; | |
853 | ||
8c411768 | 854 | module = { |
8c411768 | 855 | name = probe; |
8427685f | 856 | common = commands/probe.c; |
8c411768 BC |
857 | }; |
858 | ||
8c411768 | 859 | module = { |
8c411768 | 860 | name = read; |
8427685f | 861 | common = commands/read.c; |
8c411768 BC |
862 | }; |
863 | ||
8c411768 | 864 | module = { |
8c411768 | 865 | name = search; |
8427685f | 866 | common = commands/search_wrap.c; |
610c1efd | 867 | extra_dist = commands/search.c; |
8c411768 BC |
868 | }; |
869 | ||
870 | module = { | |
8c411768 | 871 | name = search_fs_file; |
8427685f | 872 | common = commands/search_file.c; |
8c411768 BC |
873 | }; |
874 | ||
875 | module = { | |
8c411768 | 876 | name = search_fs_uuid; |
8427685f | 877 | common = commands/search_uuid.c; |
8c411768 BC |
878 | }; |
879 | ||
880 | module = { | |
8c411768 | 881 | name = search_label; |
8427685f | 882 | common = commands/search_label.c; |
8c411768 BC |
883 | }; |
884 | ||
885 | module = { | |
886 | name = setpci; | |
8427685f | 887 | common = commands/setpci.c; |
30545b85 | 888 | enable = pci; |
8c411768 BC |
889 | }; |
890 | ||
7d462559 VS |
891 | module = { |
892 | name = pcidump; | |
893 | common = commands/pcidump.c; | |
894 | enable = pci; | |
895 | }; | |
896 | ||
8c411768 | 897 | module = { |
8c411768 | 898 | name = sleep; |
8427685f | 899 | common = commands/sleep.c; |
8c411768 BC |
900 | }; |
901 | ||
902 | module = { | |
903 | name = suspend; | |
8427685f | 904 | ieee1275 = commands/ieee1275/suspend.c; |
911bd640 BC |
905 | enable = i386_ieee1275; |
906 | enable = powerpc_ieee1275; | |
8c411768 BC |
907 | }; |
908 | ||
61c42af0 VS |
909 | module = { |
910 | name = escc; | |
911 | ieee1275 = term/ieee1275/escc.c; | |
912 | enable = powerpc_ieee1275; | |
913 | }; | |
914 | ||
8c411768 | 915 | module = { |
8c411768 | 916 | name = terminal; |
8427685f | 917 | common = commands/terminal.c; |
8c411768 BC |
918 | }; |
919 | ||
920 | module = { | |
8c411768 | 921 | name = test; |
8427685f | 922 | common = commands/test.c; |
8c411768 BC |
923 | }; |
924 | ||
925 | module = { | |
8c411768 | 926 | name = true; |
8427685f | 927 | common = commands/true.c; |
8c411768 BC |
928 | }; |
929 | ||
930 | module = { | |
931 | name = usbtest; | |
8427685f | 932 | common = commands/usbtest.c; |
eefe8abd | 933 | enable = usb; |
8c411768 BC |
934 | }; |
935 | ||
936 | module = { | |
540e2fe1 VS |
937 | name = videoinfo; |
938 | common = commands/videoinfo.c; | |
8c411768 BC |
939 | }; |
940 | ||
941 | module = { | |
8c411768 | 942 | name = videotest; |
8427685f | 943 | common = commands/videotest.c; |
8c411768 BC |
944 | }; |
945 | ||
946 | module = { | |
8c411768 | 947 | name = xnu_uuid; |
8427685f | 948 | common = commands/xnu_uuid.c; |
8c411768 BC |
949 | }; |
950 | ||
951 | module = { | |
8c411768 | 952 | name = dm_nv; |
8427685f | 953 | common = disk/dmraid_nvidia.c; |
8c411768 BC |
954 | }; |
955 | ||
956 | module = { | |
8c411768 | 957 | name = loopback; |
8427685f | 958 | common = disk/loopback.c; |
8c411768 BC |
959 | }; |
960 | ||
8585e54b VS |
961 | module = { |
962 | name = cryptodisk; | |
963 | common = disk/cryptodisk.c; | |
964 | }; | |
965 | ||
7217f315 MG |
966 | module = { |
967 | name = luks; | |
968 | common = disk/luks.c; | |
969 | common = disk/AFSplitter.c; | |
970 | }; | |
971 | ||
1a1f408f VS |
972 | module = { |
973 | name = geli; | |
974 | common = disk/geli.c; | |
975 | }; | |
976 | ||
8c411768 | 977 | module = { |
8c411768 | 978 | name = lvm; |
8427685f | 979 | common = disk/lvm.c; |
8c411768 BC |
980 | }; |
981 | ||
076e7c0f VS |
982 | module = { |
983 | name = ldm; | |
984 | common = disk/ldm.c; | |
985 | }; | |
986 | ||
8c411768 | 987 | module = { |
1e8d555b | 988 | name = mdraid09; |
8427685f | 989 | common = disk/mdraid_linux.c; |
8c411768 BC |
990 | }; |
991 | ||
22e6a774 VS |
992 | module = { |
993 | name = mdraid09_be; | |
994 | common = disk/mdraid_linux_be.c; | |
995 | }; | |
996 | ||
1e8d555b VS |
997 | module = { |
998 | name = mdraid1x; | |
999 | common = disk/mdraid1x_linux.c; | |
1000 | }; | |
1001 | ||
8c411768 | 1002 | module = { |
076e7c0f VS |
1003 | name = diskfilter; |
1004 | common = disk/diskfilter.c; | |
8c411768 BC |
1005 | }; |
1006 | ||
1007 | module = { | |
8c411768 | 1008 | name = raid5rec; |
8427685f | 1009 | common = disk/raid5_recover.c; |
8c411768 BC |
1010 | }; |
1011 | ||
1012 | module = { | |
8c411768 | 1013 | name = raid6rec; |
8427685f | 1014 | common = disk/raid6_recover.c; |
8c411768 BC |
1015 | }; |
1016 | ||
1017 | module = { | |
8c411768 | 1018 | name = scsi; |
8427685f | 1019 | common = disk/scsi.c; |
8c411768 BC |
1020 | }; |
1021 | ||
1022 | module = { | |
8c411768 | 1023 | name = memdisk; |
8427685f | 1024 | common = disk/memdisk.c; |
8c411768 BC |
1025 | }; |
1026 | ||
1027 | module = { | |
1028 | name = ata; | |
8427685f | 1029 | common = disk/ata.c; |
eefe8abd | 1030 | enable = pci; |
a228ec10 | 1031 | enable = mips_qemu_mips; |
8c411768 BC |
1032 | }; |
1033 | ||
1034 | module = { | |
de2690be VS |
1035 | name = ahci; |
1036 | common = disk/ahci.c; | |
eefe8abd | 1037 | enable = pci; |
8c411768 BC |
1038 | }; |
1039 | ||
de2690be VS |
1040 | module = { |
1041 | name = pata; | |
1042 | common = disk/pata.c; | |
eefe8abd | 1043 | enable = pci; |
a228ec10 | 1044 | enable = mips_qemu_mips; |
8c411768 BC |
1045 | }; |
1046 | ||
1047 | module = { | |
1048 | name = biosdisk; | |
1049 | i386_pc = disk/i386/pc/biosdisk.c; | |
911bd640 | 1050 | enable = i386_pc; |
8c411768 BC |
1051 | }; |
1052 | ||
1053 | module = { | |
1054 | name = usbms; | |
8427685f | 1055 | common = disk/usbms.c; |
eefe8abd | 1056 | enable = usb; |
8c411768 BC |
1057 | }; |
1058 | ||
1059 | module = { | |
1060 | name = nand; | |
8427685f | 1061 | ieee1275 = disk/ieee1275/nand.c; |
911bd640 | 1062 | enable = i386_ieee1275; |
8c411768 BC |
1063 | }; |
1064 | ||
1065 | module = { | |
1066 | name = efiemu; | |
16bd6cfa VS |
1067 | common = efiemu/main.c; |
1068 | common = efiemu/i386/loadcore32.c; | |
1069 | common = efiemu/i386/loadcore64.c; | |
8c411768 | 1070 | i386_pc = efiemu/i386/pc/cfgtables.c; |
8218d8b6 VS |
1071 | i386_coreboot = efiemu/i386/pc/cfgtables.c; |
1072 | i386_multiboot = efiemu/i386/pc/cfgtables.c; | |
1073 | i386_ieee1275 = efiemu/i386/nocfgtables.c; | |
6f8157cb | 1074 | i386_qemu = efiemu/i386/nocfgtables.c; |
16bd6cfa VS |
1075 | common = efiemu/mm.c; |
1076 | common = efiemu/loadcore_common.c; | |
1077 | common = efiemu/symbols.c; | |
1078 | common = efiemu/loadcore32.c; | |
1079 | common = efiemu/loadcore64.c; | |
1080 | common = efiemu/prepare32.c; | |
1081 | common = efiemu/prepare64.c; | |
1082 | common = efiemu/pnvram.c; | |
1083 | common = efiemu/i386/coredetect.c; | |
a60f6ee1 BC |
1084 | |
1085 | extra_dist = efiemu/prepare.c; | |
1086 | extra_dist = efiemu/loadcore.c; | |
1087 | extra_dist = efiemu/runtime/efiemu.S; | |
1088 | extra_dist = efiemu/runtime/efiemu.c; | |
911bd640 BC |
1089 | |
1090 | enable = i386_pc; | |
8218d8b6 | 1091 | enable = i386_coreboot; |
16bd6cfa VS |
1092 | enable = i386_ieee1275; |
1093 | enable = i386_multiboot; | |
6f8157cb | 1094 | enable = i386_qemu; |
8c411768 BC |
1095 | }; |
1096 | ||
1097 | module = { | |
1098 | name = font; | |
8427685f BC |
1099 | common = font/font.c; |
1100 | common = font/font_cmd.c; | |
eefe8abd | 1101 | enable = videomodules; |
8c411768 BC |
1102 | }; |
1103 | ||
ce50dbd7 VS |
1104 | module = { |
1105 | name = procfs; | |
1106 | common = fs/proc.c; | |
1107 | }; | |
1108 | ||
8c411768 | 1109 | module = { |
8c411768 | 1110 | name = affs; |
8427685f | 1111 | common = fs/affs.c; |
8c411768 BC |
1112 | }; |
1113 | ||
1114 | module = { | |
8c411768 | 1115 | name = afs; |
8427685f | 1116 | common = fs/afs.c; |
8c411768 BC |
1117 | }; |
1118 | ||
1119 | module = { | |
5825b379 VS |
1120 | name = bfs; |
1121 | common = fs/bfs.c; | |
8c411768 BC |
1122 | }; |
1123 | ||
1124 | module = { | |
4dfbc574 RM |
1125 | name = btrfs; |
1126 | common = fs/btrfs.c; | |
3836e89d | 1127 | common = lib/crc.c; |
095f077e SJ |
1128 | cflags = '$(CFLAGS_POSIX) -Wno-undef'; |
1129 | cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/minilzo -DMINILZO_HAVE_CONFIG_H'; | |
8c411768 BC |
1130 | }; |
1131 | ||
1132 | module = { | |
8c411768 | 1133 | name = cpio; |
8427685f | 1134 | common = fs/cpio.c; |
8c411768 BC |
1135 | }; |
1136 | ||
4dfbc574 | 1137 | module = { |
a1a8b1b9 VS |
1138 | name = cpio_be; |
1139 | common = fs/cpio_be.c; | |
4dfbc574 RM |
1140 | }; |
1141 | ||
8c411768 | 1142 | module = { |
a1a8b1b9 VS |
1143 | name = newc; |
1144 | common = fs/newc.c; | |
1145 | }; | |
1146 | ||
1147 | module = { | |
1148 | name = odc; | |
1149 | common = fs/odc.c; | |
8c411768 BC |
1150 | }; |
1151 | ||
1152 | module = { | |
8c411768 | 1153 | name = ext2; |
8427685f | 1154 | common = fs/ext2.c; |
8c411768 BC |
1155 | }; |
1156 | ||
1157 | module = { | |
8c411768 | 1158 | name = fat; |
8427685f | 1159 | common = fs/fat.c; |
8c411768 BC |
1160 | }; |
1161 | ||
48fe18dc VS |
1162 | module = { |
1163 | name = exfat; | |
1164 | common = fs/exfat.c; | |
1165 | }; | |
1166 | ||
8c411768 | 1167 | module = { |
8c411768 | 1168 | name = fshelp; |
8427685f | 1169 | common = fs/fshelp.c; |
8c411768 BC |
1170 | }; |
1171 | ||
1172 | module = { | |
8c411768 | 1173 | name = hfs; |
8427685f | 1174 | common = fs/hfs.c; |
8c411768 BC |
1175 | }; |
1176 | ||
1177 | module = { | |
8c411768 | 1178 | name = hfsplus; |
8427685f | 1179 | common = fs/hfsplus.c; |
8c411768 BC |
1180 | }; |
1181 | ||
1182 | module = { | |
8c411768 | 1183 | name = iso9660; |
8427685f | 1184 | common = fs/iso9660.c; |
8c411768 BC |
1185 | }; |
1186 | ||
1187 | module = { | |
8c411768 | 1188 | name = jfs; |
8427685f | 1189 | common = fs/jfs.c; |
8c411768 BC |
1190 | }; |
1191 | ||
1192 | module = { | |
8c411768 | 1193 | name = minix; |
8427685f | 1194 | common = fs/minix.c; |
8c411768 BC |
1195 | }; |
1196 | ||
b4a0c915 VS |
1197 | module = { |
1198 | name = minix2; | |
1199 | common = fs/minix2.c; | |
1200 | }; | |
1201 | ||
3dd3dd33 FZ |
1202 | module = { |
1203 | name = minix3; | |
1204 | common = fs/minix3.c; | |
1205 | }; | |
1206 | ||
ac66b453 VS |
1207 | module = { |
1208 | name = minix_be; | |
1209 | common = fs/minix_be.c; | |
1210 | }; | |
1211 | ||
1212 | module = { | |
1213 | name = minix2_be; | |
1214 | common = fs/minix2_be.c; | |
1215 | }; | |
1216 | ||
1217 | module = { | |
1218 | name = minix3_be; | |
1219 | common = fs/minix3_be.c; | |
1220 | }; | |
1221 | ||
8c411768 | 1222 | module = { |
8c411768 | 1223 | name = nilfs2; |
8427685f | 1224 | common = fs/nilfs2.c; |
8c411768 BC |
1225 | }; |
1226 | ||
1227 | module = { | |
8c411768 | 1228 | name = ntfs; |
8427685f | 1229 | common = fs/ntfs.c; |
8c411768 BC |
1230 | }; |
1231 | ||
1232 | module = { | |
8c411768 | 1233 | name = ntfscomp; |
8427685f | 1234 | common = fs/ntfscomp.c; |
8c411768 BC |
1235 | }; |
1236 | ||
1237 | module = { | |
8c411768 | 1238 | name = reiserfs; |
8427685f | 1239 | common = fs/reiserfs.c; |
8c411768 BC |
1240 | }; |
1241 | ||
29184e93 VS |
1242 | module = { |
1243 | name = romfs; | |
1244 | common = fs/romfs.c; | |
1245 | }; | |
1246 | ||
8c411768 | 1247 | module = { |
8c411768 | 1248 | name = sfs; |
8427685f | 1249 | common = fs/sfs.c; |
8c411768 BC |
1250 | }; |
1251 | ||
332fa368 VS |
1252 | module = { |
1253 | name = squash4; | |
1254 | common = fs/squash4.c; | |
c029da8a VS |
1255 | cflags = '$(CFLAGS_POSIX) -Wno-undef'; |
1256 | cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -I$(srcdir)/lib/minilzo -DMINILZO_HAVE_CONFIG_H'; | |
332fa368 VS |
1257 | }; |
1258 | ||
8c411768 | 1259 | module = { |
8c411768 | 1260 | name = tar; |
8427685f | 1261 | common = fs/tar.c; |
8c411768 BC |
1262 | }; |
1263 | ||
1264 | module = { | |
8c411768 | 1265 | name = udf; |
8427685f | 1266 | common = fs/udf.c; |
8c411768 BC |
1267 | }; |
1268 | ||
1269 | module = { | |
8c411768 | 1270 | name = ufs1; |
8427685f | 1271 | common = fs/ufs.c; |
8c411768 BC |
1272 | }; |
1273 | ||
d9c48c7b VS |
1274 | module = { |
1275 | name = ufs1_be; | |
1276 | common = fs/ufs_be.c; | |
1277 | }; | |
1278 | ||
8c411768 | 1279 | module = { |
8c411768 | 1280 | name = ufs2; |
8427685f | 1281 | common = fs/ufs2.c; |
8c411768 BC |
1282 | }; |
1283 | ||
1284 | module = { | |
8c411768 | 1285 | name = xfs; |
8427685f | 1286 | common = fs/xfs.c; |
8c411768 BC |
1287 | }; |
1288 | ||
bf78d5b2 RM |
1289 | module = { |
1290 | name = zfs; | |
1291 | common = fs/zfs/zfs.c; | |
1292 | common = fs/zfs/zfs_lzjb.c; | |
1293 | common = fs/zfs/zfs_sha256.c; | |
1294 | common = fs/zfs/zfs_fletcher.c; | |
1295 | }; | |
1296 | ||
f003a8c5 VS |
1297 | module = { |
1298 | name = zfscrypt; | |
1299 | common = fs/zfs/zfscrypt.c; | |
1300 | }; | |
1301 | ||
bf78d5b2 RM |
1302 | module = { |
1303 | name = zfsinfo; | |
1304 | common = fs/zfs/zfsinfo.c; | |
1305 | }; | |
1306 | ||
8c411768 BC |
1307 | module = { |
1308 | name = pxe; | |
8e60fc8f | 1309 | i386_pc = net/drivers/i386/pc/pxe.c; |
911bd640 | 1310 | enable = i386_pc; |
8c411768 BC |
1311 | }; |
1312 | ||
1313 | module = { | |
1314 | name = gettext; | |
8427685f | 1315 | common = gettext/gettext.c; |
8c411768 BC |
1316 | }; |
1317 | ||
1318 | module = { | |
8c411768 | 1319 | name = gfxmenu; |
8427685f BC |
1320 | common = gfxmenu/gfxmenu.c; |
1321 | common = gfxmenu/model.c; | |
1322 | common = gfxmenu/view.c; | |
1323 | common = gfxmenu/font.c; | |
1324 | common = gfxmenu/icon_manager.c; | |
1325 | common = gfxmenu/theme_loader.c; | |
1326 | common = gfxmenu/widget-box.c; | |
1327 | common = gfxmenu/gui_canvas.c; | |
1328 | common = gfxmenu/gui_circular_progress.c; | |
1329 | common = gfxmenu/gui_box.c; | |
1330 | common = gfxmenu/gui_label.c; | |
1331 | common = gfxmenu/gui_list.c; | |
1332 | common = gfxmenu/gui_image.c; | |
1333 | common = gfxmenu/gui_progress_bar.c; | |
1334 | common = gfxmenu/gui_util.c; | |
1335 | common = gfxmenu/gui_string_util.c; | |
8c411768 BC |
1336 | }; |
1337 | ||
1338 | module = { | |
8c411768 | 1339 | name = hello; |
8427685f | 1340 | common = hello/hello.c; |
8c411768 BC |
1341 | }; |
1342 | ||
1343 | module = { | |
8c411768 | 1344 | name = gzio; |
8427685f | 1345 | common = io/gzio.c; |
8c411768 BC |
1346 | }; |
1347 | ||
1348 | module = { | |
1349 | name = bufio; | |
8427685f | 1350 | common = io/bufio.c; |
eefe8abd | 1351 | enable = videomodules; |
8c411768 BC |
1352 | }; |
1353 | ||
1354 | module = { | |
8c411768 | 1355 | name = elf; |
8427685f | 1356 | common = kern/elf.c; |
18866643 AB |
1357 | |
1358 | extra_dist = kern/elfXX.c; | |
8c411768 BC |
1359 | }; |
1360 | ||
8c411768 | 1361 | module = { |
8c411768 | 1362 | name = crypto; |
8427685f | 1363 | common = lib/crypto.c; |
610c1efd BC |
1364 | |
1365 | extra_dist = lib/libgcrypt-grub/cipher/crypto.lst; | |
8c411768 BC |
1366 | }; |
1367 | ||
8c411768 | 1368 | module = { |
8c411768 | 1369 | name = pbkdf2; |
8427685f | 1370 | common = lib/pbkdf2.c; |
8c411768 BC |
1371 | }; |
1372 | ||
1373 | module = { | |
1374 | name = relocator; | |
16bd6cfa VS |
1375 | common = lib/relocator.c; |
1376 | x86 = lib/i386/relocator16.S; | |
1377 | x86 = lib/i386/relocator32.S; | |
1378 | x86 = lib/i386/relocator64.S; | |
1379 | i386 = lib/i386/relocator_asm.S; | |
1380 | x86_64 = lib/x86_64/relocator_asm.S; | |
8c411768 | 1381 | x86 = lib/i386/relocator.c; |
16bd6cfa | 1382 | ieee1275 = lib/ieee1275/relocator.c; |
6585de4c | 1383 | efi = lib/efi/relocator.c; |
16bd6cfa VS |
1384 | mips = lib/mips/relocator_asm.S; |
1385 | mips = lib/mips/relocator.c; | |
1386 | powerpc = lib/powerpc/relocator_asm.S; | |
1387 | powerpc = lib/powerpc/relocator.c; | |
1388 | ||
6556eba9 BC |
1389 | extra_dist = lib/i386/relocator_common.S; |
1390 | extra_dist = kern/powerpc/cache_flush.S; | |
1391 | ||
911bd640 | 1392 | enable = mips; |
16bd6cfa | 1393 | enable = powerpc; |
911bd640 | 1394 | enable = x86; |
8c411768 BC |
1395 | }; |
1396 | ||
1397 | module = { | |
1398 | name = datetime; | |
eefe8abd | 1399 | cmos = lib/cmos_datetime.c; |
6585de4c | 1400 | efi = lib/efi/datetime.c; |
8c411768 BC |
1401 | sparc64_ieee1275 = lib/ieee1275/datetime.c; |
1402 | powerpc_ieee1275 = lib/ieee1275/datetime.c; | |
a07a81b3 VS |
1403 | sparc64_ieee1275 = lib/ieee1275/cmos.c; |
1404 | powerpc_ieee1275 = lib/ieee1275/cmos.c; | |
1405 | ||
8906c3dd | 1406 | mips_arc = lib/arc/datetime.c; |
eefe8abd | 1407 | enable = noemu; |
8c411768 BC |
1408 | }; |
1409 | ||
1410 | module = { | |
1411 | name = setjmp; | |
8427685f | 1412 | common = lib/setjmp.S; |
2b6c0084 BC |
1413 | extra_dist = lib/i386/setjmp.S; |
1414 | extra_dist = lib/mips/setjmp.S; | |
1415 | extra_dist = lib/x86_64/setjmp.S; | |
1416 | extra_dist = lib/sparc64/setjmp.S; | |
1417 | extra_dist = lib/powerpc/setjmp.S; | |
9a79fcf2 | 1418 | extra_dist = lib/ia64/setjmp.S; |
2702b4e4 | 1419 | extra_dist = lib/ia64/longjmp.S; |
8c411768 BC |
1420 | }; |
1421 | ||
1422 | module = { | |
1423 | name = aout; | |
8427685f | 1424 | common = loader/aout.c; |
16bd6cfa | 1425 | enable = x86; |
8c411768 BC |
1426 | }; |
1427 | ||
1428 | module = { | |
1429 | name = bsd; | |
16bd6cfa VS |
1430 | x86 = loader/i386/bsd.c; |
1431 | x86 = loader/i386/bsd32.c; | |
1432 | x86 = loader/i386/bsd64.c; | |
610c1efd BC |
1433 | |
1434 | extra_dist = loader/i386/bsdXX.c; | |
1435 | extra_dist = loader/i386/bsd_pagetable.c; | |
1436 | ||
16bd6cfa | 1437 | enable = x86; |
8c411768 BC |
1438 | }; |
1439 | ||
70e8145a VS |
1440 | module = { |
1441 | name = plan9; | |
1442 | i386_pc = loader/i386/pc/plan9.c; | |
1443 | enable = i386_pc; | |
1444 | }; | |
1445 | ||
1446 | ||
8c411768 BC |
1447 | module = { |
1448 | name = linux16; | |
0789b672 | 1449 | common = loader/i386/pc/linux.c; |
92750e4c | 1450 | common = loader/linux.c; |
0789b672 VS |
1451 | common = lib/cmdline.c; |
1452 | enable = x86; | |
8c411768 BC |
1453 | }; |
1454 | ||
16bd6cfa VS |
1455 | module = { |
1456 | name = ntldr; | |
1457 | i386_pc = loader/i386/pc/ntldr.c; | |
1458 | enable = i386_pc; | |
1459 | }; | |
1460 | ||
b28fd807 VS |
1461 | module = { |
1462 | name = freedos; | |
1463 | i386_pc = loader/i386/pc/freedos.c; | |
1464 | enable = i386_pc; | |
1465 | }; | |
1466 | ||
0a96117d VS |
1467 | module = { |
1468 | name = pxechain; | |
1469 | i386_pc = loader/i386/pc/pxechainloader.c; | |
1470 | enable = i386_pc; | |
1471 | }; | |
1472 | ||
8c411768 BC |
1473 | module = { |
1474 | name = multiboot2; | |
1475 | cppflags = "-DGRUB_USE_MULTIBOOT2"; | |
1476 | ||
8427685f BC |
1477 | common = loader/multiboot.c; |
1478 | common = loader/multiboot_mbi2.c; | |
911bd640 BC |
1479 | enable = x86; |
1480 | enable = mips; | |
8c411768 BC |
1481 | }; |
1482 | ||
1483 | module = { | |
1484 | name = multiboot; | |
8427685f BC |
1485 | common = loader/multiboot.c; |
1486 | x86 = loader/i386/multiboot_mbi.c; | |
a60f6ee1 | 1487 | extra_dist = loader/multiboot_elfxx.c; |
911bd640 | 1488 | enable = x86; |
8c411768 BC |
1489 | }; |
1490 | ||
1491 | module = { | |
1492 | name = linux; | |
16bd6cfa | 1493 | x86 = loader/i386/linux.c; |
e31bb619 | 1494 | i386_pc = lib/i386/pc/vesa_modes_table.c; |
8c411768 BC |
1495 | mips = loader/mips/linux.c; |
1496 | powerpc_ieee1275 = loader/powerpc/ieee1275/linux.c; | |
1497 | sparc64_ieee1275 = loader/sparc64/ieee1275/linux.c; | |
6585de4c | 1498 | ia64_efi = loader/ia64/efi/linux.c; |
92750e4c | 1499 | common = loader/linux.c; |
25953e10 | 1500 | common = lib/cmdline.c; |
8427685f | 1501 | enable = noemu; |
8c411768 BC |
1502 | }; |
1503 | ||
1504 | module = { | |
1505 | name = xnu; | |
16bd6cfa VS |
1506 | x86 = loader/xnu_resume.c; |
1507 | x86 = loader/i386/xnu.c; | |
1508 | x86 = loader/macho32.c; | |
1509 | x86 = loader/macho64.c; | |
1510 | x86 = loader/macho.c; | |
1511 | x86 = loader/xnu.c; | |
99ce1597 | 1512 | x86 = loader/lzss.c; |
a60f6ee1 BC |
1513 | |
1514 | extra_dist = loader/machoXX.c; | |
16bd6cfa | 1515 | enable = x86; |
8c411768 BC |
1516 | }; |
1517 | ||
1518 | module = { | |
1519 | name = appleldr; | |
6585de4c VS |
1520 | common = loader/efi/appleloader.c; |
1521 | enable = i386_efi; | |
1522 | enable = x86_64_efi; | |
8c411768 BC |
1523 | }; |
1524 | ||
1525 | module = { | |
1526 | name = chain; | |
6585de4c | 1527 | efi = loader/efi/chainloader.c; |
8c411768 | 1528 | i386_pc = loader/i386/pc/chainloader.c; |
8d5d8444 | 1529 | i386_coreboot = loader/i386/coreboot/chainloader.c; |
911bd640 | 1530 | enable = i386_pc; |
ba7df45e | 1531 | enable = i386_coreboot; |
6585de4c | 1532 | enable = efi; |
8c411768 BC |
1533 | }; |
1534 | ||
1535 | module = { | |
1536 | name = mmap; | |
eefe8abd VS |
1537 | common = mmap/mmap.c; |
1538 | x86 = mmap/i386/uppermem.c; | |
1539 | x86 = mmap/i386/mmap.c; | |
1540 | ||
8c411768 BC |
1541 | i386_pc = mmap/i386/pc/mmap.c; |
1542 | i386_pc = mmap/i386/pc/mmap_helper.S; | |
1543 | ||
6585de4c | 1544 | efi = mmap/efi/mmap.c; |
8c411768 | 1545 | |
8906c3dd | 1546 | mips = mmap/mips/uppermem.c; |
911bd640 BC |
1547 | |
1548 | enable = x86; | |
c18271ed | 1549 | enable = ia64_efi; |
f440c33f | 1550 | enable = mips; |
8c411768 BC |
1551 | }; |
1552 | ||
1553 | module = { | |
8c411768 | 1554 | name = normal; |
8427685f BC |
1555 | common = normal/main.c; |
1556 | common = normal/cmdline.c; | |
1557 | common = normal/dyncmd.c; | |
1558 | common = normal/auth.c; | |
1559 | common = normal/autofs.c; | |
1560 | common = normal/color.c; | |
1561 | common = normal/completion.c; | |
1562 | common = normal/datetime.c; | |
1563 | common = normal/menu.c; | |
1564 | common = normal/menu_entry.c; | |
1565 | common = normal/menu_text.c; | |
1566 | common = normal/misc.c; | |
1567 | common = normal/crypto.c; | |
1568 | common = normal/term.c; | |
1569 | common = normal/context.c; | |
1570 | common = normal/charset.c; | |
1571 | ||
1572 | common = script/main.c; | |
1573 | common = script/script.c; | |
1574 | common = script/execute.c; | |
1575 | common = script/function.c; | |
1576 | common = script/lexer.c; | |
1577 | common = script/argv.c; | |
1578 | ||
9284756e BC |
1579 | common = commands/menuentry.c; |
1580 | ||
8427685f BC |
1581 | common = unidata.c; |
1582 | common_nodist = grub_script.tab.c; | |
1583 | common_nodist = grub_script.yy.c; | |
1584 | common_nodist = grub_script.tab.h; | |
1585 | common_nodist = grub_script.yy.h; | |
297f0c2b BC |
1586 | |
1587 | extra_dist = script/yylex.l; | |
1588 | extra_dist = script/parser.y; | |
1589 | ||
ebcecdf1 | 1590 | cflags = '$(CFLAGS_POSIX) -Wno-redundant-decls'; |
297f0c2b | 1591 | cppflags = '$(CPPFLAGS_POSIX)'; |
8c411768 BC |
1592 | }; |
1593 | ||
1594 | module = { | |
8c411768 | 1595 | name = part_acorn; |
8427685f | 1596 | common = partmap/acorn.c; |
8c411768 BC |
1597 | }; |
1598 | ||
1599 | module = { | |
8c411768 | 1600 | name = part_amiga; |
8427685f | 1601 | common = partmap/amiga.c; |
8c411768 BC |
1602 | }; |
1603 | ||
1604 | module = { | |
8c411768 | 1605 | name = part_apple; |
8427685f | 1606 | common = partmap/apple.c; |
8c411768 BC |
1607 | }; |
1608 | ||
1609 | module = { | |
8c411768 | 1610 | name = part_gpt; |
8427685f | 1611 | common = partmap/gpt.c; |
8c411768 BC |
1612 | }; |
1613 | ||
1614 | module = { | |
8c411768 | 1615 | name = part_msdos; |
8427685f | 1616 | common = partmap/msdos.c; |
8c411768 BC |
1617 | }; |
1618 | ||
1619 | module = { | |
8c411768 | 1620 | name = part_sun; |
8427685f | 1621 | common = partmap/sun.c; |
8c411768 BC |
1622 | }; |
1623 | ||
ac9ef7ee VS |
1624 | module = { |
1625 | name = part_plan; | |
1626 | common = partmap/plan.c; | |
111c1778 | 1627 | }; |
4e01c8c1 | 1628 | |
8906c3dd VS |
1629 | module = { |
1630 | name = part_dvh; | |
1631 | common = partmap/dvh.c; | |
1632 | }; | |
1633 | ||
8c411768 | 1634 | module = { |
8c411768 | 1635 | name = part_bsd; |
8427685f | 1636 | common = partmap/bsdlabel.c; |
8c411768 BC |
1637 | }; |
1638 | ||
1639 | module = { | |
8c411768 | 1640 | name = part_sunpc; |
8427685f | 1641 | common = partmap/sunpc.c; |
8c411768 BC |
1642 | }; |
1643 | ||
1644 | module = { | |
8c411768 | 1645 | name = msdospart; |
8427685f | 1646 | common = parttool/msdospart.c; |
8c411768 BC |
1647 | }; |
1648 | ||
8c411768 BC |
1649 | module = { |
1650 | name = at_keyboard; | |
8427685f | 1651 | common = term/at_keyboard.c; |
911bd640 | 1652 | enable = x86; |
8c411768 BC |
1653 | }; |
1654 | ||
1655 | module = { | |
1656 | name = gfxterm; | |
8427685f | 1657 | common = term/gfxterm.c; |
eefe8abd | 1658 | enable = videomodules; |
8c411768 BC |
1659 | }; |
1660 | ||
1661 | module = { | |
1662 | name = serial; | |
8427685f | 1663 | common = term/serial.c; |
d84666e6 | 1664 | x86 = term/ns8250.c; |
a9c7fd1c | 1665 | ieee1275 = term/ieee1275/serial.c; |
b04b5990 | 1666 | mips_arc = term/arc/serial.c; |
a9c7fd1c | 1667 | efi = term/efi/serial.c; |
d84666e6 | 1668 | |
a9c7fd1c VS |
1669 | enable = terminfomodule; |
1670 | enable = ieee1275; | |
b04b5990 | 1671 | enable = mips_arc; |
d84666e6 BC |
1672 | }; |
1673 | ||
1674 | module = { | |
1675 | name = sendkey; | |
1676 | i386_pc = commands/i386/pc/sendkey.c; | |
1677 | enable = i386_pc; | |
8c411768 BC |
1678 | }; |
1679 | ||
1680 | module = { | |
8c411768 | 1681 | name = terminfo; |
8427685f BC |
1682 | common = term/terminfo.c; |
1683 | common = term/tparm.c; | |
ee74fa48 | 1684 | enable = terminfomodule; |
8c411768 BC |
1685 | }; |
1686 | ||
1687 | module = { | |
1688 | name = usb_keyboard; | |
8427685f | 1689 | common = term/usb_keyboard.c; |
eefe8abd | 1690 | enable = usb; |
8c411768 BC |
1691 | }; |
1692 | ||
1693 | module = { | |
1694 | name = vga; | |
9fc9ce37 | 1695 | common = video/i386/pc/vga.c; |
911bd640 | 1696 | enable = i386_pc; |
8c411768 BC |
1697 | }; |
1698 | ||
1699 | module = { | |
1700 | name = vga_text; | |
16bd6cfa | 1701 | common = term/i386/pc/vga_text.c; |
16bd6cfa | 1702 | enable = i386_pc; |
8c411768 BC |
1703 | }; |
1704 | ||
c35fc5bd VS |
1705 | module = { |
1706 | name = mda_text; | |
1707 | common = term/i386/pc/mda_text.c; | |
1708 | enable = i386_pc; | |
1709 | enable = i386_coreboot_multiboot_qemu; | |
1710 | }; | |
1711 | ||
297f0c2b BC |
1712 | module = { |
1713 | name = video_cirrus; | |
f7711f5e BC |
1714 | x86 = video/cirrus.c; |
1715 | enable = x86; | |
297f0c2b BC |
1716 | }; |
1717 | ||
1718 | module = { | |
1719 | name = video_bochs; | |
f7711f5e BC |
1720 | x86 = video/bochs.c; |
1721 | enable = x86; | |
297f0c2b BC |
1722 | }; |
1723 | ||
8c411768 BC |
1724 | module = { |
1725 | name = functional_test; | |
8427685f BC |
1726 | common = tests/lib/functional_test.c; |
1727 | common = tests/lib/test.c; | |
8c411768 BC |
1728 | }; |
1729 | ||
1730 | module = { | |
526ef13d | 1731 | name = exfctest; |
8427685f | 1732 | common = tests/example_functional_test.c; |
8c411768 BC |
1733 | }; |
1734 | ||
1735 | module = { | |
1736 | name = bitmap; | |
8427685f | 1737 | common = video/bitmap.c; |
eefe8abd | 1738 | enable = videomodules; |
8c411768 BC |
1739 | }; |
1740 | ||
1741 | module = { | |
1742 | name = bitmap_scale; | |
8427685f | 1743 | common = video/bitmap_scale.c; |
eefe8abd | 1744 | enable = videomodules; |
8c411768 BC |
1745 | }; |
1746 | ||
1747 | module = { | |
1748 | name = efi_gop; | |
6585de4c VS |
1749 | efi = video/efi_gop.c; |
1750 | enable = efi; | |
8c411768 BC |
1751 | }; |
1752 | ||
1753 | module = { | |
1754 | name = efi_uga; | |
6585de4c | 1755 | efi = video/efi_uga.c; |
c18271ed | 1756 | enable = i386_efi; |
1757 | enable = x86_64_efi; | |
8c411768 BC |
1758 | }; |
1759 | ||
1760 | module = { | |
8c411768 | 1761 | name = jpeg; |
8427685f | 1762 | common = video/readers/jpeg.c; |
8c411768 BC |
1763 | }; |
1764 | ||
1765 | module = { | |
8c411768 | 1766 | name = png; |
8427685f | 1767 | common = video/readers/png.c; |
8c411768 BC |
1768 | }; |
1769 | ||
1770 | module = { | |
8c411768 | 1771 | name = tga; |
8427685f | 1772 | common = video/readers/tga.c; |
8c411768 BC |
1773 | }; |
1774 | ||
1775 | module = { | |
1776 | name = vbe; | |
9fc9ce37 | 1777 | common = video/i386/pc/vbe.c; |
911bd640 | 1778 | enable = i386_pc; |
8c411768 BC |
1779 | }; |
1780 | ||
1781 | module = { | |
1782 | name = video_fb; | |
8427685f BC |
1783 | common = video/fb/video_fb.c; |
1784 | common = video/fb/fbblit.c; | |
1785 | common = video/fb/fbfill.c; | |
1786 | common = video/fb/fbutil.c; | |
eefe8abd | 1787 | enable = videomodules; |
8c411768 BC |
1788 | }; |
1789 | ||
1790 | module = { | |
1791 | name = video; | |
8427685f | 1792 | common = video/video.c; |
1c95b6d2 | 1793 | common = video/colors.c; |
eefe8abd | 1794 | enable = videomodules; |
8c411768 BC |
1795 | }; |
1796 | ||
1797 | module = { | |
1798 | name = ieee1275_fb; | |
8427685f | 1799 | ieee1275 = video/ieee1275.c; |
cf02731e | 1800 | enable = powerpc_ieee1275; |
8c411768 BC |
1801 | }; |
1802 | ||
d178788e VS |
1803 | module = { |
1804 | name = coreboot_fb; | |
1805 | common = video/i386/coreboot/cbfb.c; | |
1806 | enable = i386_coreboot; | |
1807 | }; | |
1808 | ||
8c411768 BC |
1809 | module = { |
1810 | name = sdl; | |
8427685f | 1811 | emu = video/emu/sdl.c; |
911bd640 | 1812 | enable = emu; |
8427685f | 1813 | condition = COND_GRUB_EMU_SDL; |
8c411768 BC |
1814 | }; |
1815 | ||
1816 | module = { | |
1817 | name = datehook; | |
8427685f | 1818 | common = hook/datehook.c; |
8c411768 | 1819 | }; |
92eb189b | 1820 | |
975cffff VS |
1821 | module = { |
1822 | name = net; | |
c0425677 | 1823 | common = net/net.c; |
038ec56a | 1824 | common = net/dns.c; |
138eeb36 | 1825 | common = net/bootp.c; |
7bb47706 MA |
1826 | common = net/ip.c; |
1827 | common = net/udp.c; | |
3a7af372 | 1828 | common = net/tcp.c; |
1367c143 | 1829 | common = net/icmp.c; |
a53cf653 | 1830 | common = net/icmp6.c; |
7bb47706 MA |
1831 | common = net/ethernet.c; |
1832 | common = net/arp.c; | |
7bb47706 MA |
1833 | common = net/netbuff.c; |
1834 | }; | |
1835 | ||
1836 | module = { | |
1837 | name = tftp; | |
1838 | common = net/tftp.c; | |
1839 | }; | |
1840 | ||
80e72236 VS |
1841 | module = { |
1842 | name = http; | |
1843 | common = net/http.c; | |
1844 | }; | |
1845 | ||
7bb47706 MA |
1846 | module = { |
1847 | name = ofnet; | |
9d22909b | 1848 | common = net/drivers/ieee1275/ofnet.c; |
7bb47706 MA |
1849 | enable = ieee1275; |
1850 | }; | |
90451bb1 | 1851 | |
9d22909b VS |
1852 | module = { |
1853 | name = efinet; | |
1854 | common = net/drivers/efi/efinet.c; | |
1855 | enable = efi; | |
1856 | }; | |
1857 | ||
90451bb1 VS |
1858 | module = { |
1859 | name = emunet; | |
1860 | emu = net/drivers/emu/emunet.c; | |
d8123bfb | 1861 | enable = emu; |
90451bb1 | 1862 | }; |
760a7e5a | 1863 | |
92eb189b VS |
1864 | module = { |
1865 | name = legacycfg; | |
1866 | common = commands/legacycfg.c; | |
fff175c7 | 1867 | common = lib/legacy_parse.c; |
d6d94820 | 1868 | emu = lib/i386/pc/vesa_modes_table.c; |
ec2dd179 VS |
1869 | i386_efi = lib/i386/pc/vesa_modes_table.c; |
1870 | x86_64_efi = lib/i386/pc/vesa_modes_table.c; | |
1871 | ||
92eb189b | 1872 | enable = i386_pc; |
ec2dd179 VS |
1873 | enable = i386_efi; |
1874 | enable = x86_64_efi; | |
abda0cad | 1875 | enable = emu; |
bd960307 | 1876 | }; |
122a9b2c | 1877 | |
928bad47 BC |
1878 | module = { |
1879 | name = test_blockarg; | |
1880 | common = tests/test_blockarg.c; | |
47b4c2c3 | 1881 | }; |
06f70117 | 1882 | |
f0aff67c SJ |
1883 | module = { |
1884 | name = xzio; | |
1885 | common = io/xzio.c; | |
1886 | common = lib/xzembed/xz_dec_bcj.c; | |
1887 | common = lib/xzembed/xz_dec_lzma2.c; | |
1888 | common = lib/xzembed/xz_dec_stream.c; | |
1889 | cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed'; | |
ebcecdf1 | 1890 | cflags='-Wno-unreachable-code'; |
f0aff67c SJ |
1891 | }; |
1892 | ||
d6beefcf SJ |
1893 | module = { |
1894 | name = lzopio; | |
1895 | common = io/lzopio.c; | |
1896 | common = lib/minilzo/minilzo.c; | |
ebcecdf1 | 1897 | cflags = '$(CFLAGS_POSIX) -Wno-undef -Wno-redundant-decls -Wno-error'; |
d6beefcf SJ |
1898 | cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/minilzo -DMINILZO_HAVE_CONFIG_H'; |
1899 | }; | |
1900 | ||
06f70117 VS |
1901 | module = { |
1902 | name = testload; | |
1903 | common = commands/testload.c; | |
fff175c7 | 1904 | }; |
890c9fa5 | 1905 | |
9ad7edd0 VS |
1906 | module = { |
1907 | name = backtrace; | |
1948a3b7 VS |
1908 | x86 = lib/i386/backtrace.c; |
1909 | common = lib/backtrace.c; | |
c1677cfc | 1910 | enable = x86; |
245f4582 VS |
1911 | }; |
1912 | ||
890c9fa5 VS |
1913 | module = { |
1914 | name = lsapm; | |
1915 | common = commands/i386/pc/lsapm.c; | |
1916 | enable = i386_pc; | |
1917 | }; | |
1a9130dd | 1918 | |
5aaf2c18 VS |
1919 | module = { |
1920 | name = keylayouts; | |
1921 | common = commands/keylayouts.c; | |
1a9130dd | 1922 | enable = videomodules; |
5aaf2c18 | 1923 | }; |
c5dc1690 | 1924 | |
4db34616 VS |
1925 | module = { |
1926 | name = priority_queue; | |
1927 | common = lib/priority_queue.c; | |
1928 | }; | |
1929 | ||
5ff1d945 VS |
1930 | module = { |
1931 | name = time; | |
1932 | common = commands/time.c; | |
1933 | }; | |
99cecb4f | 1934 | |
c5dc1690 SJ |
1935 | module = { |
1936 | name = cacheinfo; | |
1937 | common = commands/cacheinfo.c; | |
1938 | condition = COND_ENABLE_CACHE_STATS; | |
1939 | }; | |
9a8d32a2 | 1940 | |
e744219b VS |
1941 | module = { |
1942 | name = boottime; | |
1943 | common = commands/boottime.c; | |
1944 | condition = COND_ENABLE_BOOT_TIME_STATS; | |
1945 | }; | |
1946 | ||
9a8d32a2 SJ |
1947 | module = { |
1948 | name = adler32; | |
1949 | common = lib/adler32.c; | |
1950 | }; | |
158dc1ea VS |
1951 | |
1952 | module = { | |
1953 | name = crc64; | |
1954 | common = lib/crc64.c; | |
1955 | }; | |
22c7ce85 | 1956 | |
5e3b8dcb VS |
1957 | module = { |
1958 | name = mpi; | |
1959 | common = lib/libgcrypt-grub/mpi/mpiutil.c; | |
1960 | common = lib/libgcrypt-grub/mpi/mpi-bit.c; | |
1961 | common = lib/libgcrypt-grub/mpi/mpi-add.c; | |
1962 | common = lib/libgcrypt-grub/mpi/mpi-mul.c; | |
1963 | common = lib/libgcrypt-grub/mpi/mpi-mod.c; | |
1964 | common = lib/libgcrypt-grub/mpi/mpi-gcd.c; | |
1965 | common = lib/libgcrypt-grub/mpi/mpi-div.c; | |
1966 | common = lib/libgcrypt-grub/mpi/mpi-cmp.c; | |
1967 | common = lib/libgcrypt-grub/mpi/mpi-inv.c; | |
1968 | common = lib/libgcrypt-grub/mpi/mpi-pow.c; | |
1969 | common = lib/libgcrypt-grub/mpi/mpi-mpow.c; | |
1970 | common = lib/libgcrypt-grub/mpi/mpih-lshift.c; | |
1971 | common = lib/libgcrypt-grub/mpi/mpih-mul.c; | |
1972 | common = lib/libgcrypt-grub/mpi/mpih-mul1.c; | |
1973 | common = lib/libgcrypt-grub/mpi/mpih-mul2.c; | |
1974 | common = lib/libgcrypt-grub/mpi/mpih-mul3.c; | |
1975 | common = lib/libgcrypt-grub/mpi/mpih-add1.c; | |
1976 | common = lib/libgcrypt-grub/mpi/mpih-sub1.c; | |
1977 | common = lib/libgcrypt-grub/mpi/mpih-div.c; | |
1978 | common = lib/libgcrypt-grub/mpi/mpicoder.c; | |
1979 | common = lib/libgcrypt-grub/mpi/mpih-rshift.c; | |
4a9950ec | 1980 | common = lib/libgcrypt-grub/mpi/mpi-inline.c; |
5e3b8dcb VS |
1981 | common = lib/libgcrypt_wrap/mem.c; |
1982 | ||
1983 | cflags = '$(CFLAGS_GCRY) -Wno-redundant-decls -Wno-sign-compare'; | |
1984 | cppflags = '$(CPPFLAGS_GCRY)'; | |
1985 | }; | |
1986 | ||
22c7ce85 VS |
1987 | module = { |
1988 | name = all_video; | |
1989 | common = lib/fake_module.c; | |
1990 | }; | |
ff27c3dd | 1991 | |
66d6a793 LK |
1992 | module = { |
1993 | name = gdb; | |
1994 | common = gdb/cstub.c; | |
1995 | common = gdb/gdb.c; | |
1996 | i386 = gdb/i386/idt.c; | |
1997 | i386 = gdb/i386/machdep.S; | |
1998 | i386 = gdb/i386/signal.c; | |
1999 | enable = i386; | |
ff27c3dd LK |
2000 | }; |
2001 |