]> git.proxmox.com Git - grub2.git/blame - grub-core/Makefile.core.def
* grub-core/loader/multiboot_mbi2.c (grub_multiboot_make_mbi]
[grub2.git] / grub-core / Makefile.core.def
CommitLineData
8c411768
BC
1AutoGen definitions Makefile.tpl;
2
b524259b 3script = {
3572f2b6 4 installdir = noinst;
b524259b
BC
5 name = gensyminfo.sh;
6 common = gensyminfo.sh.in;
7};
8
9script = {
3572f2b6 10 installdir = noinst;
b524259b
BC
11 name = genmod.sh;
12 common = genmod.sh.in;
13};
14
8c411768
BC
15kernel = {
16 name = kernel;
17
c1c6e4c0
BC
18 nostrip = emu;
19
911bd640
BC
20 emu_ldflags = '-Wl,-r,-d';
21 x86_efi_ldflags = '-Wl,-r,-d';
22 x86_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment';
2d465fb0
BC
23
24 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
fb53b340 25 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8200';
2d465fb0
BC
26
27 i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)';
fb53b340 28 i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8200';
2d465fb0 29
fb53b340
VS
30 i386_coreboot_ldflags = '-Wl,-Ttext=0x8200';
31 i386_multiboot_ldflags = '-Wl,-Ttext=0x8200';
32 i386_ieee1275_ldflags = '-Wl,-Ttext=0x10000';
33 mips_yeeloong_ldflags = '-Wl,-Ttext,0x80200000';
34 powerpc_ieee1275_ldflags = '-Wl,-Ttext,0x200000';
35 sparc64_ieee1275_ldflags = '-Wl,-Ttext,0x4400';
8c411768
BC
36
37 mips_yeeloong_cppflags = '-DUSE_ASCII_FAILBACK';
38 i386_qemu_cppflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)';
16321bf9
BC
39 emu_cflags = '$(CFLAGS_GNULIB)';
40 emu_cppflags = '$(CPPFLAGS_GNULIB)';
8c411768
BC
41
42 mips_ldadd = '-lgcc';
43 powerpc_ldadd = '-lgcc';
44 sparc64_ldadd = '-lgcc';
45
8427685f
BC
46 i386_pc_startup = kern/i386/pc/startup.S;
47 i386_efi_startup = kern/i386/efi/startup.S;
48 x86_64_efi_startup = kern/x86_64/efi/startup.S;
49 i386_qemu_startup = kern/i386/qemu/startup.S;
50 i386_ieee1275_startup = kern/i386/ieee1275/startup.S;
eefe8abd
VS
51 i386_coreboot_startup = kern/i386/coreboot/startup.S;
52 i386_multiboot_startup = kern/i386/coreboot/startup.S;
8427685f
BC
53 mips_yeeloong_startup = kern/mips/startup.S;
54 sparc64_ieee1275_startup = kern/sparc64/ieee1275/crt0.S;
55 powerpc_ieee1275_startup = kern/powerpc/ieee1275/startup.S;
56
57 common = kern/command.c;
58 common = kern/corecmd.c;
59 common = kern/device.c;
60 common = kern/disk.c;
61 common = kern/dl.c;
62 common = kern/env.c;
63 common = kern/err.c;
64 common = kern/file.c;
65 common = kern/fs.c;
66 common = kern/list.c;
67 common = kern/main.c;
68 common = kern/misc.c;
69 common = kern/parser.c;
70 common = kern/partition.c;
71 common = kern/rescue_parser.c;
72 common = kern/rescue_reader.c;
73 common = kern/term.c;
74
75 noemu = kern/mm.c;
76 noemu = kern/time.c;
77 noemu = kern/generic/millisleep.c;
78
79 noemu_nodist = symlist.c;
80
eefe8abd
VS
81 i386_pc = kern/generic/rtc_get_time_ms.c;
82 x86_efi = kern/generic/rtc_get_time_ms.c;
83 i386_qemu = kern/generic/rtc_get_time_ms.c;
84 i386_coreboot = kern/generic/rtc_get_time_ms.c;
85 i386_multiboot = kern/generic/rtc_get_time_ms.c;
86 mips_yeeloong = kern/generic/rtc_get_time_ms.c;
8427685f
BC
87
88 ieee1275 = disk/ieee1275/ofdisk.c;
89 ieee1275 = kern/ieee1275/cmain.c;
90 ieee1275 = kern/ieee1275/ieee1275.c;
91 ieee1275 = kern/ieee1275/mmap.c;
92 ieee1275 = kern/ieee1275/openfw.c;
93 ieee1275 = term/ieee1275/ofconsole.c;
94
eefe8abd
VS
95 ieee1275 = term/terminfo.c;
96 ieee1275 = term/tparm.c;
97 mips = term/terminfo.c;
98 mips = term/tparm.c;
8427685f
BC
99
100 i386 = kern/i386/dl.c;
101
102 i386_coreboot_multiboot_qemu = kern/i386/coreboot/init.c;
8427685f
BC
103 i386_coreboot_multiboot_qemu = term/i386/pc/vga_text.c;
104
eefe8abd
VS
105 i386_coreboot_multiboot_qemu = term/i386/vga_common.c;
106 i386_pc = term/i386/vga_common.c;
8427685f 107
eefe8abd 108 x86 = kern/i386/pit.c;
8427685f
BC
109
110 x86_efi = disk/efi/efidisk.c;
111 x86_efi = kern/efi/efi.c;
112 x86_efi = kern/efi/init.c;
113 x86_efi = kern/efi/mm.c;
114 x86_efi = kern/i386/efi/init.c;
115 x86_efi = term/efi/console.c;
116
117 i386_efi = kern/i386/tsc.c;
118
119 x86_64_efi = kern/i386/tsc.c;
120 x86_64_efi = kern/x86_64/dl.c;
121 x86_64_efi = kern/x86_64/efi/callwrap.S;
122
8c411768
BC
123 i386_pc = kern/i386/pc/init.c;
124 i386_pc = kern/i386/pc/mmap.c;
125 i386_pc = kern/i386/tsc.c;
8c411768 126 i386_pc = term/i386/pc/console.c;
8427685f
BC
127
128 i386_qemu = bus/pci.c;
129 i386_qemu = kern/i386/qemu/init.c;
130 i386_qemu = kern/i386/qemu/mmap.c;
131 i386_qemu = kern/i386/tsc.c;
132
8c411768 133 i386_coreboot = kern/i386/coreboot/mmap.c;
8c411768 134 i386_coreboot = kern/i386/tsc.c;
8427685f 135
062cdbc1 136 i386_multiboot = kern/i386/multiboot_mmap.c;
062cdbc1 137 i386_multiboot = kern/i386/tsc.c;
8c411768 138
8c411768 139 i386_ieee1275 = kern/ieee1275/init.c;
8c411768 140
d84666e6 141 mips_yeeloong = term/ns8250.c;
8427685f
BC
142 mips_yeeloong = bus/bonito.c;
143 mips_yeeloong = bus/cs5536.c;
144 mips_yeeloong = bus/pci.c;
8427685f
BC
145 mips_yeeloong = kern/mips/cache.S;
146 mips_yeeloong = kern/mips/dl.c;
8c411768
BC
147 mips_yeeloong = kern/mips/init.c;
148 mips_yeeloong = kern/mips/yeeloong/init.c;
8c411768 149 mips_yeeloong = term/at_keyboard.c;
8427685f 150 mips_yeeloong = term/serial.c;
8c411768 151 mips_yeeloong = video/sm712.c;
6556eba9 152 extra_dist = video/sm712_init.c;
5aaf2c18 153 mips_yeeloong = commands/keylayouts.c;
8c411768 154
8c411768 155 powerpc_ieee1275 = kern/ieee1275/init.c;
8c411768 156 powerpc_ieee1275 = kern/powerpc/cache.S;
8427685f
BC
157 powerpc_ieee1275 = kern/powerpc/dl.c;
158
159 sparc64_ieee1275 = kern/sparc64/cache.S;
160 sparc64_ieee1275 = kern/sparc64/dl.c;
8c411768
BC
161 sparc64_ieee1275 = kern/sparc64/ieee1275/ieee1275.c;
162 sparc64_ieee1275 = kern/sparc64/ieee1275/init.c;
8c411768 163
8427685f
BC
164 emu = disk/host.c;
165 emu = gnulib/progname.c;
5fe7620a 166 emu = gnulib/error.c;
8427685f 167 emu = kern/emu/console.c;
8c411768 168 emu = kern/emu/getroot.c;
8c411768
BC
169 emu = kern/emu/hostdisk.c;
170 emu = kern/emu/hostfs.c;
8427685f
BC
171 emu = kern/emu/main.c;
172 emu = kern/emu/misc.c;
173 emu = kern/emu/mm.c;
174 emu = kern/emu/time.c;
610c1efd 175
eefe8abd
VS
176 videoinkernel = lib/arg.c;
177 videoinkernel = term/gfxterm.c;
178 videoinkernel = commands/extcmd.c;
179 videoinkernel = font/font.c;
180 videoinkernel = font/font_cmd.c;
181 videoinkernel = io/bufio.c;
182 videoinkernel = video/bitmap.c;
183 videoinkernel = video/bitmap_scale.c;
184 videoinkernel = video/fb/fbblit.c;
185 videoinkernel = video/fb/fbfill.c;
186 videoinkernel = video/fb/fbutil.c;
187 videoinkernel = video/fb/video_fb.c;
188 videoinkernel = video/video.c;
189
685475e5
VS
190 videoinkernel = commands/boot.c;
191
610c1efd
BC
192 extra_dist = kern/i386/realmode.S;
193 extra_dist = kern/i386/pc/lzma_decode.S;
d768d159 194 extra_dist = kern/mips/cache_flush.S;
8c411768
BC
195};
196
197program = {
198 name = grub-emu;
199 mansection = 1;
200
8427685f
BC
201 emu = kern/emu/full.c;
202 emu_nodist = grub_emu_init.c;
8c411768 203
e235a228 204 ldadd = 'kernel.img$(EXEEXT)';
8c411768 205 ldadd = '$(MODULE_FILES)';
5fe7620a 206 ldadd = '$(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
8c411768 207
911bd640 208 enable = emu;
8c411768
BC
209};
210
211program = {
212 name = grub-emu-lite;
213
8427685f
BC
214 emu = kern/emu/lite.c;
215 emu = kern/emu/cache.S;
216 emu_nodist = symlist.c;
8c411768 217
e235a228 218 ldadd = 'kernel.img$(EXEEXT)';
5fe7620a 219 ldadd = '$(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
8c411768 220
911bd640 221 enable = emu;
8c411768
BC
222};
223
8c411768
BC
224image = {
225 name = boot;
226 i386_pc = boot/i386/pc/boot.S;
8c411768 227 i386_qemu = boot/i386/qemu/boot.S;
8427685f 228 sparc64_ieee1275 = boot/sparc64/ieee1275/boot.S;
2d465fb0
BC
229
230 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
231 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
232
233 i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)';
234 i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),$(GRUB_BOOT_MACHINE_LINK_ADDR)';
8c411768
BC
235 i386_qemu_ccasflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)';
236
911bd640 237 sparc64_ieee1275_objcopyflags = '-O a.out-sunos-big';
8c411768 238 sparc64_ieee1275_ldflags = ' -Wl,-Ttext=0x4000';
911bd640
BC
239
240 objcopyflags = '-O binary';
241 enable = i386_pc;
242 enable = i386_qemu;
243 enable = sparc64_ieee1275;
8c411768
BC
244};
245
246image = {
247 name = cdboot;
2d465fb0
BC
248 i386_pc = boot/i386/pc/cdboot.S;
249 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
250 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
911bd640
BC
251 objcopyflags = '-O binary';
252 enable = i386_pc;
8c411768
BC
253};
254
255image = {
256 name = pxeboot;
2d465fb0 257 i386_pc = boot/i386/pc/pxeboot.S;
8c411768 258
2d465fb0
BC
259 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
260 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
911bd640
BC
261
262 objcopyflags = '-O binary';
263 enable = i386_pc;
8c411768
BC
264};
265
266image = {
267 name = diskboot;
268 i386_pc = boot/i386/pc/diskboot.S;
2d465fb0
BC
269
270 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
271 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8000';
8c411768
BC
272
273 sparc64_ieee1275 = boot/sparc64/ieee1275/diskboot.S;
274 sparc64_ieee1275_ldflags = '-Wl,-Ttext=0x4200';
911bd640
BC
275
276 objcopyflags = '-O binary';
277
278 enable = i386_pc;
279 enable = sparc64_ieee1275;
8c411768
BC
280};
281
282image = {
283 name = lnxboot;
2d465fb0 284 i386_pc = boot/i386/pc/lnxboot.S;
8c411768 285
2d465fb0
BC
286 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
287 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x6000';
911bd640
BC
288
289 objcopyflags = '-O binary';
290 enable = i386_pc;
8c411768
BC
291};
292
c5b4cd37 293image = {
758194b0 294 name = xz_decompress;
c5b4cd37 295 mips = boot/mips/startup_raw.S;
758194b0
VS
296 common = boot/decompressor/minilib.c;
297 common = boot/decompressor/xz.c;
f8926c32
VS
298 common = lib/xzembed/xz_dec_bcj.c;
299 common = lib/xzembed/xz_dec_lzma2.c;
300 common = lib/xzembed/xz_dec_stream.c;
c5b4cd37 301
f8926c32
VS
302 cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed';
303
304 mips_cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -DGRUB_EMBED_DECOMPRESSOR=1 -DGRUB_MACHINE_LINK_ADDR=0x80200000';
c5b4cd37
VS
305
306 objcopyflags = '-O binary';
307 ldflags = '-lgcc -static-libgcc -Wl,-Ttext,0x80100000';
308 cflags = '-static-libgcc';
309 enable = mips;
310};
311
758194b0
VS
312image = {
313 name = none_decompress;
314 mips = boot/mips/startup_raw.S;
315 common = boot/decompressor/none.c;
316
317 mips_cppflags = '-DGRUB_EMBED_DECOMPRESSOR=1 -DGRUB_MACHINE_LINK_ADDR=0x80200000';
318
319 objcopyflags = '-O binary';
320 ldflags = '-lgcc -static-libgcc -Wl,-Ttext,0x80100000';
321 cflags = '-static-libgcc';
322 enable = mips;
323};
324
297f0c2b
BC
325image = {
326 name = fwstart;
327 mips_yeeloong = boot/mips/yeeloong/fwstart.S;
911bd640
BC
328 objcopyflags = '-O binary';
329 enable = mips_yeeloong;
297f0c2b
BC
330};
331
e235a228
BC
332module = {
333 name = trig;
8427685f 334 common_nodist = trigtables.c;
e235a228 335 extra_dist = gentrigtables.c;
e235a228
BC
336};
337
baea1766
BC
338module = {
339 name = cs5536;
f7711f5e
BC
340 x86 = bus/cs5536.c;
341 enable = x86;
baea1766
BC
342};
343
8c411768
BC
344module = {
345 name = libusb;
8427685f 346 emu = bus/usb/emu/usb.c;
911bd640
BC
347 enable = emu;
348 condition = COND_GRUB_EMU_USB;
8c411768
BC
349};
350
297f0c2b
BC
351module = {
352 name = lsspd;
353 mips_yeeloong = commands/mips/yeeloong/lsspd.c;
911bd640 354 enable = mips_yeeloong;
297f0c2b
BC
355};
356
8c411768
BC
357module = {
358 name = usb;
8427685f
BC
359 common = bus/usb/usb.c;
360 noemu = bus/usb/usbtrans.c;
361 noemu = bus/usb/usbhub.c;
362 enable = emu;
eefe8abd 363 enable = usb;
8427685f 364 emu_condition = COND_GRUB_EMU_USB;
8c411768
BC
365};
366
d84666e6
BC
367module = {
368 name = usbserial_common;
369 common = bus/usb/serial/common.c;
eefe8abd 370 enable = usb;
d84666e6
BC
371};
372
373module = {
374 name = usbserial_pl2303;
375 common = bus/usb/serial/pl2303.c;
eefe8abd 376 enable = usb;
d84666e6
BC
377};
378
379module = {
380 name = usbserial_ftdi;
381 common = bus/usb/serial/ftdi.c;
eefe8abd 382 enable = usb;
d84666e6
BC
383};
384
8c411768
BC
385module = {
386 name = uhci;
8427685f 387 common = bus/usb/uhci.c;
eefe8abd 388 enable = x86;
8c411768
BC
389};
390
391module = {
392 name = ohci;
8427685f 393 common = bus/usb/ohci.c;
eefe8abd 394 enable = pci;
8c411768
BC
395};
396
397module = {
398 name = pci;
8427685f 399 noemu = bus/pci.c;
d9b78bce
BC
400 emu = bus/emu/pci.c;
401 emu = commands/lspci.c;
402
403 enable = emu;
911bd640 404 enable = i386_pc;
d9b78bce 405 enable = x86_efi;
911bd640
BC
406 enable = i386_ieee1275;
407 enable = i386_coreboot;
f0b05761 408 enable = i386_multiboot;
d9b78bce 409 emu_condition = COND_GRUB_EMU_PCI;
8c411768
BC
410};
411
412library = {
413 name = libgnulib.a;
8427685f 414 common = gnulib/regex.c;
8c411768
BC
415 cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)';
416 cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)';
8c411768
BC
417};
418
16c7cb32
BC
419module = {
420 name = cmostest;
eefe8abd
VS
421 common = commands/i386/cmostest.c;
422 enable = cmos;
16c7cb32
BC
423};
424
8c411768
BC
425module = {
426 name = iorw;
8427685f 427 common = commands/iorw.c;
f7711f5e 428 enable = x86;
8c411768
BC
429};
430
431module = {
432 name = regexp;
8427685f 433 common = commands/regexp.c;
8fdefb92 434 common = commands/wildcard.c;
8c411768
BC
435 ldadd = libgnulib.a;
436 cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)';
437 cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)';
8c411768
BC
438};
439
440module = {
441 name = acpi;
442
1782b135 443 common = commands/acpi.c;
8c411768 444 x86_efi = commands/efi/acpi.c;
8c411768 445 i386_pc = commands/i386/pc/acpi.c;
16bd6cfa
VS
446 i386_coreboot = commands/i386/pc/acpi.c;
447 i386_multiboot = commands/i386/pc/acpi.c;
911bd640
BC
448
449 enable = x86_efi;
450 enable = i386_pc;
16bd6cfa
VS
451 enable = i386_coreboot;
452 enable = i386_multiboot;
8c411768
BC
453};
454
1782b135
TG
455module = {
456 name = lsacpi;
457
458 common = commands/lsacpi.c;
459
460 enable = x86_efi;
461 enable = i386_pc;
462 enable = i386_coreboot;
463 enable = i386_multiboot;
464};
465
105de6a7
TG
466module = {
467 name = lsefisystab;
468
469 common = commands/efi/lsefisystab.c;
470
471 enable = x86_efi;
472};
473
474module = {
475 name = lssal;
476
477 common = commands/efi/lssal.c;
478
479 enable = x86_efi;
480};
481
41a331a8
TG
482module = {
483 name = lsefimmap;
484
485 common = commands/efi/lsefimmap.c;
486
487 enable = x86_efi;
488};
489
8c411768 490module = {
8c411768 491 name = blocklist;
8427685f 492 common = commands/blocklist.c;
8c411768
BC
493};
494
495module = {
8c411768 496 name = boot;
8427685f 497 common = commands/boot.c;
8c411768 498 i386_pc = lib/i386/pc/biosnum.c;
685475e5 499 enable = videomodules;
8c411768
BC
500};
501
502module = {
8c411768 503 name = cat;
8427685f 504 common = commands/cat.c;
8c411768
BC
505};
506
507module = {
8c411768 508 name = cmp;
8427685f 509 common = commands/cmp.c;
8c411768
BC
510};
511
512module = {
8c411768 513 name = configfile;
8427685f 514 common = commands/configfile.c;
8c411768
BC
515};
516
517module = {
518 name = cpuid;
354128c8 519 x86 = commands/i386/cpuid.c;
911bd640 520 enable = x86;
8c411768
BC
521};
522
8c411768 523module = {
8c411768 524 name = date;
8427685f 525 common = commands/date.c;
8c411768
BC
526};
527
528module = {
529 name = drivemap;
530
531 i386_pc = commands/i386/pc/drivemap.c;
532 i386_pc = commands/i386/pc/drivemap_int13h.S;
911bd640 533 enable = i386_pc;
8c411768
BC
534};
535
536module = {
8c411768 537 name = echo;
8427685f 538 common = commands/echo.c;
8c411768
BC
539};
540
541module = {
8c411768 542 name = extcmd;
8427685f
BC
543 common = commands/extcmd.c;
544 common = lib/arg.c;
8c411768
BC
545};
546
547module = {
548 name = fixvideo;
549 x86_efi = commands/efi/fixvideo.c;
911bd640 550 enable = x86_efi;
8c411768
BC
551};
552
553module = {
8c411768 554 name = gptsync;
8427685f 555 common = commands/gptsync.c;
8c411768
BC
556};
557
558module = {
559 name = halt;
8427685f 560 nopc = commands/halt.c;
8c411768 561 i386_pc = commands/i386/pc/halt.c;
4df7996d 562 i386_pc = commands/acpihalt.c;
2419f17a
VS
563 i386_coreboot = commands/acpihalt.c;
564 i386_multiboot = commands/acpihalt.c;
565 x86_efi = commands/acpihalt.c;
afba9f98
VS
566 i386_multiboot = lib/i386/halt.c;
567 i386_coreboot = lib/i386/halt.c;
568 i386_qemu = lib/i386/halt.c;
569 x86_efi = lib/efi/halt.c;
570 ieee1275 = lib/ieee1275/halt.c;
571 emu = lib/emu/halt.c;
8c411768
BC
572};
573
574module = {
8c411768 575 name = hashsum;
8427685f 576 common = commands/hashsum.c;
8c411768
BC
577};
578
579module = {
580 name = hdparm;
8427685f
BC
581 common = commands/hdparm.c;
582 common = lib/hexdump.c;
eefe8abd 583 enable = pci;
8c411768
BC
584};
585
586module = {
8c411768 587 name = help;
8427685f 588 common = commands/help.c;
8c411768
BC
589};
590
591module = {
8c411768 592 name = hexdump;
8427685f
BC
593 common = commands/hexdump.c;
594 common = lib/hexdump.c;
8c411768
BC
595};
596
597module = {
8c411768 598 name = keystatus;
8427685f 599 common = commands/keystatus.c;
8c411768
BC
600};
601
602module = {
603 name = loadbios;
604 x86_efi = commands/efi/loadbios.c;
911bd640 605 enable = x86_efi;
8c411768
BC
606};
607
608module = {
8c411768 609 name = loadenv;
8427685f
BC
610 common = commands/loadenv.c;
611 common = lib/envblk.c;
8c411768
BC
612};
613
614module = {
8c411768 615 name = ls;
8427685f 616 common = commands/ls.c;
8c411768
BC
617};
618
619module = {
8c411768 620 name = lsmmap;
8427685f 621 common = commands/lsmmap.c;
8c411768
BC
622};
623
624module = {
625 name = lspci;
8427685f 626 common = commands/lspci.c;
8c411768 627
eefe8abd 628 enable = pci;
8c411768
BC
629};
630
631module = {
8c411768 632 name = memrw;
8427685f 633 common = commands/memrw.c;
8c411768
BC
634};
635
636module = {
8c411768 637 name = minicmd;
8427685f 638 common = commands/minicmd.c;
8c411768
BC
639};
640
641module = {
8c411768 642 name = parttool;
8427685f 643 common = commands/parttool.c;
8c411768
BC
644};
645
646module = {
8c411768 647 name = password;
8427685f 648 common = commands/password.c;
8c411768
BC
649};
650
651module = {
8c411768 652 name = password_pbkdf2;
8427685f 653 common = commands/password_pbkdf2.c;
8c411768
BC
654};
655
656module = {
657 name = play;
f7711f5e
BC
658 x86 = commands/i386/pc/play.c;
659 enable = x86;
8c411768
BC
660};
661
662module = {
8c411768 663 name = probe;
8427685f 664 common = commands/probe.c;
8c411768
BC
665};
666
667module = {
668 name = pxecmd;
669 i386_pc = commands/i386/pc/pxecmd.c;
911bd640 670 enable = i386_pc;
8c411768
BC
671};
672
673module = {
8c411768 674 name = read;
8427685f 675 common = commands/read.c;
8c411768
BC
676};
677
678module = {
8c411768 679 name = reboot;
8427685f 680 common = commands/reboot.c;
8c411768
BC
681};
682
683module = {
8c411768 684 name = search;
8427685f 685 common = commands/search_wrap.c;
610c1efd 686 extra_dist = commands/search.c;
8c411768
BC
687};
688
689module = {
8c411768 690 name = search_fs_file;
8427685f 691 common = commands/search_file.c;
8c411768
BC
692};
693
694module = {
8c411768 695 name = search_fs_uuid;
8427685f 696 common = commands/search_uuid.c;
8c411768
BC
697};
698
699module = {
8c411768 700 name = search_label;
8427685f 701 common = commands/search_label.c;
8c411768
BC
702};
703
704module = {
705 name = setpci;
8427685f 706 common = commands/setpci.c;
911bd640 707 enable = x86;
8c411768
BC
708};
709
710module = {
8c411768 711 name = sleep;
8427685f 712 common = commands/sleep.c;
8c411768
BC
713};
714
715module = {
716 name = suspend;
8427685f 717 ieee1275 = commands/ieee1275/suspend.c;
911bd640
BC
718 enable = i386_ieee1275;
719 enable = powerpc_ieee1275;
8c411768
BC
720};
721
722module = {
8c411768 723 name = terminal;
8427685f 724 common = commands/terminal.c;
8c411768
BC
725};
726
727module = {
8c411768 728 name = test;
8427685f 729 common = commands/test.c;
8c411768
BC
730};
731
732module = {
8c411768 733 name = true;
8427685f 734 common = commands/true.c;
8c411768
BC
735};
736
737module = {
738 name = usbtest;
8427685f 739 common = commands/usbtest.c;
eefe8abd 740 enable = usb;
911bd640 741 enable = emu;
8427685f 742 emu_condition = COND_GRUB_EMU_USB;
8c411768
BC
743};
744
745module = {
540e2fe1
VS
746 name = videoinfo;
747 common = commands/videoinfo.c;
8c411768
BC
748};
749
750module = {
8c411768 751 name = videotest;
8427685f 752 common = commands/videotest.c;
8c411768
BC
753};
754
755module = {
8c411768 756 name = xnu_uuid;
8427685f 757 common = commands/xnu_uuid.c;
8c411768
BC
758};
759
760module = {
8c411768 761 name = dm_nv;
8427685f 762 common = disk/dmraid_nvidia.c;
8c411768
BC
763};
764
765module = {
8c411768 766 name = loopback;
8427685f 767 common = disk/loopback.c;
8c411768
BC
768};
769
770module = {
8c411768 771 name = lvm;
8427685f 772 common = disk/lvm.c;
8c411768
BC
773};
774
775module = {
1e8d555b 776 name = mdraid09;
8427685f 777 common = disk/mdraid_linux.c;
8c411768
BC
778};
779
1e8d555b
VS
780module = {
781 name = mdraid1x;
782 common = disk/mdraid1x_linux.c;
783};
784
8c411768 785module = {
8c411768 786 name = raid;
8427685f 787 common = disk/raid.c;
8c411768
BC
788};
789
790module = {
8c411768 791 name = raid5rec;
8427685f 792 common = disk/raid5_recover.c;
8c411768
BC
793};
794
795module = {
8c411768 796 name = raid6rec;
8427685f 797 common = disk/raid6_recover.c;
8c411768
BC
798};
799
800module = {
8c411768 801 name = scsi;
8427685f 802 common = disk/scsi.c;
8c411768
BC
803};
804
805module = {
8c411768 806 name = memdisk;
8427685f 807 common = disk/memdisk.c;
8c411768
BC
808};
809
810module = {
811 name = ata;
8427685f 812 common = disk/ata.c;
eefe8abd 813 enable = pci;
8c411768
BC
814};
815
816module = {
817 name = ata_pthru;
8427685f 818 common = disk/ata_pthru.c;
eefe8abd 819 enable = pci;
8c411768
BC
820};
821
822module = {
823 name = biosdisk;
824 i386_pc = disk/i386/pc/biosdisk.c;
911bd640 825 enable = i386_pc;
8c411768
BC
826};
827
828module = {
829 name = usbms;
8427685f 830 common = disk/usbms.c;
eefe8abd 831 enable = usb;
911bd640 832 enable = emu;
8427685f 833 emu_condition = COND_GRUB_EMU_USB;
8c411768
BC
834};
835
836module = {
837 name = nand;
8427685f 838 ieee1275 = disk/ieee1275/nand.c;
911bd640 839 enable = i386_ieee1275;
8c411768
BC
840};
841
842module = {
843 name = efiemu;
16bd6cfa
VS
844 common = efiemu/main.c;
845 common = efiemu/i386/loadcore32.c;
846 common = efiemu/i386/loadcore64.c;
8c411768 847 i386_pc = efiemu/i386/pc/cfgtables.c;
8218d8b6
VS
848 i386_coreboot = efiemu/i386/pc/cfgtables.c;
849 i386_multiboot = efiemu/i386/pc/cfgtables.c;
850 i386_ieee1275 = efiemu/i386/nocfgtables.c;
6f8157cb 851 i386_qemu = efiemu/i386/nocfgtables.c;
16bd6cfa
VS
852 common = efiemu/mm.c;
853 common = efiemu/loadcore_common.c;
854 common = efiemu/symbols.c;
855 common = efiemu/loadcore32.c;
856 common = efiemu/loadcore64.c;
857 common = efiemu/prepare32.c;
858 common = efiemu/prepare64.c;
859 common = efiemu/pnvram.c;
860 common = efiemu/i386/coredetect.c;
a60f6ee1
BC
861
862 extra_dist = efiemu/prepare.c;
863 extra_dist = efiemu/loadcore.c;
864 extra_dist = efiemu/runtime/efiemu.S;
865 extra_dist = efiemu/runtime/efiemu.c;
911bd640
BC
866
867 enable = i386_pc;
8218d8b6 868 enable = i386_coreboot;
16bd6cfa
VS
869 enable = i386_ieee1275;
870 enable = i386_multiboot;
6f8157cb 871 enable = i386_qemu;
8c411768
BC
872};
873
874module = {
875 name = font;
8427685f
BC
876 common = font/font.c;
877 common = font/font_cmd.c;
eefe8abd 878 enable = videomodules;
8c411768
BC
879};
880
881module = {
8c411768 882 name = affs;
8427685f 883 common = fs/affs.c;
8c411768
BC
884};
885
886module = {
8c411768 887 name = afs;
8427685f 888 common = fs/afs.c;
8c411768
BC
889};
890
891module = {
8c411768 892 name = afs_be;
8427685f 893 common = fs/afs_be.c;
8c411768
BC
894};
895
896module = {
8c411768 897 name = befs;
8427685f 898 common = fs/befs.c;
8c411768
BC
899};
900
901module = {
8c411768 902 name = befs_be;
8427685f 903 common = fs/befs_be.c;
8c411768
BC
904};
905
4dfbc574
RM
906module = {
907 name = btrfs;
908 common = fs/btrfs.c;
909};
910
8c411768 911module = {
8c411768 912 name = cpio;
8427685f 913 common = fs/cpio.c;
8c411768
BC
914};
915
916module = {
8c411768 917 name = ext2;
8427685f 918 common = fs/ext2.c;
8c411768
BC
919};
920
921module = {
8c411768 922 name = fat;
8427685f 923 common = fs/fat.c;
8c411768
BC
924};
925
926module = {
8c411768 927 name = fshelp;
8427685f 928 common = fs/fshelp.c;
8c411768
BC
929};
930
931module = {
8c411768 932 name = hfs;
8427685f 933 common = fs/hfs.c;
8c411768
BC
934};
935
936module = {
8c411768 937 name = hfsplus;
8427685f 938 common = fs/hfsplus.c;
8c411768
BC
939};
940
941module = {
8c411768 942 name = iso9660;
8427685f 943 common = fs/iso9660.c;
8c411768
BC
944};
945
946module = {
8c411768 947 name = jfs;
8427685f 948 common = fs/jfs.c;
8c411768
BC
949};
950
951module = {
8c411768 952 name = minix;
8427685f 953 common = fs/minix.c;
8c411768
BC
954};
955
b4a0c915
VS
956module = {
957 name = minix2;
958 common = fs/minix2.c;
959};
960
8c411768 961module = {
8c411768 962 name = nilfs2;
8427685f 963 common = fs/nilfs2.c;
8c411768
BC
964};
965
966module = {
8c411768 967 name = ntfs;
8427685f 968 common = fs/ntfs.c;
8c411768
BC
969};
970
971module = {
8c411768 972 name = ntfscomp;
8427685f 973 common = fs/ntfscomp.c;
8c411768
BC
974};
975
976module = {
8c411768 977 name = reiserfs;
8427685f 978 common = fs/reiserfs.c;
8c411768
BC
979};
980
981module = {
8c411768 982 name = sfs;
8427685f 983 common = fs/sfs.c;
8c411768
BC
984};
985
986module = {
8c411768 987 name = tar;
8427685f 988 common = fs/tar.c;
8c411768
BC
989};
990
991module = {
8c411768 992 name = udf;
8427685f 993 common = fs/udf.c;
8c411768
BC
994};
995
996module = {
8c411768 997 name = ufs1;
8427685f 998 common = fs/ufs.c;
8c411768
BC
999};
1000
1001module = {
8c411768 1002 name = ufs2;
8427685f 1003 common = fs/ufs2.c;
8c411768
BC
1004};
1005
1006module = {
8c411768 1007 name = xfs;
8427685f 1008 common = fs/xfs.c;
8c411768
BC
1009};
1010
1011module = {
1012 name = pxe;
1013 i386_pc = fs/i386/pc/pxe.c;
911bd640 1014 enable = i386_pc;
8c411768
BC
1015};
1016
1017module = {
1018 name = gettext;
8427685f 1019 common = gettext/gettext.c;
8c411768
BC
1020};
1021
1022module = {
8c411768 1023 name = gfxmenu;
8427685f
BC
1024 common = gfxmenu/gfxmenu.c;
1025 common = gfxmenu/model.c;
1026 common = gfxmenu/view.c;
1027 common = gfxmenu/font.c;
1028 common = gfxmenu/icon_manager.c;
1029 common = gfxmenu/theme_loader.c;
1030 common = gfxmenu/widget-box.c;
1031 common = gfxmenu/gui_canvas.c;
1032 common = gfxmenu/gui_circular_progress.c;
1033 common = gfxmenu/gui_box.c;
1034 common = gfxmenu/gui_label.c;
1035 common = gfxmenu/gui_list.c;
1036 common = gfxmenu/gui_image.c;
1037 common = gfxmenu/gui_progress_bar.c;
1038 common = gfxmenu/gui_util.c;
1039 common = gfxmenu/gui_string_util.c;
1040 common = gfxmenu/named_colors.c;
8c411768
BC
1041};
1042
1043module = {
8c411768 1044 name = hello;
8427685f 1045 common = hello/hello.c;
8c411768
BC
1046};
1047
1048module = {
8c411768 1049 name = gzio;
8427685f 1050 common = io/gzio.c;
8c411768
BC
1051};
1052
1053module = {
1054 name = bufio;
8427685f 1055 common = io/bufio.c;
eefe8abd 1056 enable = videomodules;
8c411768
BC
1057};
1058
1059module = {
8c411768 1060 name = elf;
8427685f 1061 common = kern/elf.c;
8c411768
BC
1062};
1063
8c411768 1064module = {
8c411768 1065 name = crypto;
8427685f 1066 common = lib/crypto.c;
610c1efd
BC
1067
1068 extra_dist = lib/libgcrypt-grub/cipher/crypto.lst;
8c411768
BC
1069};
1070
8c411768 1071module = {
8c411768 1072 name = pbkdf2;
8427685f 1073 common = lib/pbkdf2.c;
8c411768
BC
1074};
1075
1076module = {
1077 name = relocator;
16bd6cfa
VS
1078 common = lib/relocator.c;
1079 x86 = lib/i386/relocator16.S;
1080 x86 = lib/i386/relocator32.S;
1081 x86 = lib/i386/relocator64.S;
1082 i386 = lib/i386/relocator_asm.S;
1083 x86_64 = lib/x86_64/relocator_asm.S;
8c411768 1084 x86 = lib/i386/relocator.c;
16bd6cfa
VS
1085 ieee1275 = lib/ieee1275/relocator.c;
1086 x86_efi = lib/efi/relocator.c;
1087 mips = lib/mips/relocator_asm.S;
1088 mips = lib/mips/relocator.c;
1089 powerpc = lib/powerpc/relocator_asm.S;
1090 powerpc = lib/powerpc/relocator.c;
1091
6556eba9
BC
1092 extra_dist = lib/i386/relocator_common.S;
1093 extra_dist = kern/powerpc/cache_flush.S;
1094
911bd640 1095 enable = mips;
16bd6cfa 1096 enable = powerpc;
911bd640 1097 enable = x86;
8c411768
BC
1098};
1099
1100module = {
1101 name = datetime;
eefe8abd 1102 cmos = lib/cmos_datetime.c;
8c411768
BC
1103 x86_efi = lib/efi/datetime.c;
1104 sparc64_ieee1275 = lib/ieee1275/datetime.c;
1105 powerpc_ieee1275 = lib/ieee1275/datetime.c;
eefe8abd 1106 enable = noemu;
8c411768
BC
1107};
1108
1109module = {
1110 name = setjmp;
8427685f 1111 common = lib/setjmp.S;
2b6c0084
BC
1112 extra_dist = lib/i386/setjmp.S;
1113 extra_dist = lib/mips/setjmp.S;
1114 extra_dist = lib/x86_64/setjmp.S;
1115 extra_dist = lib/sparc64/setjmp.S;
1116 extra_dist = lib/powerpc/setjmp.S;
8c411768
BC
1117};
1118
1119module = {
1120 name = aout;
8427685f 1121 common = loader/aout.c;
16bd6cfa 1122 enable = x86;
8c411768
BC
1123};
1124
1125module = {
1126 name = bsd;
16bd6cfa
VS
1127 x86 = loader/i386/bsd.c;
1128 x86 = loader/i386/bsd32.c;
1129 x86 = loader/i386/bsd64.c;
610c1efd
BC
1130
1131 extra_dist = loader/i386/bsdXX.c;
1132 extra_dist = loader/i386/bsd_pagetable.c;
1133
16bd6cfa 1134 enable = x86;
8c411768
BC
1135};
1136
1137module = {
1138 name = linux16;
8427685f 1139 i386_pc = loader/i386/pc/linux.c;
911bd640 1140 enable = i386_pc;
8c411768
BC
1141};
1142
16bd6cfa
VS
1143module = {
1144 name = ntldr;
1145 i386_pc = loader/i386/pc/ntldr.c;
1146 enable = i386_pc;
1147};
1148
8c411768
BC
1149module = {
1150 name = multiboot2;
1151 cppflags = "-DGRUB_USE_MULTIBOOT2";
1152
8427685f
BC
1153 common = loader/multiboot.c;
1154 common = loader/multiboot_mbi2.c;
911bd640
BC
1155 enable = x86;
1156 enable = mips;
8c411768
BC
1157};
1158
1159module = {
1160 name = multiboot;
8427685f
BC
1161 common = loader/multiboot.c;
1162 x86 = loader/i386/multiboot_mbi.c;
a60f6ee1 1163 extra_dist = loader/multiboot_elfxx.c;
911bd640 1164 enable = x86;
8c411768
BC
1165};
1166
1167module = {
1168 name = linux;
16bd6cfa 1169 x86 = loader/i386/linux.c;
e31bb619 1170 i386_pc = lib/i386/pc/vesa_modes_table.c;
8c411768
BC
1171 mips = loader/mips/linux.c;
1172 powerpc_ieee1275 = loader/powerpc/ieee1275/linux.c;
1173 sparc64_ieee1275 = loader/sparc64/ieee1275/linux.c;
8427685f 1174 enable = noemu;
8c411768
BC
1175};
1176
1177module = {
1178 name = xnu;
16bd6cfa
VS
1179 x86 = loader/xnu_resume.c;
1180 x86 = loader/i386/xnu.c;
1181 x86 = loader/macho32.c;
1182 x86 = loader/macho64.c;
1183 x86 = loader/macho.c;
1184 x86 = loader/xnu.c;
a60f6ee1
BC
1185
1186 extra_dist = loader/machoXX.c;
16bd6cfa 1187 enable = x86;
8c411768
BC
1188};
1189
1190module = {
1191 name = appleldr;
1192 x86_efi = loader/efi/appleloader.c;
911bd640 1193 enable = x86_efi;
8c411768
BC
1194};
1195
1196module = {
1197 name = chain;
1198 x86_efi = loader/efi/chainloader.c;
1199 i386_pc = loader/i386/pc/chainloader.c;
911bd640
BC
1200 enable = i386_pc;
1201 enable = x86_efi;
8c411768
BC
1202};
1203
1204module = {
1205 name = mmap;
eefe8abd
VS
1206 common = mmap/mmap.c;
1207 x86 = mmap/i386/uppermem.c;
1208 x86 = mmap/i386/mmap.c;
1209
8c411768
BC
1210 i386_pc = mmap/i386/pc/mmap.c;
1211 i386_pc = mmap/i386/pc/mmap_helper.S;
1212
8c411768
BC
1213 x86_efi = mmap/efi/mmap.c;
1214
8c411768 1215 mips_yeeloong = mmap/mips/yeeloong/uppermem.c;
911bd640
BC
1216
1217 enable = x86;
1218 enable = mips_yeeloong;
8c411768
BC
1219};
1220
1221module = {
8c411768 1222 name = normal;
8427685f
BC
1223 common = normal/main.c;
1224 common = normal/cmdline.c;
1225 common = normal/dyncmd.c;
1226 common = normal/auth.c;
1227 common = normal/autofs.c;
1228 common = normal/color.c;
1229 common = normal/completion.c;
1230 common = normal/datetime.c;
1231 common = normal/menu.c;
1232 common = normal/menu_entry.c;
1233 common = normal/menu_text.c;
1234 common = normal/misc.c;
1235 common = normal/crypto.c;
1236 common = normal/term.c;
1237 common = normal/context.c;
1238 common = normal/charset.c;
1239
1240 common = script/main.c;
1241 common = script/script.c;
1242 common = script/execute.c;
1243 common = script/function.c;
1244 common = script/lexer.c;
1245 common = script/argv.c;
1246
9284756e
BC
1247 common = commands/menuentry.c;
1248
8427685f
BC
1249 common = unidata.c;
1250 common_nodist = grub_script.tab.c;
1251 common_nodist = grub_script.yy.c;
1252 common_nodist = grub_script.tab.h;
1253 common_nodist = grub_script.yy.h;
297f0c2b
BC
1254
1255 extra_dist = script/yylex.l;
1256 extra_dist = script/parser.y;
1257
1258 cflags = '$(CFLAGS_POSIX) -Wno-error';
1259 cppflags = '$(CPPFLAGS_POSIX)';
8c411768
BC
1260};
1261
1262module = {
8c411768 1263 name = part_acorn;
8427685f 1264 common = partmap/acorn.c;
8c411768
BC
1265};
1266
1267module = {
8c411768 1268 name = part_amiga;
8427685f 1269 common = partmap/amiga.c;
8c411768
BC
1270};
1271
1272module = {
8c411768 1273 name = part_apple;
8427685f 1274 common = partmap/apple.c;
8c411768
BC
1275};
1276
1277module = {
8c411768 1278 name = part_gpt;
8427685f 1279 common = partmap/gpt.c;
8c411768
BC
1280};
1281
1282module = {
8c411768 1283 name = part_msdos;
8427685f 1284 common = partmap/msdos.c;
8c411768
BC
1285};
1286
1287module = {
8c411768 1288 name = part_sun;
8427685f 1289 common = partmap/sun.c;
8c411768
BC
1290};
1291
1292module = {
8c411768 1293 name = part_bsd;
8427685f 1294 common = partmap/bsdlabel.c;
8c411768
BC
1295};
1296
1297module = {
8c411768 1298 name = part_sunpc;
8427685f 1299 common = partmap/sunpc.c;
8c411768
BC
1300};
1301
1302module = {
8c411768 1303 name = msdospart;
8427685f 1304 common = parttool/msdospart.c;
8c411768
BC
1305};
1306
8c411768
BC
1307module = {
1308 name = at_keyboard;
8427685f 1309 common = term/at_keyboard.c;
911bd640 1310 enable = x86;
8c411768
BC
1311};
1312
1313module = {
1314 name = gfxterm;
8427685f 1315 common = term/gfxterm.c;
eefe8abd 1316 enable = videomodules;
8c411768
BC
1317};
1318
1319module = {
1320 name = serial;
8427685f 1321 common = term/serial.c;
d84666e6
BC
1322 x86 = term/ns8250.c;
1323
1324 enable = emu;
911bd640 1325 enable = i386;
d84666e6 1326 enable = x86_64_efi;
f7711f5e 1327 emu_condition = COND_GRUB_EMU_USB;
d84666e6
BC
1328};
1329
1330module = {
1331 name = sendkey;
1332 i386_pc = commands/i386/pc/sendkey.c;
1333 enable = i386_pc;
8c411768
BC
1334};
1335
1336module = {
8c411768 1337 name = terminfo;
8427685f
BC
1338 common = term/terminfo.c;
1339 common = term/tparm.c;
8c411768
BC
1340};
1341
1342module = {
1343 name = usb_keyboard;
8427685f 1344 common = term/usb_keyboard.c;
eefe8abd 1345 enable = usb;
8c411768
BC
1346};
1347
1348module = {
1349 name = vga;
1426af20 1350 i386_pc = video/i386/pc/vga.c;
911bd640 1351 enable = i386_pc;
8c411768
BC
1352};
1353
1354module = {
1355 name = vga_text;
16bd6cfa
VS
1356 common = term/i386/pc/vga_text.c;
1357 common = term/i386/vga_common.c;
1358 enable = i386_pc;
1359 enable = i386_coreboot;
1360 enable = i386_multiboot;
8c411768
BC
1361};
1362
297f0c2b
BC
1363module = {
1364 name = video_cirrus;
f7711f5e
BC
1365 x86 = video/cirrus.c;
1366 enable = x86;
297f0c2b
BC
1367};
1368
1369module = {
1370 name = video_bochs;
f7711f5e
BC
1371 x86 = video/bochs.c;
1372 enable = x86;
297f0c2b
BC
1373};
1374
8c411768
BC
1375module = {
1376 name = functional_test;
8427685f
BC
1377 common = tests/lib/functional_test.c;
1378 common = tests/lib/test.c;
8c411768
BC
1379};
1380
1381module = {
1382 name = example_functional_test;
8427685f 1383 common = tests/example_functional_test.c;
8c411768 1384 cflags = -Wno-format;
8c411768
BC
1385};
1386
1387module = {
1388 name = bitmap;
8427685f 1389 common = video/bitmap.c;
eefe8abd 1390 enable = videomodules;
8c411768
BC
1391};
1392
1393module = {
1394 name = bitmap_scale;
8427685f 1395 common = video/bitmap_scale.c;
eefe8abd 1396 enable = videomodules;
8c411768
BC
1397};
1398
1399module = {
1400 name = efi_gop;
1401 x86_efi = video/efi_gop.c;
911bd640 1402 enable = x86_efi;
8c411768
BC
1403};
1404
1405module = {
1406 name = efi_uga;
1407 x86_efi = video/efi_uga.c;
911bd640 1408 enable = x86_efi;
8c411768
BC
1409};
1410
1411module = {
8c411768 1412 name = jpeg;
8427685f 1413 common = video/readers/jpeg.c;
8c411768
BC
1414};
1415
1416module = {
8c411768 1417 name = png;
8427685f 1418 common = video/readers/png.c;
8c411768
BC
1419};
1420
1421module = {
8c411768 1422 name = tga;
8427685f 1423 common = video/readers/tga.c;
8c411768
BC
1424};
1425
1426module = {
1427 name = vbe;
1428 i386_pc = video/i386/pc/vbe.c;
911bd640 1429 enable = i386_pc;
8c411768
BC
1430};
1431
1432module = {
1433 name = video_fb;
8427685f
BC
1434 common = video/fb/video_fb.c;
1435 common = video/fb/fbblit.c;
1436 common = video/fb/fbfill.c;
1437 common = video/fb/fbutil.c;
eefe8abd 1438 enable = videomodules;
8c411768
BC
1439};
1440
1441module = {
1442 name = video;
8427685f 1443 common = video/video.c;
eefe8abd 1444 enable = videomodules;
8c411768
BC
1445};
1446
1447module = {
1448 name = ieee1275_fb;
8427685f 1449 ieee1275 = video/ieee1275.c;
911bd640
BC
1450 enable = powerpc;
1451 enable = sparc64;
8c411768
BC
1452};
1453
1454module = {
1455 name = sdl;
8427685f 1456 emu = video/emu/sdl.c;
911bd640 1457 enable = emu;
8427685f 1458 condition = COND_GRUB_EMU_SDL;
8c411768
BC
1459};
1460
1461module = {
1462 name = datehook;
8427685f 1463 common = hook/datehook.c;
8c411768 1464};
92eb189b
VS
1465
1466module = {
1467 name = legacycfg;
1468 common = commands/legacycfg.c;
fff175c7 1469 common = lib/legacy_parse.c;
d6d94820 1470 emu = lib/i386/pc/vesa_modes_table.c;
92eb189b 1471 enable = i386_pc;
abda0cad 1472 enable = emu;
bd960307 1473};
122a9b2c 1474
928bad47
BC
1475module = {
1476 name = test_blockarg;
1477 common = tests/test_blockarg.c;
47b4c2c3 1478};
06f70117 1479
f0aff67c
SJ
1480module = {
1481 name = xzio;
1482 common = io/xzio.c;
1483 common = lib/xzembed/xz_dec_bcj.c;
1484 common = lib/xzembed/xz_dec_lzma2.c;
1485 common = lib/xzembed/xz_dec_stream.c;
1486 cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed';
1487};
1488
06f70117
VS
1489module = {
1490 name = testload;
1491 common = commands/testload.c;
fff175c7 1492};
890c9fa5
VS
1493
1494module = {
1495 name = lsapm;
1496 common = commands/i386/pc/lsapm.c;
1497 enable = i386_pc;
1498};
1a9130dd 1499
5aaf2c18
VS
1500module = {
1501 name = keylayouts;
1502 common = commands/keylayouts.c;
1a9130dd 1503 enable = videomodules;
5aaf2c18 1504};