]> git.proxmox.com Git - grub2.git/blame - grub-core/Makefile.core.def
* configure.ac: Add -Wno-trampolines when supported.
[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
ee74fa48
VS
95 terminfoinkernel = term/terminfo.c;
96 terminfoinkernel = term/tparm.c;
97 terminfoinkernel = commands/extcmd.c;
98 terminfoinkernel = lib/arg.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 176 videoinkernel = term/gfxterm.c;
eefe8abd
VS
177 videoinkernel = font/font.c;
178 videoinkernel = font/font_cmd.c;
179 videoinkernel = io/bufio.c;
180 videoinkernel = video/bitmap.c;
181 videoinkernel = video/bitmap_scale.c;
182 videoinkernel = video/fb/fbblit.c;
183 videoinkernel = video/fb/fbfill.c;
184 videoinkernel = video/fb/fbutil.c;
185 videoinkernel = video/fb/video_fb.c;
186 videoinkernel = video/video.c;
187
685475e5
VS
188 videoinkernel = commands/boot.c;
189
610c1efd
BC
190 extra_dist = kern/i386/realmode.S;
191 extra_dist = kern/i386/pc/lzma_decode.S;
d768d159 192 extra_dist = kern/mips/cache_flush.S;
8c411768
BC
193};
194
195program = {
196 name = grub-emu;
197 mansection = 1;
198
8427685f
BC
199 emu = kern/emu/full.c;
200 emu_nodist = grub_emu_init.c;
8c411768 201
e235a228 202 ldadd = 'kernel.img$(EXEEXT)';
8c411768 203 ldadd = '$(MODULE_FILES)';
5fe7620a 204 ldadd = '$(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
8c411768 205
911bd640 206 enable = emu;
8c411768
BC
207};
208
209program = {
210 name = grub-emu-lite;
211
8427685f
BC
212 emu = kern/emu/lite.c;
213 emu = kern/emu/cache.S;
214 emu_nodist = symlist.c;
8c411768 215
e235a228 216 ldadd = 'kernel.img$(EXEEXT)';
5fe7620a 217 ldadd = '$(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR)';
8c411768 218
911bd640 219 enable = emu;
8c411768
BC
220};
221
8c411768
BC
222image = {
223 name = boot;
224 i386_pc = boot/i386/pc/boot.S;
8c411768 225 i386_qemu = boot/i386/qemu/boot.S;
8427685f 226 sparc64_ieee1275 = boot/sparc64/ieee1275/boot.S;
2d465fb0
BC
227
228 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
229 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
230
231 i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)';
232 i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),$(GRUB_BOOT_MACHINE_LINK_ADDR)';
8c411768
BC
233 i386_qemu_ccasflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)';
234
911bd640 235 sparc64_ieee1275_objcopyflags = '-O a.out-sunos-big';
8c411768 236 sparc64_ieee1275_ldflags = ' -Wl,-Ttext=0x4000';
911bd640
BC
237
238 objcopyflags = '-O binary';
239 enable = i386_pc;
240 enable = i386_qemu;
241 enable = sparc64_ieee1275;
8c411768
BC
242};
243
244image = {
245 name = cdboot;
2d465fb0
BC
246 i386_pc = boot/i386/pc/cdboot.S;
247 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
248 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
911bd640
BC
249 objcopyflags = '-O binary';
250 enable = i386_pc;
8c411768
BC
251};
252
253image = {
254 name = pxeboot;
2d465fb0 255 i386_pc = boot/i386/pc/pxeboot.S;
8c411768 256
2d465fb0
BC
257 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
258 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
911bd640
BC
259
260 objcopyflags = '-O binary';
261 enable = i386_pc;
8c411768
BC
262};
263
264image = {
265 name = diskboot;
266 i386_pc = boot/i386/pc/diskboot.S;
2d465fb0
BC
267
268 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
269 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8000';
8c411768
BC
270
271 sparc64_ieee1275 = boot/sparc64/ieee1275/diskboot.S;
272 sparc64_ieee1275_ldflags = '-Wl,-Ttext=0x4200';
911bd640
BC
273
274 objcopyflags = '-O binary';
275
276 enable = i386_pc;
277 enable = sparc64_ieee1275;
8c411768
BC
278};
279
280image = {
281 name = lnxboot;
2d465fb0 282 i386_pc = boot/i386/pc/lnxboot.S;
8c411768 283
2d465fb0
BC
284 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
285 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x6000';
911bd640
BC
286
287 objcopyflags = '-O binary';
288 enable = i386_pc;
8c411768
BC
289};
290
c5b4cd37 291image = {
758194b0 292 name = xz_decompress;
c5b4cd37 293 mips = boot/mips/startup_raw.S;
758194b0
VS
294 common = boot/decompressor/minilib.c;
295 common = boot/decompressor/xz.c;
f8926c32
VS
296 common = lib/xzembed/xz_dec_bcj.c;
297 common = lib/xzembed/xz_dec_lzma2.c;
298 common = lib/xzembed/xz_dec_stream.c;
c5b4cd37 299
f8926c32
VS
300 cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed';
301
302 mips_cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -DGRUB_EMBED_DECOMPRESSOR=1 -DGRUB_MACHINE_LINK_ADDR=0x80200000';
c5b4cd37
VS
303
304 objcopyflags = '-O binary';
305 ldflags = '-lgcc -static-libgcc -Wl,-Ttext,0x80100000';
306 cflags = '-static-libgcc';
307 enable = mips;
308};
309
758194b0
VS
310image = {
311 name = none_decompress;
312 mips = boot/mips/startup_raw.S;
313 common = boot/decompressor/none.c;
314
315 mips_cppflags = '-DGRUB_EMBED_DECOMPRESSOR=1 -DGRUB_MACHINE_LINK_ADDR=0x80200000';
316
317 objcopyflags = '-O binary';
318 ldflags = '-lgcc -static-libgcc -Wl,-Ttext,0x80100000';
319 cflags = '-static-libgcc';
320 enable = mips;
321};
322
297f0c2b
BC
323image = {
324 name = fwstart;
325 mips_yeeloong = boot/mips/yeeloong/fwstart.S;
911bd640
BC
326 objcopyflags = '-O binary';
327 enable = mips_yeeloong;
297f0c2b
BC
328};
329
e235a228
BC
330module = {
331 name = trig;
8427685f 332 common_nodist = trigtables.c;
e235a228 333 extra_dist = gentrigtables.c;
e235a228
BC
334};
335
baea1766
BC
336module = {
337 name = cs5536;
f7711f5e
BC
338 x86 = bus/cs5536.c;
339 enable = x86;
baea1766
BC
340};
341
8c411768
BC
342module = {
343 name = libusb;
8427685f 344 emu = bus/usb/emu/usb.c;
911bd640
BC
345 enable = emu;
346 condition = COND_GRUB_EMU_USB;
8c411768
BC
347};
348
297f0c2b
BC
349module = {
350 name = lsspd;
351 mips_yeeloong = commands/mips/yeeloong/lsspd.c;
911bd640 352 enable = mips_yeeloong;
297f0c2b
BC
353};
354
8c411768
BC
355module = {
356 name = usb;
8427685f
BC
357 common = bus/usb/usb.c;
358 noemu = bus/usb/usbtrans.c;
359 noemu = bus/usb/usbhub.c;
360 enable = emu;
eefe8abd 361 enable = usb;
8427685f 362 emu_condition = COND_GRUB_EMU_USB;
8c411768
BC
363};
364
d84666e6
BC
365module = {
366 name = usbserial_common;
367 common = bus/usb/serial/common.c;
eefe8abd 368 enable = usb;
d84666e6
BC
369};
370
371module = {
372 name = usbserial_pl2303;
373 common = bus/usb/serial/pl2303.c;
eefe8abd 374 enable = usb;
d84666e6
BC
375};
376
377module = {
378 name = usbserial_ftdi;
379 common = bus/usb/serial/ftdi.c;
eefe8abd 380 enable = usb;
d84666e6
BC
381};
382
8c411768
BC
383module = {
384 name = uhci;
8427685f 385 common = bus/usb/uhci.c;
eefe8abd 386 enable = x86;
8c411768
BC
387};
388
389module = {
390 name = ohci;
8427685f 391 common = bus/usb/ohci.c;
eefe8abd 392 enable = pci;
8c411768
BC
393};
394
395module = {
396 name = pci;
8427685f 397 noemu = bus/pci.c;
d9b78bce
BC
398 emu = bus/emu/pci.c;
399 emu = commands/lspci.c;
400
401 enable = emu;
911bd640 402 enable = i386_pc;
d9b78bce 403 enable = x86_efi;
911bd640
BC
404 enable = i386_ieee1275;
405 enable = i386_coreboot;
f0b05761 406 enable = i386_multiboot;
d9b78bce 407 emu_condition = COND_GRUB_EMU_PCI;
8c411768
BC
408};
409
410library = {
411 name = libgnulib.a;
8427685f 412 common = gnulib/regex.c;
8c411768
BC
413 cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)';
414 cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)';
8c411768
BC
415};
416
16c7cb32
BC
417module = {
418 name = cmostest;
eefe8abd
VS
419 common = commands/i386/cmostest.c;
420 enable = cmos;
16c7cb32
BC
421};
422
8c411768
BC
423module = {
424 name = iorw;
8427685f 425 common = commands/iorw.c;
f7711f5e 426 enable = x86;
8c411768
BC
427};
428
429module = {
430 name = regexp;
8427685f 431 common = commands/regexp.c;
8fdefb92 432 common = commands/wildcard.c;
8c411768
BC
433 ldadd = libgnulib.a;
434 cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)';
435 cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)';
8c411768
BC
436};
437
438module = {
439 name = acpi;
440
1782b135 441 common = commands/acpi.c;
8c411768 442 x86_efi = commands/efi/acpi.c;
8c411768 443 i386_pc = commands/i386/pc/acpi.c;
16bd6cfa
VS
444 i386_coreboot = commands/i386/pc/acpi.c;
445 i386_multiboot = commands/i386/pc/acpi.c;
911bd640
BC
446
447 enable = x86_efi;
448 enable = i386_pc;
16bd6cfa
VS
449 enable = i386_coreboot;
450 enable = i386_multiboot;
8c411768
BC
451};
452
1782b135
TG
453module = {
454 name = lsacpi;
455
456 common = commands/lsacpi.c;
457
458 enable = x86_efi;
459 enable = i386_pc;
460 enable = i386_coreboot;
461 enable = i386_multiboot;
462};
463
105de6a7
TG
464module = {
465 name = lsefisystab;
466
467 common = commands/efi/lsefisystab.c;
468
469 enable = x86_efi;
470};
471
472module = {
473 name = lssal;
474
475 common = commands/efi/lssal.c;
476
477 enable = x86_efi;
478};
479
41a331a8
TG
480module = {
481 name = lsefimmap;
482
483 common = commands/efi/lsefimmap.c;
484
485 enable = x86_efi;
486};
487
8c411768 488module = {
8c411768 489 name = blocklist;
8427685f 490 common = commands/blocklist.c;
8c411768
BC
491};
492
493module = {
8c411768 494 name = boot;
8427685f 495 common = commands/boot.c;
8c411768 496 i386_pc = lib/i386/pc/biosnum.c;
685475e5 497 enable = videomodules;
8c411768
BC
498};
499
500module = {
8c411768 501 name = cat;
8427685f 502 common = commands/cat.c;
8c411768
BC
503};
504
505module = {
8c411768 506 name = cmp;
8427685f 507 common = commands/cmp.c;
8c411768
BC
508};
509
510module = {
8c411768 511 name = configfile;
8427685f 512 common = commands/configfile.c;
8c411768
BC
513};
514
515module = {
516 name = cpuid;
354128c8 517 x86 = commands/i386/cpuid.c;
911bd640 518 enable = x86;
8c411768
BC
519};
520
8c411768 521module = {
8c411768 522 name = date;
8427685f 523 common = commands/date.c;
8c411768
BC
524};
525
526module = {
527 name = drivemap;
528
529 i386_pc = commands/i386/pc/drivemap.c;
530 i386_pc = commands/i386/pc/drivemap_int13h.S;
911bd640 531 enable = i386_pc;
8c411768
BC
532};
533
534module = {
8c411768 535 name = echo;
8427685f 536 common = commands/echo.c;
8c411768
BC
537};
538
539module = {
8c411768 540 name = extcmd;
8427685f
BC
541 common = commands/extcmd.c;
542 common = lib/arg.c;
ee74fa48 543 enable = terminfomodule;
8c411768
BC
544};
545
546module = {
547 name = fixvideo;
548 x86_efi = commands/efi/fixvideo.c;
911bd640 549 enable = x86_efi;
8c411768
BC
550};
551
552module = {
8c411768 553 name = gptsync;
8427685f 554 common = commands/gptsync.c;
8c411768
BC
555};
556
557module = {
558 name = halt;
8427685f 559 nopc = commands/halt.c;
8c411768 560 i386_pc = commands/i386/pc/halt.c;
4df7996d 561 i386_pc = commands/acpihalt.c;
2419f17a
VS
562 i386_coreboot = commands/acpihalt.c;
563 i386_multiboot = commands/acpihalt.c;
564 x86_efi = commands/acpihalt.c;
afba9f98
VS
565 i386_multiboot = lib/i386/halt.c;
566 i386_coreboot = lib/i386/halt.c;
567 i386_qemu = lib/i386/halt.c;
568 x86_efi = lib/efi/halt.c;
569 ieee1275 = lib/ieee1275/halt.c;
570 emu = lib/emu/halt.c;
8c411768
BC
571};
572
573module = {
8c411768 574 name = hashsum;
8427685f 575 common = commands/hashsum.c;
8c411768
BC
576};
577
578module = {
579 name = hdparm;
8427685f
BC
580 common = commands/hdparm.c;
581 common = lib/hexdump.c;
eefe8abd 582 enable = pci;
8c411768
BC
583};
584
585module = {
8c411768 586 name = help;
8427685f 587 common = commands/help.c;
8c411768
BC
588};
589
590module = {
8c411768 591 name = hexdump;
8427685f
BC
592 common = commands/hexdump.c;
593 common = lib/hexdump.c;
8c411768
BC
594};
595
596module = {
8c411768 597 name = keystatus;
8427685f 598 common = commands/keystatus.c;
8c411768
BC
599};
600
601module = {
602 name = loadbios;
603 x86_efi = commands/efi/loadbios.c;
911bd640 604 enable = x86_efi;
8c411768
BC
605};
606
607module = {
8c411768 608 name = loadenv;
8427685f
BC
609 common = commands/loadenv.c;
610 common = lib/envblk.c;
8c411768
BC
611};
612
613module = {
8c411768 614 name = ls;
8427685f 615 common = commands/ls.c;
8c411768
BC
616};
617
618module = {
8c411768 619 name = lsmmap;
8427685f 620 common = commands/lsmmap.c;
8c411768
BC
621};
622
623module = {
624 name = lspci;
8427685f 625 common = commands/lspci.c;
8c411768 626
eefe8abd 627 enable = pci;
8c411768
BC
628};
629
630module = {
8c411768 631 name = memrw;
8427685f 632 common = commands/memrw.c;
8c411768
BC
633};
634
635module = {
8c411768 636 name = minicmd;
8427685f 637 common = commands/minicmd.c;
8c411768
BC
638};
639
640module = {
8c411768 641 name = parttool;
8427685f 642 common = commands/parttool.c;
8c411768
BC
643};
644
645module = {
8c411768 646 name = password;
8427685f 647 common = commands/password.c;
8c411768
BC
648};
649
650module = {
8c411768 651 name = password_pbkdf2;
8427685f 652 common = commands/password_pbkdf2.c;
8c411768
BC
653};
654
655module = {
656 name = play;
f7711f5e
BC
657 x86 = commands/i386/pc/play.c;
658 enable = x86;
8c411768
BC
659};
660
661module = {
8c411768 662 name = probe;
8427685f 663 common = commands/probe.c;
8c411768
BC
664};
665
666module = {
667 name = pxecmd;
668 i386_pc = commands/i386/pc/pxecmd.c;
911bd640 669 enable = i386_pc;
8c411768
BC
670};
671
672module = {
8c411768 673 name = read;
8427685f 674 common = commands/read.c;
8c411768
BC
675};
676
677module = {
8c411768 678 name = reboot;
8427685f 679 common = commands/reboot.c;
8c411768
BC
680};
681
682module = {
8c411768 683 name = search;
8427685f 684 common = commands/search_wrap.c;
610c1efd 685 extra_dist = commands/search.c;
8c411768
BC
686};
687
688module = {
8c411768 689 name = search_fs_file;
8427685f 690 common = commands/search_file.c;
8c411768
BC
691};
692
693module = {
8c411768 694 name = search_fs_uuid;
8427685f 695 common = commands/search_uuid.c;
8c411768
BC
696};
697
698module = {
8c411768 699 name = search_label;
8427685f 700 common = commands/search_label.c;
8c411768
BC
701};
702
703module = {
704 name = setpci;
8427685f 705 common = commands/setpci.c;
911bd640 706 enable = x86;
8c411768
BC
707};
708
709module = {
8c411768 710 name = sleep;
8427685f 711 common = commands/sleep.c;
8c411768
BC
712};
713
714module = {
715 name = suspend;
8427685f 716 ieee1275 = commands/ieee1275/suspend.c;
911bd640
BC
717 enable = i386_ieee1275;
718 enable = powerpc_ieee1275;
8c411768
BC
719};
720
721module = {
8c411768 722 name = terminal;
8427685f 723 common = commands/terminal.c;
8c411768
BC
724};
725
726module = {
8c411768 727 name = test;
8427685f 728 common = commands/test.c;
8c411768
BC
729};
730
731module = {
8c411768 732 name = true;
8427685f 733 common = commands/true.c;
8c411768
BC
734};
735
736module = {
737 name = usbtest;
8427685f 738 common = commands/usbtest.c;
eefe8abd 739 enable = usb;
911bd640 740 enable = emu;
8427685f 741 emu_condition = COND_GRUB_EMU_USB;
8c411768
BC
742};
743
744module = {
540e2fe1
VS
745 name = videoinfo;
746 common = commands/videoinfo.c;
8c411768
BC
747};
748
749module = {
8c411768 750 name = videotest;
8427685f 751 common = commands/videotest.c;
8c411768
BC
752};
753
754module = {
8c411768 755 name = xnu_uuid;
8427685f 756 common = commands/xnu_uuid.c;
8c411768
BC
757};
758
759module = {
8c411768 760 name = dm_nv;
8427685f 761 common = disk/dmraid_nvidia.c;
8c411768
BC
762};
763
764module = {
8c411768 765 name = loopback;
8427685f 766 common = disk/loopback.c;
8c411768
BC
767};
768
769module = {
8c411768 770 name = lvm;
8427685f 771 common = disk/lvm.c;
8c411768
BC
772};
773
774module = {
1e8d555b 775 name = mdraid09;
8427685f 776 common = disk/mdraid_linux.c;
8c411768
BC
777};
778
1e8d555b
VS
779module = {
780 name = mdraid1x;
781 common = disk/mdraid1x_linux.c;
782};
783
8c411768 784module = {
8c411768 785 name = raid;
8427685f 786 common = disk/raid.c;
8c411768
BC
787};
788
789module = {
8c411768 790 name = raid5rec;
8427685f 791 common = disk/raid5_recover.c;
8c411768
BC
792};
793
794module = {
8c411768 795 name = raid6rec;
8427685f 796 common = disk/raid6_recover.c;
8c411768
BC
797};
798
799module = {
8c411768 800 name = scsi;
8427685f 801 common = disk/scsi.c;
8c411768
BC
802};
803
804module = {
8c411768 805 name = memdisk;
8427685f 806 common = disk/memdisk.c;
8c411768
BC
807};
808
809module = {
810 name = ata;
8427685f 811 common = disk/ata.c;
eefe8abd 812 enable = pci;
8c411768
BC
813};
814
815module = {
816 name = ata_pthru;
8427685f 817 common = disk/ata_pthru.c;
eefe8abd 818 enable = pci;
8c411768
BC
819};
820
821module = {
822 name = biosdisk;
823 i386_pc = disk/i386/pc/biosdisk.c;
911bd640 824 enable = i386_pc;
8c411768
BC
825};
826
827module = {
828 name = usbms;
8427685f 829 common = disk/usbms.c;
eefe8abd 830 enable = usb;
911bd640 831 enable = emu;
8427685f 832 emu_condition = COND_GRUB_EMU_USB;
8c411768
BC
833};
834
835module = {
836 name = nand;
8427685f 837 ieee1275 = disk/ieee1275/nand.c;
911bd640 838 enable = i386_ieee1275;
8c411768
BC
839};
840
841module = {
842 name = efiemu;
16bd6cfa
VS
843 common = efiemu/main.c;
844 common = efiemu/i386/loadcore32.c;
845 common = efiemu/i386/loadcore64.c;
8c411768 846 i386_pc = efiemu/i386/pc/cfgtables.c;
8218d8b6
VS
847 i386_coreboot = efiemu/i386/pc/cfgtables.c;
848 i386_multiboot = efiemu/i386/pc/cfgtables.c;
849 i386_ieee1275 = efiemu/i386/nocfgtables.c;
6f8157cb 850 i386_qemu = efiemu/i386/nocfgtables.c;
16bd6cfa
VS
851 common = efiemu/mm.c;
852 common = efiemu/loadcore_common.c;
853 common = efiemu/symbols.c;
854 common = efiemu/loadcore32.c;
855 common = efiemu/loadcore64.c;
856 common = efiemu/prepare32.c;
857 common = efiemu/prepare64.c;
858 common = efiemu/pnvram.c;
859 common = efiemu/i386/coredetect.c;
a60f6ee1
BC
860
861 extra_dist = efiemu/prepare.c;
862 extra_dist = efiemu/loadcore.c;
863 extra_dist = efiemu/runtime/efiemu.S;
864 extra_dist = efiemu/runtime/efiemu.c;
911bd640
BC
865
866 enable = i386_pc;
8218d8b6 867 enable = i386_coreboot;
16bd6cfa
VS
868 enable = i386_ieee1275;
869 enable = i386_multiboot;
6f8157cb 870 enable = i386_qemu;
8c411768
BC
871};
872
873module = {
874 name = font;
8427685f
BC
875 common = font/font.c;
876 common = font/font_cmd.c;
eefe8abd 877 enable = videomodules;
8c411768
BC
878};
879
880module = {
8c411768 881 name = affs;
8427685f 882 common = fs/affs.c;
8c411768
BC
883};
884
885module = {
8c411768 886 name = afs;
8427685f 887 common = fs/afs.c;
8c411768
BC
888};
889
890module = {
8c411768 891 name = afs_be;
8427685f 892 common = fs/afs_be.c;
8c411768
BC
893};
894
895module = {
8c411768 896 name = befs;
8427685f 897 common = fs/befs.c;
8c411768
BC
898};
899
900module = {
8c411768 901 name = befs_be;
8427685f 902 common = fs/befs_be.c;
8c411768
BC
903};
904
4dfbc574
RM
905module = {
906 name = btrfs;
907 common = fs/btrfs.c;
908};
909
8c411768 910module = {
8c411768 911 name = cpio;
8427685f 912 common = fs/cpio.c;
8c411768
BC
913};
914
915module = {
8c411768 916 name = ext2;
8427685f 917 common = fs/ext2.c;
8c411768
BC
918};
919
920module = {
8c411768 921 name = fat;
8427685f 922 common = fs/fat.c;
8c411768
BC
923};
924
925module = {
8c411768 926 name = fshelp;
8427685f 927 common = fs/fshelp.c;
8c411768
BC
928};
929
930module = {
8c411768 931 name = hfs;
8427685f 932 common = fs/hfs.c;
8c411768
BC
933};
934
935module = {
8c411768 936 name = hfsplus;
8427685f 937 common = fs/hfsplus.c;
8c411768
BC
938};
939
940module = {
8c411768 941 name = iso9660;
8427685f 942 common = fs/iso9660.c;
8c411768
BC
943};
944
945module = {
8c411768 946 name = jfs;
8427685f 947 common = fs/jfs.c;
8c411768
BC
948};
949
950module = {
8c411768 951 name = minix;
8427685f 952 common = fs/minix.c;
8c411768
BC
953};
954
b4a0c915
VS
955module = {
956 name = minix2;
957 common = fs/minix2.c;
958};
959
8c411768 960module = {
8c411768 961 name = nilfs2;
8427685f 962 common = fs/nilfs2.c;
8c411768
BC
963};
964
965module = {
8c411768 966 name = ntfs;
8427685f 967 common = fs/ntfs.c;
8c411768
BC
968};
969
970module = {
8c411768 971 name = ntfscomp;
8427685f 972 common = fs/ntfscomp.c;
8c411768
BC
973};
974
975module = {
8c411768 976 name = reiserfs;
8427685f 977 common = fs/reiserfs.c;
8c411768
BC
978};
979
980module = {
8c411768 981 name = sfs;
8427685f 982 common = fs/sfs.c;
8c411768
BC
983};
984
985module = {
8c411768 986 name = tar;
8427685f 987 common = fs/tar.c;
8c411768
BC
988};
989
990module = {
8c411768 991 name = udf;
8427685f 992 common = fs/udf.c;
8c411768
BC
993};
994
995module = {
8c411768 996 name = ufs1;
8427685f 997 common = fs/ufs.c;
8c411768
BC
998};
999
1000module = {
8c411768 1001 name = ufs2;
8427685f 1002 common = fs/ufs2.c;
8c411768
BC
1003};
1004
1005module = {
8c411768 1006 name = xfs;
8427685f 1007 common = fs/xfs.c;
8c411768
BC
1008};
1009
1010module = {
1011 name = pxe;
1012 i386_pc = fs/i386/pc/pxe.c;
911bd640 1013 enable = i386_pc;
8c411768
BC
1014};
1015
1016module = {
1017 name = gettext;
8427685f 1018 common = gettext/gettext.c;
8c411768
BC
1019};
1020
1021module = {
8c411768 1022 name = gfxmenu;
8427685f
BC
1023 common = gfxmenu/gfxmenu.c;
1024 common = gfxmenu/model.c;
1025 common = gfxmenu/view.c;
1026 common = gfxmenu/font.c;
1027 common = gfxmenu/icon_manager.c;
1028 common = gfxmenu/theme_loader.c;
1029 common = gfxmenu/widget-box.c;
1030 common = gfxmenu/gui_canvas.c;
1031 common = gfxmenu/gui_circular_progress.c;
1032 common = gfxmenu/gui_box.c;
1033 common = gfxmenu/gui_label.c;
1034 common = gfxmenu/gui_list.c;
1035 common = gfxmenu/gui_image.c;
1036 common = gfxmenu/gui_progress_bar.c;
1037 common = gfxmenu/gui_util.c;
1038 common = gfxmenu/gui_string_util.c;
1039 common = gfxmenu/named_colors.c;
8c411768
BC
1040};
1041
1042module = {
8c411768 1043 name = hello;
8427685f 1044 common = hello/hello.c;
8c411768
BC
1045};
1046
1047module = {
8c411768 1048 name = gzio;
8427685f 1049 common = io/gzio.c;
8c411768
BC
1050};
1051
1052module = {
1053 name = bufio;
8427685f 1054 common = io/bufio.c;
eefe8abd 1055 enable = videomodules;
8c411768
BC
1056};
1057
1058module = {
8c411768 1059 name = elf;
8427685f 1060 common = kern/elf.c;
8c411768
BC
1061};
1062
8c411768 1063module = {
8c411768 1064 name = crypto;
8427685f 1065 common = lib/crypto.c;
610c1efd
BC
1066
1067 extra_dist = lib/libgcrypt-grub/cipher/crypto.lst;
8c411768
BC
1068};
1069
8c411768 1070module = {
8c411768 1071 name = pbkdf2;
8427685f 1072 common = lib/pbkdf2.c;
8c411768
BC
1073};
1074
1075module = {
1076 name = relocator;
16bd6cfa
VS
1077 common = lib/relocator.c;
1078 x86 = lib/i386/relocator16.S;
1079 x86 = lib/i386/relocator32.S;
1080 x86 = lib/i386/relocator64.S;
1081 i386 = lib/i386/relocator_asm.S;
1082 x86_64 = lib/x86_64/relocator_asm.S;
8c411768 1083 x86 = lib/i386/relocator.c;
16bd6cfa
VS
1084 ieee1275 = lib/ieee1275/relocator.c;
1085 x86_efi = lib/efi/relocator.c;
1086 mips = lib/mips/relocator_asm.S;
1087 mips = lib/mips/relocator.c;
1088 powerpc = lib/powerpc/relocator_asm.S;
1089 powerpc = lib/powerpc/relocator.c;
1090
6556eba9
BC
1091 extra_dist = lib/i386/relocator_common.S;
1092 extra_dist = kern/powerpc/cache_flush.S;
1093
911bd640 1094 enable = mips;
16bd6cfa 1095 enable = powerpc;
911bd640 1096 enable = x86;
8c411768
BC
1097};
1098
1099module = {
1100 name = datetime;
eefe8abd 1101 cmos = lib/cmos_datetime.c;
8c411768
BC
1102 x86_efi = lib/efi/datetime.c;
1103 sparc64_ieee1275 = lib/ieee1275/datetime.c;
1104 powerpc_ieee1275 = lib/ieee1275/datetime.c;
eefe8abd 1105 enable = noemu;
8c411768
BC
1106};
1107
1108module = {
1109 name = setjmp;
8427685f 1110 common = lib/setjmp.S;
2b6c0084
BC
1111 extra_dist = lib/i386/setjmp.S;
1112 extra_dist = lib/mips/setjmp.S;
1113 extra_dist = lib/x86_64/setjmp.S;
1114 extra_dist = lib/sparc64/setjmp.S;
1115 extra_dist = lib/powerpc/setjmp.S;
8c411768
BC
1116};
1117
1118module = {
1119 name = aout;
8427685f 1120 common = loader/aout.c;
16bd6cfa 1121 enable = x86;
8c411768
BC
1122};
1123
1124module = {
1125 name = bsd;
16bd6cfa
VS
1126 x86 = loader/i386/bsd.c;
1127 x86 = loader/i386/bsd32.c;
1128 x86 = loader/i386/bsd64.c;
610c1efd
BC
1129
1130 extra_dist = loader/i386/bsdXX.c;
1131 extra_dist = loader/i386/bsd_pagetable.c;
1132
16bd6cfa 1133 enable = x86;
8c411768
BC
1134};
1135
1136module = {
1137 name = linux16;
8427685f 1138 i386_pc = loader/i386/pc/linux.c;
911bd640 1139 enable = i386_pc;
8c411768
BC
1140};
1141
16bd6cfa
VS
1142module = {
1143 name = ntldr;
1144 i386_pc = loader/i386/pc/ntldr.c;
1145 enable = i386_pc;
1146};
1147
8c411768
BC
1148module = {
1149 name = multiboot2;
1150 cppflags = "-DGRUB_USE_MULTIBOOT2";
1151
8427685f
BC
1152 common = loader/multiboot.c;
1153 common = loader/multiboot_mbi2.c;
911bd640
BC
1154 enable = x86;
1155 enable = mips;
8c411768
BC
1156};
1157
1158module = {
1159 name = multiboot;
8427685f
BC
1160 common = loader/multiboot.c;
1161 x86 = loader/i386/multiboot_mbi.c;
a60f6ee1 1162 extra_dist = loader/multiboot_elfxx.c;
911bd640 1163 enable = x86;
8c411768
BC
1164};
1165
1166module = {
1167 name = linux;
16bd6cfa 1168 x86 = loader/i386/linux.c;
e31bb619 1169 i386_pc = lib/i386/pc/vesa_modes_table.c;
8c411768
BC
1170 mips = loader/mips/linux.c;
1171 powerpc_ieee1275 = loader/powerpc/ieee1275/linux.c;
1172 sparc64_ieee1275 = loader/sparc64/ieee1275/linux.c;
8427685f 1173 enable = noemu;
8c411768
BC
1174};
1175
1176module = {
1177 name = xnu;
16bd6cfa
VS
1178 x86 = loader/xnu_resume.c;
1179 x86 = loader/i386/xnu.c;
1180 x86 = loader/macho32.c;
1181 x86 = loader/macho64.c;
1182 x86 = loader/macho.c;
1183 x86 = loader/xnu.c;
a60f6ee1
BC
1184
1185 extra_dist = loader/machoXX.c;
16bd6cfa 1186 enable = x86;
8c411768
BC
1187};
1188
1189module = {
1190 name = appleldr;
1191 x86_efi = loader/efi/appleloader.c;
911bd640 1192 enable = x86_efi;
8c411768
BC
1193};
1194
1195module = {
1196 name = chain;
1197 x86_efi = loader/efi/chainloader.c;
1198 i386_pc = loader/i386/pc/chainloader.c;
911bd640
BC
1199 enable = i386_pc;
1200 enable = x86_efi;
8c411768
BC
1201};
1202
1203module = {
1204 name = mmap;
eefe8abd
VS
1205 common = mmap/mmap.c;
1206 x86 = mmap/i386/uppermem.c;
1207 x86 = mmap/i386/mmap.c;
1208
8c411768
BC
1209 i386_pc = mmap/i386/pc/mmap.c;
1210 i386_pc = mmap/i386/pc/mmap_helper.S;
1211
8c411768
BC
1212 x86_efi = mmap/efi/mmap.c;
1213
8c411768 1214 mips_yeeloong = mmap/mips/yeeloong/uppermem.c;
911bd640
BC
1215
1216 enable = x86;
1217 enable = mips_yeeloong;
8c411768
BC
1218};
1219
1220module = {
8c411768 1221 name = normal;
8427685f
BC
1222 common = normal/main.c;
1223 common = normal/cmdline.c;
1224 common = normal/dyncmd.c;
1225 common = normal/auth.c;
1226 common = normal/autofs.c;
1227 common = normal/color.c;
1228 common = normal/completion.c;
1229 common = normal/datetime.c;
1230 common = normal/menu.c;
1231 common = normal/menu_entry.c;
1232 common = normal/menu_text.c;
1233 common = normal/misc.c;
1234 common = normal/crypto.c;
1235 common = normal/term.c;
1236 common = normal/context.c;
1237 common = normal/charset.c;
1238
1239 common = script/main.c;
1240 common = script/script.c;
1241 common = script/execute.c;
1242 common = script/function.c;
1243 common = script/lexer.c;
1244 common = script/argv.c;
1245
9284756e
BC
1246 common = commands/menuentry.c;
1247
8427685f
BC
1248 common = unidata.c;
1249 common_nodist = grub_script.tab.c;
1250 common_nodist = grub_script.yy.c;
1251 common_nodist = grub_script.tab.h;
1252 common_nodist = grub_script.yy.h;
297f0c2b
BC
1253
1254 extra_dist = script/yylex.l;
1255 extra_dist = script/parser.y;
1256
1257 cflags = '$(CFLAGS_POSIX) -Wno-error';
1258 cppflags = '$(CPPFLAGS_POSIX)';
8c411768
BC
1259};
1260
1261module = {
8c411768 1262 name = part_acorn;
8427685f 1263 common = partmap/acorn.c;
8c411768
BC
1264};
1265
1266module = {
8c411768 1267 name = part_amiga;
8427685f 1268 common = partmap/amiga.c;
8c411768
BC
1269};
1270
1271module = {
8c411768 1272 name = part_apple;
8427685f 1273 common = partmap/apple.c;
8c411768
BC
1274};
1275
1276module = {
8c411768 1277 name = part_gpt;
8427685f 1278 common = partmap/gpt.c;
8c411768
BC
1279};
1280
1281module = {
8c411768 1282 name = part_msdos;
8427685f 1283 common = partmap/msdos.c;
8c411768
BC
1284};
1285
1286module = {
8c411768 1287 name = part_sun;
8427685f 1288 common = partmap/sun.c;
8c411768
BC
1289};
1290
1291module = {
8c411768 1292 name = part_bsd;
8427685f 1293 common = partmap/bsdlabel.c;
8c411768
BC
1294};
1295
1296module = {
8c411768 1297 name = part_sunpc;
8427685f 1298 common = partmap/sunpc.c;
8c411768
BC
1299};
1300
1301module = {
8c411768 1302 name = msdospart;
8427685f 1303 common = parttool/msdospart.c;
8c411768
BC
1304};
1305
8c411768
BC
1306module = {
1307 name = at_keyboard;
8427685f 1308 common = term/at_keyboard.c;
911bd640 1309 enable = x86;
8c411768
BC
1310};
1311
1312module = {
1313 name = gfxterm;
8427685f 1314 common = term/gfxterm.c;
eefe8abd 1315 enable = videomodules;
8c411768
BC
1316};
1317
1318module = {
1319 name = serial;
8427685f 1320 common = term/serial.c;
d84666e6
BC
1321 x86 = term/ns8250.c;
1322
1323 enable = emu;
911bd640 1324 enable = i386;
d84666e6 1325 enable = x86_64_efi;
f7711f5e 1326 emu_condition = COND_GRUB_EMU_USB;
d84666e6
BC
1327};
1328
1329module = {
1330 name = sendkey;
1331 i386_pc = commands/i386/pc/sendkey.c;
1332 enable = i386_pc;
8c411768
BC
1333};
1334
1335module = {
8c411768 1336 name = terminfo;
8427685f
BC
1337 common = term/terminfo.c;
1338 common = term/tparm.c;
ee74fa48 1339 enable = terminfomodule;
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};