Indentation fix, cleanup.
[AROS.git] / arch / all-pc / boot / grub2-aros / grub-core / Makefile.core.def
blob42443bc00b97b05335a2efd386b3e32b40c2cd8a
1 AutoGen definitions Makefile.tpl;
3 script = {
4 installdir = noinst;
5 name = gensyminfo.sh;
6 common = gensyminfo.sh.in;
7 };
9 script = {
10 installdir = noinst;
11 name = genmod.sh;
12 common = genmod.sh.in;
15 script = {
16 installdir = noinst;
17 name = modinfo.sh;
18 common = modinfo.sh.in;
21 script = {
22 installdir = platform;
23 name = gmodule.pl;
24 common = gmodule.pl.in;
27 script = {
28 installdir = platform;
29 name = gdb_grub;
30 common = gdb_grub.in;
33 script = {
34 installdir = platform;
35 name = grub.chrp;
36 common = boot/powerpc/grub.chrp.in;
37 enable = powerpc_ieee1275;
40 script = {
41 installdir = platform;
42 name = bootinfo.txt;
43 common = boot/powerpc/bootinfo.txt.in;
44 enable = powerpc_ieee1275;
47 kernel = {
48 name = kernel;
50 nostrip = emu;
52 emu_ldflags = '-Wl,-r,-d';
53 i386_efi_ldflags = '-Wl,-r,-d';
54 i386_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
55 x86_64_efi_ldflags = '-Wl,-r,-d';
56 x86_64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
58 ia64_efi_cflags = '-fno-builtin -fpic -minline-int-divide-max-throughput';
59 ia64_efi_ldflags = '-Wl,-r,-d';
60 ia64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
62 x86_64_xen_cppflags = '$(CPPFLAGS_XEN)';
63 i386_xen_cppflags = '$(CPPFLAGS_XEN)';
65 arm_efi_ldflags = '-Wl,-r,-d';
66 arm_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
68 arm64_efi_ldflags = '-Wl,-r,-d';
69 arm64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version -R .eh_frame';
71 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
72 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x9000';
73 i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)';
74 i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8200';
75 i386_coreboot_ldflags = '$(TARGET_IMG_LDFLAGS)';
76 i386_coreboot_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8200';
77 i386_multiboot_ldflags = '$(TARGET_IMG_LDFLAGS)';
78 i386_multiboot_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8200';
79 i386_ieee1275_ldflags = '$(TARGET_IMG_LDFLAGS)';
80 i386_ieee1275_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x10000';
81 i386_xen_ldflags = '$(TARGET_IMG_LDFLAGS)';
82 i386_xen_ldflags = '$(TARGET_IMG_BASE_LDOPT),0';
83 x86_64_xen_ldflags = '$(TARGET_IMG_LDFLAGS)';
84 x86_64_xen_ldflags = '$(TARGET_IMG_BASE_LDOPT),0';
86 ldadd = '$(LDADD_KERNEL)';
88 mips_loongson_ldflags = '-Wl,-Ttext,0x80200000';
89 powerpc_ieee1275_ldflags = '-Wl,-Ttext,0x200000';
90 sparc64_ieee1275_ldflags = '-Wl,-Ttext,0x4400';
91 mips_arc_ldflags = '-Wl,-Ttext,$(TARGET_LINK_ADDR)';
92 mips_qemu_mips_ldflags = '-Wl,-Ttext,0x80200000';
94 mips_arc_cppflags = '-DGRUB_DECOMPRESSOR_LINK_ADDR=$(TARGET_DECOMPRESSOR_LINK_ADDR)';
95 i386_qemu_cppflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)';
96 emu_cflags = '$(CFLAGS_GNULIB)';
97 emu_cppflags = '$(CPPFLAGS_GNULIB)';
98 arm_uboot_ldflags = '-Wl,-Ttext=0x08000000';
99 arm_uboot_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
101 i386_pc_startup = kern/i386/pc/startup.S;
102 i386_efi_startup = kern/i386/efi/startup.S;
103 x86_64_efi_startup = kern/x86_64/efi/startup.S;
104 i386_xen_startup = kern/i386/xen/startup.S;
105 x86_64_xen_startup = kern/x86_64/xen/startup.S;
106 i386_qemu_startup = kern/i386/qemu/startup.S;
107 i386_ieee1275_startup = kern/i386/ieee1275/startup.S;
108 i386_coreboot_startup = kern/i386/coreboot/startup.S;
109 i386_multiboot_startup = kern/i386/coreboot/startup.S;
110 mips_startup = kern/mips/startup.S;
111 sparc64_ieee1275_startup = kern/sparc64/ieee1275/crt0.S;
112 powerpc_ieee1275_startup = kern/powerpc/ieee1275/startup.S;
113 arm_uboot_startup = kern/arm/uboot/startup.S;
114 arm_efi_startup = kern/arm/efi/startup.S;
115 arm64_efi_startup = kern/arm64/efi/startup.S;
117 common = kern/command.c;
118 common = kern/corecmd.c;
119 common = kern/device.c;
120 common = kern/disk.c;
121 common = kern/dl.c;
122 common = kern/env.c;
123 common = kern/err.c;
124 common = kern/file.c;
125 common = kern/fs.c;
126 common = kern/list.c;
127 common = kern/main.c;
128 common = kern/misc.c;
129 common = kern/parser.c;
130 common = kern/partition.c;
131 common = kern/rescue_parser.c;
132 common = kern/rescue_reader.c;
133 common = kern/term.c;
135 noemu = kern/mm.c;
136 noemu = kern/time.c;
137 noemu = kern/generic/millisleep.c;
139 noemu_nodist = symlist.c;
141 mips = kern/generic/rtc_get_time_ms.c;
143 ieee1275 = disk/ieee1275/ofdisk.c;
144 ieee1275 = kern/ieee1275/cmain.c;
145 ieee1275 = kern/ieee1275/ieee1275.c;
146 ieee1275 = kern/ieee1275/mmap.c;
147 ieee1275 = kern/ieee1275/openfw.c;
148 ieee1275 = term/ieee1275/console.c;
149 ieee1275 = kern/ieee1275/init.c;
151 uboot = disk/uboot/ubootdisk.c;
152 uboot = kern/uboot/uboot.c;
153 uboot = kern/uboot/init.c;
154 uboot = kern/uboot/hw.c;
155 uboot = term/uboot/console.c;
157 terminfoinkernel = term/terminfo.c;
158 terminfoinkernel = term/tparm.c;
159 terminfoinkernel = commands/extcmd.c;
160 terminfoinkernel = lib/arg.c;
162 i386 = kern/i386/dl.c;
163 i386_xen = kern/i386/dl.c;
165 i386_coreboot = kern/i386/coreboot/init.c;
166 i386_multiboot = kern/i386/coreboot/init.c;
167 i386_qemu = kern/i386/qemu/init.c;
168 i386_coreboot_multiboot_qemu = term/i386/pc/vga_text.c;
169 i386_coreboot = video/i386/coreboot/cbfb.c;
171 efi = disk/efi/efidisk.c;
172 efi = kern/efi/efi.c;
173 efi = kern/efi/init.c;
174 efi = kern/efi/mm.c;
175 efi = term/efi/console.c;
177 x86 = kern/i386/tsc.c;
179 i386_efi = kern/i386/efi/init.c;
180 i386_efi = bus/pci.c;
182 x86_64 = kern/x86_64/dl.c;
183 x86_64_xen = kern/x86_64/dl.c;
184 x86_64_efi = kern/x86_64/efi/callwrap.S;
185 x86_64_efi = kern/i386/efi/init.c;
186 x86_64_efi = bus/pci.c;
188 xen = kern/i386/tsc.c;
189 x86_64_xen = kern/x86_64/xen/hypercall.S;
190 i386_xen = kern/i386/xen/hypercall.S;
191 xen = kern/xen/init.c;
192 xen = term/xen/console.c;
193 xen = disk/xen/xendisk.c;
194 xen = commands/boot.c;
196 ia64_efi = kern/ia64/efi/startup.S;
197 ia64_efi = kern/ia64/efi/init.c;
198 ia64_efi = kern/ia64/dl.c;
199 ia64_efi = kern/ia64/dl_helper.c;
200 ia64_efi = kern/ia64/cache.c;
202 arm_efi = kern/arm/efi/init.c;
203 arm_efi = kern/arm/efi/misc.c;
205 arm64_efi = kern/arm/efi/init.c;
207 i386_pc = kern/i386/pc/init.c;
208 i386_pc = kern/i386/pc/mmap.c;
209 i386_pc = term/i386/pc/console.c;
211 i386_qemu = bus/pci.c;
212 i386_qemu = kern/vga_init.c;
213 i386_qemu = kern/i386/qemu/mmap.c;
215 i386_coreboot = kern/i386/coreboot/mmap.c;
216 i386_coreboot = kern/i386/coreboot/cbtable.c;
218 i386_multiboot = kern/i386/multiboot_mmap.c;
220 mips = kern/mips/cache.S;
221 mips = kern/mips/dl.c;
222 mips = kern/mips/init.c;
224 mips_qemu_mips = kern/mips/qemu_mips/init.c;
225 mips_qemu_mips = term/ns8250.c;
226 mips_qemu_mips = term/serial.c;
227 mips_qemu_mips = term/at_keyboard.c;
228 mips_qemu_mips = commands/boot.c;
229 mips_qemu_mips = commands/keylayouts.c;
230 mips_qemu_mips = term/i386/pc/vga_text.c;
231 mips_qemu_mips = kern/vga_init.c;
233 mips_arc = kern/mips/arc/init.c;
234 mips_arc = term/arc/console.c;
235 mips_arc = disk/arc/arcdisk.c;
237 mips_loongson = term/ns8250.c;
238 mips_loongson = bus/bonito.c;
239 mips_loongson = bus/cs5536.c;
240 mips_loongson = bus/pci.c;
241 mips_loongson = kern/mips/loongson/init.c;
242 mips_loongson = term/at_keyboard.c;
243 mips_loongson = commands/boot.c;
244 mips_loongson = term/serial.c;
245 mips_loongson = video/sm712.c;
246 mips_loongson = video/sis315pro.c;
247 mips_loongson = video/radeon_fuloong2e.c;
248 mips_loongson = video/radeon_yeeloong3a.c;
249 extra_dist = video/sm712_init.c;
250 extra_dist = video/sis315_init.c;
251 mips_loongson = commands/keylayouts.c;
253 powerpc_ieee1275 = kern/powerpc/cache.S;
254 powerpc_ieee1275 = kern/powerpc/dl.c;
256 sparc64_ieee1275 = kern/sparc64/cache.S;
257 sparc64_ieee1275 = kern/sparc64/dl.c;
258 sparc64_ieee1275 = kern/sparc64/ieee1275/ieee1275.c;
260 arm = kern/arm/dl.c;
261 arm = kern/arm/dl_helper.c;
262 arm = kern/arm/cache_armv6.S;
263 arm = kern/arm/cache_armv7.S;
264 extra_dist = kern/arm/cache.S;
265 arm = kern/arm/cache.c;
266 arm = kern/arm/misc.S;
268 arm64 = kern/arm64/cache.c;
269 arm64 = kern/arm64/cache_flush.S;
270 arm64 = kern/arm64/dl.c;
271 arm64 = kern/arm64/dl_helper.c;
273 emu = disk/host.c;
274 emu = kern/emu/cache_s.S;
275 emu = kern/emu/hostdisk.c;
276 emu = osdep/unix/hostdisk.c;
277 emu = osdep/exec.c;
278 extra_dist = osdep/unix/exec.c;
279 emu = osdep/devmapper/hostdisk.c;
280 emu = osdep/hostdisk.c;
281 emu = kern/emu/hostfs.c;
282 emu = kern/emu/main.c;
283 emu = kern/emu/argp_common.c;
284 emu = kern/emu/misc.c;
285 emu = kern/emu/mm.c;
286 emu = kern/emu/time.c;
287 emu = kern/emu/cache.c;
288 emu = osdep/emuconsole.c;
289 extra_dist = osdep/unix/emuconsole.c;
290 extra_dist = osdep/windows/emuconsole.c;
291 emu = osdep/dl.c;
292 extra_dist = osdep/unix/dl.c;
293 extra_dist = osdep/windows/dl.c;
294 emu = osdep/sleep.c;
295 emu = osdep/init.c;
296 emu = osdep/emunet.c;
297 extra_dist = osdep/linux/emunet.c;
298 extra_dist = osdep/basic/emunet.c;
299 emu = osdep/cputime.c;
300 extra_dist = osdep/unix/cputime.c;
301 extra_dist = osdep/windows/cputime.c;
303 videoinkernel = term/gfxterm.c;
304 videoinkernel = font/font.c;
305 videoinkernel = font/font_cmd.c;
306 videoinkernel = io/bufio.c;
307 videoinkernel = video/fb/fbblit.c;
308 videoinkernel = video/fb/fbfill.c;
309 videoinkernel = video/fb/fbutil.c;
310 videoinkernel = video/fb/video_fb.c;
311 videoinkernel = video/video.c;
313 extra_dist = kern/i386/int.S;
314 extra_dist = kern/i386/realmode.S;
315 extra_dist = boot/i386/pc/lzma_decode.S;
316 extra_dist = kern/mips/cache_flush.S;
319 program = {
320 name = grub-emu;
321 mansection = 1;
323 emu = kern/emu/full.c;
324 emu_nodist = grub_emu_init.c;
326 ldadd = 'kernel.exec$(EXEEXT)';
327 ldadd = '$(MODULE_FILES)';
328 ldadd = 'gnulib/libgnu.a $(LIBINTL) $(LIBUTIL) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
330 enable = emu;
333 program = {
334 name = grub-emu-lite;
336 emu = kern/emu/lite.c;
337 emu_nodist = symlist.c;
339 ldadd = 'kernel.exec$(EXEEXT)';
340 ldadd = 'gnulib/libgnu.a $(LIBINTL) $(LIBUTIL) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
342 enable = emu;
345 image = {
346 name = boot;
347 i386_pc = boot/i386/pc/boot.S;
348 i386_qemu = boot/i386/qemu/boot.S;
349 sparc64_ieee1275 = boot/sparc64/ieee1275/boot.S;
351 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
352 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
354 i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)';
355 i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),$(GRUB_BOOT_MACHINE_LINK_ADDR)';
356 i386_qemu_ccasflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)';
358 sparc64_ieee1275_objcopyflags = '-O a.out-sunos-big';
359 sparc64_ieee1275_ldflags = ' -Wl,-Ttext=0x4000';
361 objcopyflags = '-O binary';
362 enable = i386_pc;
363 enable = i386_qemu;
364 enable = sparc64_ieee1275;
367 image = {
368 name = boot_hybrid;
369 i386_pc = boot/i386/pc/boot.S;
371 cppflags = '-DHYBRID_BOOT=1';
373 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
374 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
376 objcopyflags = '-O binary';
377 enable = i386_pc;
380 image = {
381 name = cdboot;
383 i386_pc = boot/i386/pc/cdboot.S;
384 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
385 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
387 sparc64_ieee1275 = boot/sparc64/ieee1275/boot.S;
388 sparc64_ieee1275_objcopyflags = '-O a.out-sunos-big';
389 sparc64_ieee1275_ldflags = ' -Wl,-Ttext=0x4000';
390 sparc64_ieee1275_cppflags = '-DCDBOOT=1';
392 objcopyflags = '-O binary';
394 enable = sparc64_ieee1275;
395 enable = i386_pc;
398 image = {
399 name = pxeboot;
400 i386_pc = boot/i386/pc/pxeboot.S;
402 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
403 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
405 objcopyflags = '-O binary';
406 enable = i386_pc;
409 image = {
410 name = diskboot;
411 i386_pc = boot/i386/pc/diskboot.S;
413 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
414 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8000';
416 sparc64_ieee1275 = boot/sparc64/ieee1275/diskboot.S;
417 sparc64_ieee1275_ldflags = '-Wl,-Ttext=0x4200';
419 objcopyflags = '-O binary';
421 enable = i386_pc;
422 enable = sparc64_ieee1275;
425 image = {
426 name = lnxboot;
427 i386_pc = boot/i386/pc/lnxboot.S;
429 i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
430 i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x6000';
432 objcopyflags = '-O binary';
433 enable = i386_pc;
436 image = {
437 name = xz_decompress;
438 mips = boot/mips/startup_raw.S;
439 common = boot/decompressor/minilib.c;
440 common = boot/decompressor/xz.c;
441 common = lib/xzembed/xz_dec_bcj.c;
442 common = lib/xzembed/xz_dec_lzma2.c;
443 common = lib/xzembed/xz_dec_stream.c;
445 cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -DGRUB_EMBED_DECOMPRESSOR=1';
447 objcopyflags = '-O binary';
448 mips_ldflags = '$(TARGET_LDFLAGS_STATIC_LIBGCC) -Wl,-Ttext,$(TARGET_DECOMPRESSOR_LINK_ADDR)';
449 ldadd = '$(TARGET_LIBGCC)';
450 cflags = '-Wno-unreachable-code $(TARGET_LDFLAGS_STATIC_LIBGCC)';
451 enable = mips;
454 image = {
455 name = none_decompress;
456 mips = boot/mips/startup_raw.S;
457 common = boot/decompressor/none.c;
459 cppflags = '-DGRUB_EMBED_DECOMPRESSOR=1';
461 objcopyflags = '-O binary';
462 mips_ldflags = '$(TARGET_LDFLAGS_STATIC_LIBGCC) -Wl,-Ttext,$(TARGET_DECOMPRESSOR_LINK_ADDR)';
463 ldadd = '$(TARGET_LIBGCC)';
464 cflags = '$(TARGET_LDFLAGS_STATIC_LIBGCC)';
465 enable = mips;
468 image = {
469 name = lzma_decompress;
470 i386_pc = boot/i386/pc/startup_raw.S;
471 i386_pc_nodist = rs_decoder.h;
473 objcopyflags = '-O binary';
474 ldflags = '$(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x8200';
475 enable = i386_pc;
478 image = {
479 name = fwstart;
480 mips_loongson = boot/mips/loongson/fwstart.S;
481 objcopyflags = '-O binary';
482 ldflags = '$(TARGET_LDFLAGS_STATIC_LIBGCC) $(TARGET_LIBGCC) -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic';
483 enable = mips_loongson;
486 image = {
487 name = fwstart_fuloong2f;
488 mips_loongson = boot/mips/loongson/fuloong2f.S;
489 objcopyflags = '-O binary';
490 ldflags = '$(TARGET_LDFLAGS_STATIC_LIBGCC) $(TARGET_LIBGCC) -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic';
491 enable = mips_loongson;
494 module = {
495 name = disk;
496 common = lib/disk.c;
497 extra_dist = kern/disk_common.c;
500 module = {
501 name = trig;
502 common_nodist = trigtables.c;
503 extra_dist = gentrigtables.c;
506 module = {
507 name = cs5536;
508 x86 = bus/cs5536.c;
509 enable = x86;
512 module = {
513 name = libusb;
514 emu = bus/usb/emu/usb.c;
515 enable = emu;
516 condition = COND_GRUB_EMU_USB;
519 module = {
520 name = lsspd;
521 mips_loongson = commands/mips/loongson/lsspd.c;
522 enable = mips_loongson;
525 module = {
526 name = usb;
527 common = bus/usb/usb.c;
528 common = bus/usb/usbtrans.c;
529 common = bus/usb/usbhub.c;
530 enable = usb;
533 module = {
534 name = emuusb;
535 common = bus/usb/usb.c;
536 enable = emu;
537 condition = COND_GRUB_EMU_USB;
540 module = {
541 name = usbserial_common;
542 common = bus/usb/serial/common.c;
543 enable = usb;
546 module = {
547 name = usbserial_pl2303;
548 common = bus/usb/serial/pl2303.c;
549 enable = usb;
552 module = {
553 name = usbserial_ftdi;
554 common = bus/usb/serial/ftdi.c;
555 enable = usb;
558 module = {
559 name = usbserial_usbdebug;
560 common = bus/usb/serial/usbdebug_late.c;
561 enable = usb;
564 module = {
565 name = uhci;
566 common = bus/usb/uhci.c;
567 enable = pci;
570 module = {
571 name = ohci;
572 common = bus/usb/ohci.c;
573 enable = pci;
576 module = {
577 name = ehci;
578 common = bus/usb/ehci.c;
579 enable = pci;
582 module = {
583 name = pci;
584 common = bus/pci.c;
585 i386_ieee1275 = bus/i386/ieee1275/pci.c;
587 enable = i386_pc;
588 enable = i386_ieee1275;
589 enable = i386_coreboot;
590 enable = i386_multiboot;
593 module = {
594 name = nativedisk;
595 common = commands/nativedisk.c;
597 enable = x86;
598 enable = mips_loongson;
599 enable = mips_qemu_mips;
602 module = {
603 name = emupci;
604 common = bus/emu/pci.c;
605 common = commands/lspci.c;
607 enable = emu;
608 condition = COND_GRUB_EMU_PCI;
611 module = {
612 name = lsdev;
613 common = commands/arc/lsdev.c;
615 enable = mips_arc;
618 module = {
619 name = lsxen;
620 common = commands/xen/lsxen.c;
621 cppflags = '$(CPPFLAGS_XEN)';
623 enable = xen;
626 module = {
627 name = cmostest;
628 common = commands/i386/cmostest.c;
629 enable = cmos;
632 module = {
633 name = cmosdump;
634 common = commands/i386/cmosdump.c;
635 enable = cmos;
638 module = {
639 name = iorw;
640 common = commands/iorw.c;
641 enable = x86;
644 module = {
645 name = cbtable;
646 common = kern/i386/coreboot/cbtable.c;
647 enable = i386_pc;
648 enable = i386_efi;
649 enable = i386_qemu;
650 enable = i386_multiboot;
651 enable = i386_ieee1275;
652 enable = x86_64_efi;
655 module = {
656 name = cbtime;
657 common = commands/i386/coreboot/cb_timestamps.c;
658 enable = x86;
661 module = {
662 name = cbls;
663 common = commands/i386/coreboot/cbls.c;
664 enable = x86;
667 module = {
668 name = cbmemc;
669 common = term/i386/coreboot/cbmemc.c;
670 enable = x86;
673 module = {
674 name = regexp;
675 common = commands/regexp.c;
676 common = commands/wildcard.c;
677 common = gnulib/regex.c;
678 cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)';
679 cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)';
682 module = {
683 name = acpi;
685 common = commands/acpi.c;
686 efi = commands/efi/acpi.c;
687 i386_pc = commands/i386/pc/acpi.c;
688 i386_coreboot = commands/i386/pc/acpi.c;
689 i386_multiboot = commands/i386/pc/acpi.c;
691 enable = efi;
692 enable = i386_pc;
693 enable = i386_coreboot;
694 enable = i386_multiboot;
697 module = {
698 name = lsacpi;
700 common = commands/lsacpi.c;
702 enable = efi;
703 enable = i386_pc;
704 enable = i386_coreboot;
705 enable = i386_multiboot;
708 module = {
709 name = lsefisystab;
711 common = commands/efi/lsefisystab.c;
713 enable = efi;
716 module = {
717 name = lssal;
719 common = commands/efi/lssal.c;
721 enable = efi;
724 module = {
725 name = lsefimmap;
727 common = commands/efi/lsefimmap.c;
729 enable = efi;
732 module = {
733 name = lsefi;
734 common = commands/efi/lsefi.c;
735 enable = efi;
738 module = {
739 name = efifwsetup;
740 efi = commands/efi/efifwsetup.c;
741 enable = efi;
744 module = {
745 name = blocklist;
746 common = commands/blocklist.c;
749 module = {
750 name = boot;
751 common = commands/boot.c;
752 i386_pc = lib/i386/pc/biosnum.c;
753 enable = x86;
754 enable = emu;
755 enable = sparc64_ieee1275;
756 enable = powerpc_ieee1275;
757 enable = mips_arc;
758 enable = ia64_efi;
759 enable = arm_efi;
760 enable = arm64_efi;
761 enable = arm_uboot;
764 module = {
765 name = cat;
766 common = commands/cat.c;
769 module = {
770 name = cmp;
771 common = commands/cmp.c;
774 module = {
775 name = configfile;
776 common = commands/configfile.c;
779 module = {
780 name = cpuid;
781 common = commands/i386/cpuid.c;
782 enable = x86;
783 enable = i386_xen;
784 enable = x86_64_xen;
787 module = {
788 name = date;
789 common = commands/date.c;
792 module = {
793 name = drivemap;
795 i386_pc = commands/i386/pc/drivemap.c;
796 i386_pc = commands/i386/pc/drivemap_int13h.S;
797 enable = i386_pc;
800 module = {
801 name = echo;
802 common = commands/echo.c;
805 module = {
806 name = eval;
807 common = commands/eval.c;
810 module = {
811 name = extcmd;
812 common = commands/extcmd.c;
813 common = lib/arg.c;
814 enable = terminfomodule;
817 module = {
818 name = fixvideo;
819 common = commands/efi/fixvideo.c;
820 enable = i386_efi;
821 enable = x86_64_efi;
824 module = {
825 name = gptsync;
826 common = commands/gptsync.c;
829 module = {
830 name = halt;
831 nopc = commands/halt.c;
832 i386_pc = commands/i386/pc/halt.c;
833 i386_pc = commands/acpihalt.c;
834 i386_coreboot = commands/acpihalt.c;
835 i386_multiboot = commands/acpihalt.c;
836 i386_efi = commands/acpihalt.c;
837 x86_64_efi = commands/acpihalt.c;
838 i386_multiboot = lib/i386/halt.c;
839 i386_coreboot = lib/i386/halt.c;
840 i386_qemu = lib/i386/halt.c;
841 xen = lib/xen/halt.c;
842 xen_cppflags = '$(CPPFLAGS_XEN)';
843 efi = lib/efi/halt.c;
844 ieee1275 = lib/ieee1275/halt.c;
845 emu = lib/emu/halt.c;
846 uboot = lib/uboot/halt.c;
849 module = {
850 name = reboot;
851 i386 = lib/i386/reboot.c;
852 i386 = lib/i386/reboot_trampoline.S;
853 ia64_efi = lib/efi/reboot.c;
854 x86_64_efi = lib/efi/reboot.c;
855 arm_efi = lib/efi/reboot.c;
856 arm64_efi = lib/efi/reboot.c;
857 powerpc_ieee1275 = lib/ieee1275/reboot.c;
858 sparc64_ieee1275 = lib/ieee1275/reboot.c;
859 mips_arc = lib/mips/arc/reboot.c;
860 mips_loongson = lib/mips/loongson/reboot.c;
861 mips_qemu_mips = lib/mips/qemu_mips/reboot.c;
862 xen = lib/xen/reboot.c;
863 xen_cppflags = '$(CPPFLAGS_XEN)';
864 uboot = lib/uboot/reboot.c;
865 common = commands/reboot.c;
868 module = {
869 name = hashsum;
870 common = commands/hashsum.c;
873 module = {
874 name = verify;
875 common = commands/verify.c;
876 cflags = '$(CFLAGS_POSIX)';
877 cppflags = '-I$(srcdir)/lib/posix_wrap';
880 module = {
881 name = hdparm;
882 common = commands/hdparm.c;
883 common = lib/hexdump.c;
884 enable = pci;
885 enable = mips_qemu_mips;
888 module = {
889 name = help;
890 common = commands/help.c;
893 module = {
894 name = hexdump;
895 common = commands/hexdump.c;
896 common = lib/hexdump.c;
899 module = {
900 name = keystatus;
901 common = commands/keystatus.c;
904 module = {
905 name = loadbios;
906 common = commands/efi/loadbios.c;
907 enable = i386_efi;
908 enable = x86_64_efi;
911 module = {
912 name = loadenv;
913 common = commands/loadenv.c;
914 common = lib/envblk.c;
917 module = {
918 name = ls;
919 common = commands/ls.c;
922 module = {
923 name = lsmmap;
924 common = commands/lsmmap.c;
927 module = {
928 name = lspci;
929 common = commands/lspci.c;
931 enable = pci;
934 module = {
935 name = memrw;
936 common = commands/memrw.c;
939 module = {
940 name = minicmd;
941 common = commands/minicmd.c;
944 module = {
945 name = parttool;
946 common = commands/parttool.c;
949 module = {
950 name = password;
951 common = commands/password.c;
954 module = {
955 name = password_pbkdf2;
956 common = commands/password_pbkdf2.c;
959 module = {
960 name = play;
961 x86 = commands/i386/pc/play.c;
962 enable = x86;
965 module = {
966 name = spkmodem;
967 x86 = term/spkmodem.c;
968 enable = x86;
971 module = {
972 name = morse;
973 x86 = term/morse.c;
974 enable = x86;
977 module = {
978 name = probe;
979 common = commands/probe.c;
982 module = {
983 name = read;
984 common = commands/read.c;
987 module = {
988 name = search;
989 common = commands/search_wrap.c;
990 extra_dist = commands/search.c;
993 module = {
994 name = search_fs_file;
995 common = commands/search_file.c;
998 module = {
999 name = search_fs_uuid;
1000 common = commands/search_uuid.c;
1003 module = {
1004 name = search_label;
1005 common = commands/search_label.c;
1008 module = {
1009 name = setpci;
1010 common = commands/setpci.c;
1011 enable = pci;
1014 module = {
1015 name = pcidump;
1016 common = commands/pcidump.c;
1017 enable = pci;
1020 module = {
1021 name = sleep;
1022 common = commands/sleep.c;
1025 module = {
1026 name = suspend;
1027 ieee1275 = commands/ieee1275/suspend.c;
1028 enable = i386_ieee1275;
1029 enable = powerpc_ieee1275;
1032 module = {
1033 name = escc;
1034 ieee1275 = term/ieee1275/escc.c;
1035 enable = powerpc_ieee1275;
1038 module = {
1039 name = terminal;
1040 common = commands/terminal.c;
1043 module = {
1044 name = test;
1045 common = commands/test.c;
1048 module = {
1049 name = true;
1050 common = commands/true.c;
1053 module = {
1054 name = usbtest;
1055 common = commands/usbtest.c;
1056 enable = usb;
1059 module = {
1060 name = videoinfo;
1061 common = commands/videoinfo.c;
1064 module = {
1065 name = videotest;
1066 common = commands/videotest.c;
1069 module = {
1070 name = xnu_uuid;
1071 common = commands/xnu_uuid.c;
1074 module = {
1075 name = dm_nv;
1076 common = disk/dmraid_nvidia.c;
1079 module = {
1080 name = loopback;
1081 common = disk/loopback.c;
1084 module = {
1085 name = cryptodisk;
1086 common = disk/cryptodisk.c;
1089 module = {
1090 name = luks;
1091 common = disk/luks.c;
1092 common = disk/AFSplitter.c;
1095 module = {
1096 name = geli;
1097 common = disk/geli.c;
1100 module = {
1101 name = lvm;
1102 common = disk/lvm.c;
1105 module = {
1106 name = ldm;
1107 common = disk/ldm.c;
1110 module = {
1111 name = mdraid09;
1112 common = disk/mdraid_linux.c;
1115 module = {
1116 name = mdraid09_be;
1117 common = disk/mdraid_linux_be.c;
1120 module = {
1121 name = mdraid1x;
1122 common = disk/mdraid1x_linux.c;
1125 module = {
1126 name = diskfilter;
1127 common = disk/diskfilter.c;
1130 module = {
1131 name = raid5rec;
1132 common = disk/raid5_recover.c;
1135 module = {
1136 name = raid6rec;
1137 common = disk/raid6_recover.c;
1140 module = {
1141 name = scsi;
1142 common = disk/scsi.c;
1145 module = {
1146 name = memdisk;
1147 common = disk/memdisk.c;
1150 module = {
1151 name = ata;
1152 common = disk/ata.c;
1153 enable = pci;
1154 enable = mips_qemu_mips;
1157 module = {
1158 name = ahci;
1159 common = disk/ahci.c;
1160 enable = pci;
1163 module = {
1164 name = pata;
1165 common = disk/pata.c;
1166 enable = pci;
1167 enable = mips_qemu_mips;
1170 module = {
1171 name = biosdisk;
1172 i386_pc = disk/i386/pc/biosdisk.c;
1173 enable = i386_pc;
1176 module = {
1177 name = usbms;
1178 common = disk/usbms.c;
1179 enable = usb;
1182 module = {
1183 name = nand;
1184 ieee1275 = disk/ieee1275/nand.c;
1185 enable = i386_ieee1275;
1188 module = {
1189 name = efiemu;
1190 common = efiemu/main.c;
1191 common = efiemu/i386/loadcore32.c;
1192 common = efiemu/i386/loadcore64.c;
1193 i386_pc = efiemu/i386/pc/cfgtables.c;
1194 i386_coreboot = efiemu/i386/pc/cfgtables.c;
1195 i386_multiboot = efiemu/i386/pc/cfgtables.c;
1196 i386_ieee1275 = efiemu/i386/nocfgtables.c;
1197 i386_qemu = efiemu/i386/nocfgtables.c;
1198 common = efiemu/mm.c;
1199 common = efiemu/loadcore_common.c;
1200 common = efiemu/symbols.c;
1201 common = efiemu/loadcore32.c;
1202 common = efiemu/loadcore64.c;
1203 common = efiemu/prepare32.c;
1204 common = efiemu/prepare64.c;
1205 common = efiemu/pnvram.c;
1206 common = efiemu/i386/coredetect.c;
1208 extra_dist = efiemu/prepare.c;
1209 extra_dist = efiemu/loadcore.c;
1210 extra_dist = efiemu/runtime/efiemu.S;
1211 extra_dist = efiemu/runtime/efiemu.c;
1213 enable = i386_pc;
1214 enable = i386_coreboot;
1215 enable = i386_ieee1275;
1216 enable = i386_multiboot;
1217 enable = i386_qemu;
1220 module = {
1221 name = font;
1222 common = font/font.c;
1223 common = font/font_cmd.c;
1224 enable = videomodules;
1227 module = {
1228 name = procfs;
1229 common = fs/proc.c;
1232 module = {
1233 name = affs;
1234 common = fs/affs.c;
1237 module = {
1238 name = afs;
1239 common = fs/afs.c;
1242 module = {
1243 name = bfs;
1244 common = fs/bfs.c;
1247 module = {
1248 name = btrfs;
1249 common = fs/btrfs.c;
1250 common = lib/crc.c;
1251 cflags = '$(CFLAGS_POSIX) -Wno-undef';
1252 cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/minilzo -DMINILZO_HAVE_CONFIG_H';
1255 module = {
1256 name = archelp;
1257 common = fs/archelp.c;
1260 module = {
1261 name = cbfs;
1262 common = fs/cbfs.c;
1265 module = {
1266 name = cpio;
1267 common = fs/cpio.c;
1270 module = {
1271 name = cpio_be;
1272 common = fs/cpio_be.c;
1275 module = {
1276 name = newc;
1277 common = fs/newc.c;
1280 module = {
1281 name = odc;
1282 common = fs/odc.c;
1285 module = {
1286 name = ext2;
1287 common = fs/ext2.c;
1290 module = {
1291 name = fat;
1292 common = fs/fat.c;
1295 module = {
1296 name = exfat;
1297 common = fs/exfat.c;
1300 module = {
1301 name = fshelp;
1302 common = fs/fshelp.c;
1305 module = {
1306 name = hfs;
1307 common = fs/hfs.c;
1310 module = {
1311 name = hfsplus;
1312 common = fs/hfsplus.c;
1315 module = {
1316 name = hfspluscomp;
1317 common = fs/hfspluscomp.c;
1320 module = {
1321 name = iso9660;
1322 common = fs/iso9660.c;
1325 module = {
1326 name = jfs;
1327 common = fs/jfs.c;
1330 module = {
1331 name = minix;
1332 common = fs/minix.c;
1335 module = {
1336 name = minix2;
1337 common = fs/minix2.c;
1340 module = {
1341 name = minix3;
1342 common = fs/minix3.c;
1345 module = {
1346 name = minix_be;
1347 common = fs/minix_be.c;
1350 module = {
1351 name = minix2_be;
1352 common = fs/minix2_be.c;
1355 module = {
1356 name = minix3_be;
1357 common = fs/minix3_be.c;
1360 module = {
1361 name = nilfs2;
1362 common = fs/nilfs2.c;
1365 module = {
1366 name = ntfs;
1367 common = fs/ntfs.c;
1370 module = {
1371 name = ntfscomp;
1372 common = fs/ntfscomp.c;
1375 module = {
1376 name = reiserfs;
1377 common = fs/reiserfs.c;
1380 module = {
1381 name = romfs;
1382 common = fs/romfs.c;
1385 module = {
1386 name = sfs;
1387 common = fs/sfs.c;
1390 module = {
1391 name = squash4;
1392 common = fs/squash4.c;
1393 cflags = '$(CFLAGS_POSIX) -Wno-undef';
1394 cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -I$(srcdir)/lib/minilzo -DMINILZO_HAVE_CONFIG_H';
1397 module = {
1398 name = tar;
1399 common = fs/tar.c;
1402 module = {
1403 name = udf;
1404 common = fs/udf.c;
1407 module = {
1408 name = ufs1;
1409 common = fs/ufs.c;
1412 module = {
1413 name = ufs1_be;
1414 common = fs/ufs_be.c;
1417 module = {
1418 name = ufs2;
1419 common = fs/ufs2.c;
1422 module = {
1423 name = xfs;
1424 common = fs/xfs.c;
1427 module = {
1428 name = zfs;
1429 common = fs/zfs/zfs.c;
1430 common = fs/zfs/zfs_lzjb.c;
1431 common = fs/zfs/zfs_lz4.c;
1432 common = fs/zfs/zfs_sha256.c;
1433 common = fs/zfs/zfs_fletcher.c;
1436 module = {
1437 name = zfscrypt;
1438 common = fs/zfs/zfscrypt.c;
1441 module = {
1442 name = zfsinfo;
1443 common = fs/zfs/zfsinfo.c;
1446 module = {
1447 name = macbless;
1448 common = commands/macbless.c;
1451 module = {
1452 name = pxe;
1453 i386_pc = net/drivers/i386/pc/pxe.c;
1454 enable = i386_pc;
1457 module = {
1458 name = gettext;
1459 common = gettext/gettext.c;
1462 module = {
1463 name = gfxmenu;
1464 common = gfxmenu/gfxmenu.c;
1465 common = gfxmenu/model.c;
1466 common = gfxmenu/view.c;
1467 common = gfxmenu/font.c;
1468 common = gfxmenu/icon_manager.c;
1469 common = gfxmenu/theme_loader.c;
1470 common = gfxmenu/widget-box.c;
1471 common = gfxmenu/gui_canvas.c;
1472 common = gfxmenu/gui_circular_progress.c;
1473 common = gfxmenu/gui_box.c;
1474 common = gfxmenu/gui_label.c;
1475 common = gfxmenu/gui_list.c;
1476 common = gfxmenu/gui_image.c;
1477 common = gfxmenu/gui_progress_bar.c;
1478 common = gfxmenu/gui_util.c;
1479 common = gfxmenu/gui_string_util.c;
1482 module = {
1483 name = hello;
1484 common = hello/hello.c;
1487 module = {
1488 name = gzio;
1489 common = io/gzio.c;
1492 module = {
1493 name = offsetio;
1494 common = io/offset.c;
1497 module = {
1498 name = bufio;
1499 common = io/bufio.c;
1500 enable = videomodules;
1503 module = {
1504 name = elf;
1505 common = kern/elf.c;
1507 extra_dist = kern/elfXX.c;
1510 module = {
1511 name = crypto;
1512 common = lib/crypto.c;
1514 extra_dist = lib/libgcrypt-grub/cipher/crypto.lst;
1517 module = {
1518 name = pbkdf2;
1519 common = lib/pbkdf2.c;
1522 module = {
1523 name = relocator;
1524 common = lib/relocator.c;
1525 x86 = lib/i386/relocator16.S;
1526 x86 = lib/i386/relocator32.S;
1527 x86 = lib/i386/relocator64.S;
1528 i386 = lib/i386/relocator_asm.S;
1529 x86_64 = lib/x86_64/relocator_asm.S;
1530 i386_xen = lib/i386/relocator_asm.S;
1531 x86_64_xen = lib/x86_64/relocator_asm.S;
1532 x86 = lib/i386/relocator.c;
1533 x86 = lib/i386/relocator_common_c.c;
1534 ieee1275 = lib/ieee1275/relocator.c;
1535 efi = lib/efi/relocator.c;
1536 mips = lib/mips/relocator_asm.S;
1537 mips = lib/mips/relocator.c;
1538 powerpc = lib/powerpc/relocator_asm.S;
1539 powerpc = lib/powerpc/relocator.c;
1540 xen = lib/xen/relocator.c;
1541 i386_xen = lib/i386/xen/relocator.S;
1542 x86_64_xen = lib/x86_64/xen/relocator.S;
1543 xen = lib/i386/relocator_common_c.c;
1544 xen_cppflags = '$(CPPFLAGS_XEN)';
1546 extra_dist = lib/i386/relocator_common.S;
1547 extra_dist = kern/powerpc/cache_flush.S;
1549 enable = mips;
1550 enable = powerpc;
1551 enable = x86;
1552 enable = xen;
1555 module = {
1556 name = datetime;
1557 cmos = lib/cmos_datetime.c;
1558 efi = lib/efi/datetime.c;
1559 uboot = lib/uboot/datetime.c;
1560 sparc64_ieee1275 = lib/ieee1275/datetime.c;
1561 powerpc_ieee1275 = lib/ieee1275/datetime.c;
1562 sparc64_ieee1275 = lib/ieee1275/cmos.c;
1563 powerpc_ieee1275 = lib/ieee1275/cmos.c;
1564 xen = lib/xen/datetime.c;
1565 xen_cppflags = '$(CPPFLAGS_XEN)';
1567 mips_arc = lib/arc/datetime.c;
1568 enable = noemu;
1571 module = {
1572 name = setjmp;
1573 common = lib/setjmp.S;
1574 extra_dist = lib/i386/setjmp.S;
1575 extra_dist = lib/mips/setjmp.S;
1576 extra_dist = lib/x86_64/setjmp.S;
1577 extra_dist = lib/sparc64/setjmp.S;
1578 extra_dist = lib/powerpc/setjmp.S;
1579 extra_dist = lib/ia64/setjmp.S;
1580 extra_dist = lib/ia64/longjmp.S;
1581 extra_dist = lib/arm/setjmp.S;
1582 extra_dist = lib/arm64/setjmp.S;
1585 module = {
1586 name = aout;
1587 common = loader/aout.c;
1588 enable = x86;
1591 module = {
1592 name = bsd;
1593 x86 = loader/i386/bsd.c;
1594 x86 = loader/i386/bsd32.c;
1595 x86 = loader/i386/bsd64.c;
1597 extra_dist = loader/i386/bsdXX.c;
1598 extra_dist = loader/i386/bsd_pagetable.c;
1600 enable = x86;
1603 module = {
1604 name = plan9;
1605 i386_pc = loader/i386/pc/plan9.c;
1606 enable = i386_pc;
1610 module = {
1611 name = linux16;
1612 common = loader/i386/pc/linux.c;
1613 common = loader/linux.c;
1614 common = lib/cmdline.c;
1615 enable = x86;
1618 module = {
1619 name = ntldr;
1620 i386_pc = loader/i386/pc/ntldr.c;
1621 enable = i386_pc;
1625 module = {
1626 name = truecrypt;
1627 i386_pc = loader/i386/pc/truecrypt.c;
1628 enable = i386_pc;
1632 module = {
1633 name = freedos;
1634 i386_pc = loader/i386/pc/freedos.c;
1635 enable = i386_pc;
1638 module = {
1639 name = pxechain;
1640 i386_pc = loader/i386/pc/pxechainloader.c;
1641 enable = i386_pc;
1644 module = {
1645 name = multiboot2;
1646 cppflags = "-DGRUB_USE_MULTIBOOT2";
1648 common = loader/multiboot.c;
1649 common = lib/cmdline.c;
1650 common = loader/multiboot_mbi2.c;
1651 enable = x86;
1652 enable = mips;
1655 module = {
1656 name = multiboot;
1657 common = loader/multiboot.c;
1658 common = lib/cmdline.c;
1659 x86 = loader/i386/multiboot_mbi.c;
1660 extra_dist = loader/multiboot_elfxx.c;
1661 enable = x86;
1664 module = {
1665 name = linux;
1666 x86 = loader/i386/linux.c;
1667 xen = loader/i386/xen.c;
1668 xen_cppflags = '$(CPPFLAGS_XEN)';
1669 i386_pc = lib/i386/pc/vesa_modes_table.c;
1670 mips = loader/mips/linux.c;
1671 powerpc_ieee1275 = loader/powerpc/ieee1275/linux.c;
1672 sparc64_ieee1275 = loader/sparc64/ieee1275/linux.c;
1673 ia64_efi = loader/ia64/efi/linux.c;
1674 arm = loader/arm/linux.c;
1675 arm64 = loader/arm64/linux.c;
1676 fdt = lib/fdt.c;
1677 common = loader/linux.c;
1678 common = lib/cmdline.c;
1679 enable = noemu;
1682 module = {
1683 name = xnu;
1684 x86 = loader/xnu_resume.c;
1685 x86 = loader/i386/xnu.c;
1686 x86 = loader/xnu.c;
1688 enable = x86;
1691 module = {
1692 name = macho;
1694 common = loader/macho.c;
1695 common = loader/macho32.c;
1696 common = loader/macho64.c;
1697 common = loader/lzss.c;
1698 extra_dist = loader/machoXX.c;
1701 module = {
1702 name = appleldr;
1703 common = loader/efi/appleloader.c;
1704 enable = i386_efi;
1705 enable = x86_64_efi;
1708 module = {
1709 name = chain;
1710 efi = loader/efi/chainloader.c;
1711 i386_pc = loader/i386/pc/chainloader.c;
1712 i386_coreboot = loader/i386/coreboot/chainloader.c;
1713 i386_coreboot = lib/LzmaDec.c;
1714 enable = i386_pc;
1715 enable = i386_coreboot;
1716 enable = efi;
1719 module = {
1720 name = mmap;
1721 common = mmap/mmap.c;
1722 x86 = mmap/i386/uppermem.c;
1723 x86 = mmap/i386/mmap.c;
1725 i386_pc = mmap/i386/pc/mmap.c;
1726 i386_pc = mmap/i386/pc/mmap_helper.S;
1728 efi = mmap/efi/mmap.c;
1730 mips = mmap/mips/uppermem.c;
1732 enable = x86;
1733 enable = ia64_efi;
1734 enable = arm_efi;
1735 enable = arm64_efi;
1736 enable = mips;
1739 module = {
1740 name = normal;
1741 common = normal/main.c;
1742 common = normal/cmdline.c;
1743 common = normal/dyncmd.c;
1744 common = normal/auth.c;
1745 common = normal/autofs.c;
1746 common = normal/color.c;
1747 common = normal/completion.c;
1748 common = normal/datetime.c;
1749 common = normal/menu.c;
1750 common = normal/menu_entry.c;
1751 common = normal/menu_text.c;
1752 common = normal/misc.c;
1753 common = normal/crypto.c;
1754 common = normal/term.c;
1755 common = normal/context.c;
1756 common = normal/charset.c;
1757 common = lib/getline.c;
1759 common = script/main.c;
1760 common = script/script.c;
1761 common = script/execute.c;
1762 common = script/function.c;
1763 common = script/lexer.c;
1764 common = script/argv.c;
1766 common = commands/menuentry.c;
1768 common = unidata.c;
1769 common_nodist = grub_script.tab.c;
1770 common_nodist = grub_script.yy.c;
1771 common_nodist = grub_script.tab.h;
1772 common_nodist = grub_script.yy.h;
1774 extra_dist = script/yylex.l;
1775 extra_dist = script/parser.y;
1777 cflags = '$(CFLAGS_POSIX) -Wno-redundant-decls';
1778 cppflags = '$(CPPFLAGS_POSIX)';
1781 module = {
1782 name = part_acorn;
1783 common = partmap/acorn.c;
1786 module = {
1787 name = part_amiga;
1788 common = partmap/amiga.c;
1791 module = {
1792 name = part_apple;
1793 common = partmap/apple.c;
1796 module = {
1797 name = part_gpt;
1798 common = partmap/gpt.c;
1801 module = {
1802 name = part_msdos;
1803 common = partmap/msdos.c;
1806 module = {
1807 name = part_sun;
1808 common = partmap/sun.c;
1811 module = {
1812 name = part_plan;
1813 common = partmap/plan.c;
1816 module = {
1817 name = part_dvh;
1818 common = partmap/dvh.c;
1821 module = {
1822 name = part_bsd;
1823 common = partmap/bsdlabel.c;
1826 module = {
1827 name = part_sunpc;
1828 common = partmap/sunpc.c;
1831 module = {
1832 name = part_dfly;
1833 common = partmap/dfly.c;
1836 module = {
1837 name = msdospart;
1838 common = parttool/msdospart.c;
1841 module = {
1842 name = at_keyboard;
1843 common = term/at_keyboard.c;
1844 enable = x86;
1847 module = {
1848 name = gfxterm;
1849 common = term/gfxterm.c;
1850 enable = videomodules;
1853 module = {
1854 name = gfxterm_background;
1855 common = term/gfxterm_background.c;
1858 module = {
1859 name = serial;
1860 common = term/serial.c;
1861 x86 = term/ns8250.c;
1862 ieee1275 = term/ieee1275/serial.c;
1863 mips_arc = term/arc/serial.c;
1864 efi = term/efi/serial.c;
1866 enable = terminfomodule;
1867 enable = ieee1275;
1868 enable = mips_arc;
1871 module = {
1872 name = sendkey;
1873 i386_pc = commands/i386/pc/sendkey.c;
1874 enable = i386_pc;
1877 module = {
1878 name = terminfo;
1879 common = term/terminfo.c;
1880 common = term/tparm.c;
1881 enable = terminfomodule;
1884 module = {
1885 name = usb_keyboard;
1886 common = term/usb_keyboard.c;
1887 enable = usb;
1890 module = {
1891 name = vga;
1892 common = video/i386/pc/vga.c;
1893 enable = i386_pc;
1896 module = {
1897 name = vga_text;
1898 common = term/i386/pc/vga_text.c;
1899 enable = i386_pc;
1902 module = {
1903 name = mda_text;
1904 common = term/i386/pc/mda_text.c;
1905 enable = i386_pc;
1906 enable = i386_coreboot_multiboot_qemu;
1909 module = {
1910 name = video_cirrus;
1911 x86 = video/cirrus.c;
1912 enable = x86;
1915 module = {
1916 name = video_bochs;
1917 x86 = video/bochs.c;
1918 enable = x86;
1921 module = {
1922 name = functional_test;
1923 common = tests/lib/functional_test.c;
1924 common = tests/lib/test.c;
1925 common = tests/checksums.h;
1926 common = tests/video_checksum.c;
1927 common = tests/fake_input.c;
1928 common = video/capture.c;
1931 module = {
1932 name = exfctest;
1933 common = tests/example_functional_test.c;
1936 module = {
1937 name = setjmp_test;
1938 common = tests/setjmp_test.c;
1941 module = {
1942 name = signature_test;
1943 common = tests/signature_test.c;
1944 common = tests/signatures.h;
1947 module = {
1948 name = sleep_test;
1949 common = tests/sleep_test.c;
1952 module = {
1953 name = xnu_uuid_test;
1954 common = tests/xnu_uuid_test.c;
1957 module = {
1958 name = pbkdf2_test;
1959 common = tests/pbkdf2_test.c;
1962 module = {
1963 name = legacy_password_test;
1964 common = tests/legacy_password_test.c;
1965 enable = i386_pc;
1966 enable = i386_efi;
1967 enable = x86_64_efi;
1968 enable = emu;
1969 enable = xen;
1972 module = {
1973 name = div_test;
1974 common = tests/div_test.c;
1977 module = {
1978 name = videotest_checksum;
1979 common = tests/videotest_checksum.c;
1982 module = {
1983 name = gfxterm_menu;
1984 common = tests/gfxterm_menu.c;
1987 module = {
1988 name = cmdline_cat_test;
1989 common = tests/cmdline_cat_test.c;
1992 module = {
1993 name = bitmap;
1994 common = video/bitmap.c;
1997 module = {
1998 name = bitmap_scale;
1999 common = video/bitmap_scale.c;
2002 module = {
2003 name = efi_gop;
2004 efi = video/efi_gop.c;
2005 enable = efi;
2008 module = {
2009 name = efi_uga;
2010 efi = video/efi_uga.c;
2011 enable = i386_efi;
2012 enable = x86_64_efi;
2015 module = {
2016 name = jpeg;
2017 common = video/readers/jpeg.c;
2020 module = {
2021 name = png;
2022 common = video/readers/png.c;
2025 module = {
2026 name = tga;
2027 common = video/readers/tga.c;
2030 module = {
2031 name = vbe;
2032 common = video/i386/pc/vbe.c;
2033 enable = i386_pc;
2036 module = {
2037 name = video_fb;
2038 common = video/fb/video_fb.c;
2039 common = video/fb/fbblit.c;
2040 common = video/fb/fbfill.c;
2041 common = video/fb/fbutil.c;
2042 enable = videomodules;
2045 module = {
2046 name = video;
2047 common = video/video.c;
2048 enable = videomodules;
2051 module = {
2052 name = video_colors;
2053 common = video/colors.c;
2056 module = {
2057 name = ieee1275_fb;
2058 ieee1275 = video/ieee1275.c;
2059 enable = powerpc_ieee1275;
2062 module = {
2063 name = sdl;
2064 emu = video/emu/sdl.c;
2065 enable = emu;
2066 condition = COND_GRUB_EMU_SDL;
2069 module = {
2070 name = datehook;
2071 common = hook/datehook.c;
2074 module = {
2075 name = net;
2076 common = net/net.c;
2077 common = net/dns.c;
2078 common = net/bootp.c;
2079 common = net/ip.c;
2080 common = net/udp.c;
2081 common = net/tcp.c;
2082 common = net/icmp.c;
2083 common = net/icmp6.c;
2084 common = net/ethernet.c;
2085 common = net/arp.c;
2086 common = net/netbuff.c;
2089 module = {
2090 name = tftp;
2091 common = net/tftp.c;
2094 module = {
2095 name = http;
2096 common = net/http.c;
2099 module = {
2100 name = ofnet;
2101 common = net/drivers/ieee1275/ofnet.c;
2102 enable = ieee1275;
2105 module = {
2106 name = ubootnet;
2107 common = net/drivers/uboot/ubootnet.c;
2108 enable = uboot;
2111 module = {
2112 name = efinet;
2113 common = net/drivers/efi/efinet.c;
2114 enable = efi;
2117 module = {
2118 name = emunet;
2119 emu = net/drivers/emu/emunet.c;
2120 enable = emu;
2123 module = {
2124 name = legacycfg;
2125 common = commands/legacycfg.c;
2126 common = lib/legacy_parse.c;
2127 emu = lib/i386/pc/vesa_modes_table.c;
2128 i386_efi = lib/i386/pc/vesa_modes_table.c;
2129 x86_64_efi = lib/i386/pc/vesa_modes_table.c;
2130 xen = lib/i386/pc/vesa_modes_table.c;
2132 enable = i386_pc;
2133 enable = i386_efi;
2134 enable = x86_64_efi;
2135 enable = emu;
2136 enable = xen;
2139 module = {
2140 name = syslinuxcfg;
2141 common = lib/syslinux_parse.c;
2142 common = commands/syslinuxcfg.c;
2145 module = {
2146 name = test_blockarg;
2147 common = tests/test_blockarg.c;
2150 module = {
2151 name = xzio;
2152 common = io/xzio.c;
2153 common = lib/xzembed/xz_dec_bcj.c;
2154 common = lib/xzembed/xz_dec_lzma2.c;
2155 common = lib/xzembed/xz_dec_stream.c;
2156 cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed';
2157 cflags='-Wno-unreachable-code';
2160 module = {
2161 name = lzopio;
2162 common = io/lzopio.c;
2163 common = lib/minilzo/minilzo.c;
2164 cflags = '$(CFLAGS_POSIX) -Wno-undef -Wno-redundant-decls -Wno-error';
2165 cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/minilzo -DMINILZO_HAVE_CONFIG_H';
2168 module = {
2169 name = testload;
2170 common = commands/testload.c;
2173 module = {
2174 name = backtrace;
2175 x86 = lib/i386/backtrace.c;
2176 i386_xen = lib/i386/backtrace.c;
2177 x86_64_xen = lib/i386/backtrace.c;
2178 common = lib/backtrace.c;
2179 enable = x86;
2180 enable = i386_xen;
2181 enable = x86_64_xen;
2184 module = {
2185 name = lsapm;
2186 common = commands/i386/pc/lsapm.c;
2187 enable = i386_pc;
2190 module = {
2191 name = keylayouts;
2192 common = commands/keylayouts.c;
2193 enable = x86;
2196 module = {
2197 name = priority_queue;
2198 common = lib/priority_queue.c;
2201 module = {
2202 name = time;
2203 common = commands/time.c;
2206 module = {
2207 name = cacheinfo;
2208 common = commands/cacheinfo.c;
2209 condition = COND_ENABLE_CACHE_STATS;
2212 module = {
2213 name = boottime;
2214 common = commands/boottime.c;
2215 condition = COND_ENABLE_BOOT_TIME_STATS;
2218 module = {
2219 name = adler32;
2220 common = lib/adler32.c;
2223 module = {
2224 name = crc64;
2225 common = lib/crc64.c;
2228 module = {
2229 name = mpi;
2230 common = lib/libgcrypt-grub/mpi/mpiutil.c;
2231 common = lib/libgcrypt-grub/mpi/mpi-bit.c;
2232 common = lib/libgcrypt-grub/mpi/mpi-add.c;
2233 common = lib/libgcrypt-grub/mpi/mpi-mul.c;
2234 common = lib/libgcrypt-grub/mpi/mpi-mod.c;
2235 common = lib/libgcrypt-grub/mpi/mpi-gcd.c;
2236 common = lib/libgcrypt-grub/mpi/mpi-div.c;
2237 common = lib/libgcrypt-grub/mpi/mpi-cmp.c;
2238 common = lib/libgcrypt-grub/mpi/mpi-inv.c;
2239 common = lib/libgcrypt-grub/mpi/mpi-pow.c;
2240 common = lib/libgcrypt-grub/mpi/mpi-mpow.c;
2241 common = lib/libgcrypt-grub/mpi/mpih-lshift.c;
2242 common = lib/libgcrypt-grub/mpi/mpih-mul.c;
2243 common = lib/libgcrypt-grub/mpi/mpih-mul1.c;
2244 common = lib/libgcrypt-grub/mpi/mpih-mul2.c;
2245 common = lib/libgcrypt-grub/mpi/mpih-mul3.c;
2246 common = lib/libgcrypt-grub/mpi/mpih-add1.c;
2247 common = lib/libgcrypt-grub/mpi/mpih-sub1.c;
2248 common = lib/libgcrypt-grub/mpi/mpih-div.c;
2249 common = lib/libgcrypt-grub/mpi/mpicoder.c;
2250 common = lib/libgcrypt-grub/mpi/mpih-rshift.c;
2251 common = lib/libgcrypt-grub/mpi/mpi-inline.c;
2252 common = lib/libgcrypt_wrap/mem.c;
2254 cflags = '$(CFLAGS_GCRY) -Wno-redundant-decls -Wno-sign-compare';
2255 cppflags = '$(CPPFLAGS_GCRY)';
2258 module = {
2259 name = all_video;
2260 common = lib/fake_module.c;
2263 module = {
2264 name = gdb;
2265 common = gdb/cstub.c;
2266 common = gdb/gdb.c;
2267 i386 = gdb/i386/idt.c;
2268 i386 = gdb/i386/machdep.S;
2269 i386 = gdb/i386/signal.c;
2270 enable = i386;
2273 module = {
2274 name = testspeed;
2275 common = commands/testspeed.c;
2278 module = {
2279 name = tr;
2280 common = commands/tr.c;
2283 module = {
2284 name = progress;
2285 common = lib/progress.c;
2288 module = {
2289 name = file;
2290 common = commands/file.c;
2291 common = commands/file32.c;
2292 common = commands/file64.c;
2293 extra_dist = commands/fileXX.c;
2294 common = loader/i386/xen_file.c;
2295 common = loader/i386/xen_file32.c;
2296 common = loader/i386/xen_file64.c;
2297 extra_dist = loader/i386/xen_fileXX.c;