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