grub/grub-core/Makefile.core.def

1379 lines
25 KiB
Modula-2
Raw Normal View History

2010-05-06 06:04:04 +00:00
AutoGen definitions Makefile.tpl;
kernel = {
name = kernel;
2010-07-13 18:28:30 +00:00
nostrip = emu;
2010-07-13 18:05:24 +00:00
emu_ldflags = '-Wl,-r,-d';
x86_efi_ldflags = '-Wl,-r,-d';
x86_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment';
2010-06-07 11:53:54 +00:00
i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),$(GRUB_KERNEL_MACHINE_LINK_ADDR)';
i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)';
i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),$(GRUB_KERNEL_MACHINE_LINK_ADDR)';
2010-05-06 06:04:04 +00:00
i386_coreboot_ldflags = '-Wl,-Ttext=$(GRUB_KERNEL_MACHINE_LINK_ADDR)';
2010-05-10 08:20:43 +00:00
i386_multiboot_ldflags = '-Wl,-Ttext=$(GRUB_KERNEL_MACHINE_LINK_ADDR)';
2010-05-06 06:04:04 +00:00
i386_ieee1275_ldflags = '-Wl,-Ttext=$(GRUB_KERNEL_MACHINE_LINK_ADDR)';
mips_yeeloong_ldflags = '-Wl,-Ttext,$(GRUB_KERNEL_MACHINE_LINK_ADDR)';
powerpc_ieee1275_ldflags = '-Wl,-Ttext,$(GRUB_KERNEL_MACHINE_LINK_ADDR)';
mips_yeeloong_cppflags = '-DUSE_ASCII_FAILBACK';
i386_qemu_cppflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)';
i386_qemu_ccasflags = '-DGRUB_KERNEL_MACHINE_LINK_ADDR=$(GRUB_KERNEL_MACHINE_LINK_ADDR)';
2010-05-06 07:25:47 +00:00
emu_cflags = '$(CFLAGS_GNULIB)';
emu_cppflags = '$(CPPFLAGS_GNULIB)';
2010-05-06 06:04:04 +00:00
mips_ldadd = '-lgcc';
powerpc_ldadd = '-lgcc';
sparc64_ldadd = '-lgcc';
i386_pc_startup = kern/i386/pc/startup.S;
i386_efi_startup = kern/i386/efi/startup.S;
x86_64_efi_startup = kern/x86_64/efi/startup.S;
i386_qemu_startup = kern/i386/qemu/startup.S;
i386_ieee1275_startup = kern/i386/ieee1275/startup.S;
i386_coreboot_startup = kern/i386/coreboot/startup.S;
i386_multiboot_startup = kern/i386/coreboot/startup.S;
mips_yeeloong_startup = kern/mips/startup.S;
sparc64_ieee1275_startup = kern/sparc64/ieee1275/crt0.S;
powerpc_ieee1275_startup = kern/powerpc/ieee1275/startup.S;
common = kern/command.c;
common = kern/corecmd.c;
common = kern/device.c;
common = kern/disk.c;
common = kern/dl.c;
common = kern/env.c;
common = kern/err.c;
common = kern/file.c;
common = kern/fs.c;
common = kern/list.c;
common = kern/main.c;
common = kern/misc.c;
common = kern/parser.c;
common = kern/partition.c;
common = kern/rescue_parser.c;
common = kern/rescue_reader.c;
common = kern/term.c;
noemu = kern/mm.c;
noemu = kern/time.c;
noemu = kern/generic/millisleep.c;
noemu_nodist = symlist.c;
i386_pc = kern/generic/rtc_get_time_ms.c;
x86_efi = kern/generic/rtc_get_time_ms.c;
i386_qemu = kern/generic/rtc_get_time_ms.c;
i386_coreboot = kern/generic/rtc_get_time_ms.c;
i386_multiboot = kern/generic/rtc_get_time_ms.c;
mips_yeeloong = kern/generic/rtc_get_time_ms.c;
ieee1275 = disk/ieee1275/ofdisk.c;
ieee1275 = kern/ieee1275/cmain.c;
ieee1275 = kern/ieee1275/ieee1275.c;
ieee1275 = kern/ieee1275/mmap.c;
ieee1275 = kern/ieee1275/openfw.c;
ieee1275 = term/ieee1275/ofconsole.c;
ieee1275 = term/terminfo.c;
ieee1275 = term/tparm.c;
mips = term/terminfo.c;
mips = term/tparm.c;
i386 = kern/i386/dl.c;
i386_coreboot_multiboot_qemu = kern/i386/coreboot/init.c;
i386_coreboot_multiboot_qemu = term/i386/pc/vga_text.c;
i386_coreboot_multiboot_qemu = term/i386/vga_common.c;
i386_pc = term/i386/vga_common.c;
x86 = kern/i386/pit.c;
x86_efi = disk/efi/efidisk.c;
x86_efi = kern/efi/efi.c;
x86_efi = kern/efi/init.c;
x86_efi = kern/efi/mm.c;
x86_efi = kern/i386/efi/init.c;
x86_efi = term/efi/console.c;
i386_efi = kern/i386/tsc.c;
x86_64_efi = kern/i386/tsc.c;
x86_64_efi = kern/x86_64/dl.c;
x86_64_efi = kern/x86_64/efi/callwrap.S;
2010-05-06 06:04:04 +00:00
i386_pc = kern/i386/pc/init.c;
i386_pc = kern/i386/pc/mmap.c;
i386_pc = kern/i386/tsc.c;
i386_pc = term/i386/pc/console.c;
i386_qemu = bus/pci.c;
i386_qemu = kern/i386/qemu/init.c;
i386_qemu = kern/i386/qemu/mmap.c;
i386_qemu = kern/i386/tsc.c;
2010-05-06 06:04:04 +00:00
i386_coreboot = kern/i386/coreboot/mmap.c;
i386_coreboot = kern/i386/tsc.c;
2010-05-10 08:20:43 +00:00
i386_multiboot = kern/i386/multiboot_mmap.c;
i386_multiboot = kern/i386/tsc.c;
2010-05-06 06:04:04 +00:00
i386_ieee1275 = kern/ieee1275/init.c;
2010-08-22 15:30:22 +00:00
mips_yeeloong = term/ns8250.c;
mips_yeeloong = bus/bonito.c;
mips_yeeloong = bus/cs5536.c;
mips_yeeloong = bus/pci.c;
mips_yeeloong = kern/mips/cache.S;
mips_yeeloong = kern/mips/dl.c;
2010-05-06 06:04:04 +00:00
mips_yeeloong = kern/mips/init.c;
mips_yeeloong = kern/mips/yeeloong/init.c;
mips_yeeloong = term/at_keyboard.c;
mips_yeeloong = term/serial.c;
2010-05-06 06:04:04 +00:00
mips_yeeloong = video/sm712.c;
powerpc_ieee1275 = kern/ieee1275/init.c;
powerpc_ieee1275 = kern/powerpc/cache.S;
powerpc_ieee1275 = kern/powerpc/dl.c;
sparc64_ieee1275 = kern/sparc64/cache.S;
sparc64_ieee1275 = kern/sparc64/dl.c;
2010-05-06 06:04:04 +00:00
sparc64_ieee1275 = kern/sparc64/ieee1275/ieee1275.c;
sparc64_ieee1275 = kern/sparc64/ieee1275/init.c;
emu = disk/host.c;
emu = gnulib/progname.c;
emu = kern/emu/console.c;
2010-05-06 06:04:04 +00:00
emu = kern/emu/getroot.c;
emu = kern/emu/hostdisk.c;
emu = kern/emu/hostfs.c;
emu = kern/emu/main.c;
emu = kern/emu/misc.c;
emu = kern/emu/mm.c;
emu = kern/emu/time.c;
2010-06-03 10:00:15 +00:00
videoinkernel = lib/arg.c;
videoinkernel = term/gfxterm.c;
videoinkernel = commands/extcmd.c;
videoinkernel = font/font.c;
videoinkernel = font/font_cmd.c;
videoinkernel = io/bufio.c;
videoinkernel = video/bitmap.c;
videoinkernel = video/bitmap_scale.c;
videoinkernel = video/fb/fbblit.c;
videoinkernel = video/fb/fbfill.c;
videoinkernel = video/fb/fbutil.c;
videoinkernel = video/fb/video_fb.c;
videoinkernel = video/video.c;
2010-06-03 10:00:15 +00:00
extra_dist = kern/i386/realmode.S;
extra_dist = kern/i386/pc/lzma_decode.S;
extra_dist = kern/mips/cache_flush.S;
2010-05-06 06:04:04 +00:00
};
program = {
name = grub-emu;
mansection = 1;
emu = kern/emu/full.c;
emu_nodist = grub_emu_init.c;
2010-05-06 06:04:04 +00:00
2010-06-07 15:58:37 +00:00
ldadd = 'kernel.img$(EXEEXT)';
2010-05-06 06:04:04 +00:00
ldadd = '$(MODULE_FILES)';
2010-08-20 17:04:19 +00:00
ldadd = '$(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER)';
2010-05-06 06:04:04 +00:00
2010-07-13 18:05:24 +00:00
enable = emu;
2010-05-06 06:04:04 +00:00
};
program = {
name = grub-emu-lite;
emu = kern/emu/lite.c;
emu = kern/emu/cache.S;
emu_nodist = symlist.c;
2010-05-06 06:04:04 +00:00
2010-06-07 15:58:37 +00:00
ldadd = 'kernel.img$(EXEEXT)';
2010-08-20 17:04:19 +00:00
ldadd = '$(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER)';
2010-05-06 06:04:04 +00:00
2010-07-13 18:05:24 +00:00
enable = emu;
2010-05-06 06:04:04 +00:00
};
image = {
name = boot;
i386_pc = boot/i386/pc/boot.S;
i386_qemu = boot/i386/qemu/boot.S;
sparc64_ieee1275 = boot/sparc64/ieee1275/boot.S;
2010-06-07 11:53:54 +00:00
i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)';
i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),$(GRUB_BOOT_MACHINE_LINK_ADDR)';
2010-05-06 06:04:04 +00:00
i386_qemu_ccasflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)';
2010-07-13 18:05:24 +00:00
sparc64_ieee1275_objcopyflags = '-O a.out-sunos-big';
2010-05-06 06:04:04 +00:00
sparc64_ieee1275_ldflags = ' -Wl,-Ttext=0x4000';
2010-07-13 18:05:24 +00:00
objcopyflags = '-O binary';
enable = i386_pc;
enable = i386_qemu;
enable = sparc64_ieee1275;
2010-05-06 06:04:04 +00:00
};
image = {
name = cdboot;
2010-06-07 11:53:54 +00:00
i386_pc = boot/i386/pc/cdboot.S;
i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
2010-07-13 18:05:24 +00:00
objcopyflags = '-O binary';
enable = i386_pc;
2010-05-06 06:04:04 +00:00
};
image = {
name = pxeboot;
2010-06-07 11:53:54 +00:00
i386_pc = boot/i386/pc/pxeboot.S;
2010-05-06 06:04:04 +00:00
2010-06-07 11:53:54 +00:00
i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
2010-07-13 18:05:24 +00:00
objcopyflags = '-O binary';
enable = i386_pc;
2010-05-06 06:04:04 +00:00
};
image = {
name = diskboot;
i386_pc = boot/i386/pc/diskboot.S;
2010-06-07 11:53:54 +00:00
i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8000';
2010-05-06 06:04:04 +00:00
sparc64_ieee1275 = boot/sparc64/ieee1275/diskboot.S;
sparc64_ieee1275_ldflags = '-Wl,-Ttext=0x4200';
2010-07-13 18:05:24 +00:00
objcopyflags = '-O binary';
enable = i386_pc;
enable = sparc64_ieee1275;
2010-05-06 06:04:04 +00:00
};
image = {
name = lnxboot;
2010-06-07 11:53:54 +00:00
i386_pc = boot/i386/pc/lnxboot.S;
2010-05-06 06:04:04 +00:00
2010-06-07 11:53:54 +00:00
i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x6000';
2010-07-13 18:05:24 +00:00
objcopyflags = '-O binary';
enable = i386_pc;
2010-05-06 06:04:04 +00:00
};
2010-07-12 19:13:28 +00:00
image = {
name = fwstart;
mips_yeeloong = boot/mips/yeeloong/fwstart.S;
2010-07-13 18:05:24 +00:00
objcopyflags = '-O binary';
enable = mips_yeeloong;
2010-07-12 19:13:28 +00:00
};
2010-06-07 15:58:37 +00:00
module = {
name = trig;
common_nodist = trigtables.c;
2010-06-07 15:58:37 +00:00
extra_dist = gentrigtables.c;
};
2010-06-08 04:06:44 +00:00
module = {
name = cs5536;
2010-08-23 07:53:56 +00:00
x86 = bus/cs5536.c;
enable = x86;
2010-06-08 04:06:44 +00:00
};
2010-05-06 06:04:04 +00:00
module = {
name = libusb;
emu = bus/usb/emu/usb.c;
2010-07-13 18:05:24 +00:00
enable = emu;
condition = COND_GRUB_EMU_USB;
2010-05-06 06:04:04 +00:00
};
2010-07-12 19:13:28 +00:00
module = {
name = lsspd;
mips_yeeloong = commands/mips/yeeloong/lsspd.c;
2010-07-13 18:05:24 +00:00
enable = mips_yeeloong;
2010-07-12 19:13:28 +00:00
};
2010-05-06 06:04:04 +00:00
module = {
name = usb;
common = bus/usb/usb.c;
noemu = bus/usb/usbtrans.c;
noemu = bus/usb/usbhub.c;
enable = emu;
enable = usb;
emu_condition = COND_GRUB_EMU_USB;
2010-05-06 06:04:04 +00:00
};
2010-08-22 15:30:22 +00:00
module = {
name = usbserial_common;
common = bus/usb/serial/common.c;
enable = emu;
enable = usb;
2010-08-23 05:01:08 +00:00
emu_condition = COND_GRUB_EMU_USB;
2010-08-22 15:30:22 +00:00
};
module = {
name = usbserial_pl2303;
common = bus/usb/serial/pl2303.c;
enable = emu;
enable = usb;
2010-08-23 05:01:08 +00:00
emu_condition = COND_GRUB_EMU_USB;
2010-08-22 15:30:22 +00:00
};
module = {
name = usbserial_ftdi;
common = bus/usb/serial/ftdi.c;
enable = emu;
enable = usb;
2010-08-23 05:01:08 +00:00
emu_condition = COND_GRUB_EMU_USB;
2010-08-22 15:30:22 +00:00
};
2010-05-06 06:04:04 +00:00
module = {
name = uhci;
common = bus/usb/uhci.c;
enable = x86;
2010-05-06 06:04:04 +00:00
};
module = {
name = ohci;
common = bus/usb/ohci.c;
enable = pci;
2010-05-06 06:04:04 +00:00
};
module = {
name = pci;
noemu = bus/pci.c;
2010-07-14 20:32:01 +00:00
emu = bus/emu/pci.c;
emu = commands/lspci.c;
enable = emu;
2010-07-13 18:05:24 +00:00
enable = i386_pc;
2010-07-14 20:32:01 +00:00
enable = x86_efi;
2010-07-13 18:05:24 +00:00
enable = i386_ieee1275;
enable = i386_coreboot;
2010-08-28 22:46:36 +00:00
enable = i386_multiboot;
2010-07-14 20:32:01 +00:00
emu_condition = COND_GRUB_EMU_PCI;
2010-05-06 06:04:04 +00:00
};
library = {
name = libgnulib.a;
common = gnulib/regex.c;
2010-06-03 06:22:33 +00:00
extra_dist = gnulib/regcomp.c;
extra_dist = gnulib/regexec.c;
extra_dist = gnulib/fnmatch_loop.c;
extra_dist = gnulib/regex_internal.c;
2010-05-06 06:04:04 +00:00
cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)';
cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)';
};
2010-08-19 11:24:00 +00:00
module = {
name = cmostest;
common = commands/i386/cmostest.c;
enable = cmos;
2010-08-19 11:24:00 +00:00
};
2010-05-06 06:04:04 +00:00
module = {
name = iorw;
common = commands/iorw.c;
2010-08-23 07:53:56 +00:00
enable = x86;
2010-05-06 06:04:04 +00:00
};
module = {
name = regexp;
common = commands/regexp.c;
2010-05-06 06:04:04 +00:00
ldadd = libgnulib.a;
cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)';
cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)';
};
module = {
name = acpi;
x86 = commands/acpi.c;
2010-05-06 06:04:04 +00:00
x86_efi = commands/efi/acpi.c;
i386_pc = commands/i386/pc/acpi.c;
i386_coreboot = commands/i386/pc/acpi.c;
i386_multiboot = commands/i386/pc/acpi.c;
2010-07-13 18:05:24 +00:00
enable = x86_efi;
enable = i386_pc;
enable = i386_coreboot;
enable = i386_multiboot;
2010-05-06 06:04:04 +00:00
};
module = {
name = blocklist;
common = commands/blocklist.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = boot;
common = commands/boot.c;
2010-05-06 06:04:04 +00:00
i386_pc = lib/i386/pc/biosnum.c;
};
module = {
name = cat;
common = commands/cat.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = cmp;
common = commands/cmp.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = configfile;
common = commands/configfile.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = cpuid;
2010-08-21 11:52:19 +00:00
x86 = commands/i386/cpuid.c;
2010-07-13 18:05:24 +00:00
enable = x86;
2010-05-06 06:04:04 +00:00
};
module = {
name = crc;
common = commands/crc.c;
common = lib/crc.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = date;
common = commands/date.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = drivemap;
i386_pc = commands/i386/pc/drivemap.c;
i386_pc = commands/i386/pc/drivemap_int13h.S;
2010-07-13 18:05:24 +00:00
enable = i386_pc;
2010-05-06 06:04:04 +00:00
};
module = {
name = echo;
common = commands/echo.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = extcmd;
common = commands/extcmd.c;
common = lib/arg.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = fixvideo;
x86_efi = commands/efi/fixvideo.c;
2010-07-13 18:05:24 +00:00
enable = x86_efi;
2010-05-06 06:04:04 +00:00
};
module = {
name = gptsync;
common = commands/gptsync.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = halt;
nopc = commands/halt.c;
2010-05-06 06:04:04 +00:00
i386_pc = commands/i386/pc/halt.c;
2010-08-25 21:39:42 +00:00
i386_multiboot = lib/i386/halt.c;
i386_coreboot = lib/i386/halt.c;
i386_qemu = lib/i386/halt.c;
x86_efi = lib/efi/halt.c;
ieee1275 = lib/ieee1275/halt.c;
emu = lib/emu/halt.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = hashsum;
common = commands/hashsum.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = hdparm;
common = commands/hdparm.c;
common = lib/hexdump.c;
enable = pci;
2010-05-06 06:04:04 +00:00
};
module = {
name = help;
common = commands/help.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = hexdump;
common = commands/hexdump.c;
common = lib/hexdump.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = keystatus;
common = commands/keystatus.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = loadbios;
x86_efi = commands/efi/loadbios.c;
2010-07-13 18:05:24 +00:00
enable = x86_efi;
2010-05-06 06:04:04 +00:00
};
module = {
name = loadenv;
common = commands/loadenv.c;
common = lib/envblk.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = ls;
common = commands/ls.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = lsmmap;
common = commands/lsmmap.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = lspci;
common = commands/lspci.c;
2010-05-06 06:04:04 +00:00
enable = pci;
2010-05-06 06:04:04 +00:00
};
module = {
name = memrw;
common = commands/memrw.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = minicmd;
common = commands/minicmd.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = parttool;
common = commands/parttool.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = password;
common = commands/password.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = password_pbkdf2;
common = commands/password_pbkdf2.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = play;
2010-08-23 07:53:56 +00:00
x86 = commands/i386/pc/play.c;
enable = x86;
2010-05-06 06:04:04 +00:00
};
module = {
name = probe;
common = commands/probe.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = pxecmd;
i386_pc = commands/i386/pc/pxecmd.c;
2010-07-13 18:05:24 +00:00
enable = i386_pc;
2010-05-06 06:04:04 +00:00
};
module = {
name = read;
common = commands/read.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = reboot;
common = commands/reboot.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = search;
common = commands/search_wrap.c;
2010-06-03 10:00:15 +00:00
extra_dist = commands/search.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = search_fs_file;
common = commands/search_file.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = search_fs_uuid;
common = commands/search_uuid.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = search_label;
common = commands/search_label.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = setpci;
common = commands/setpci.c;
2010-07-13 18:05:24 +00:00
enable = x86;
2010-05-06 06:04:04 +00:00
};
module = {
name = sleep;
common = commands/sleep.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = suspend;
ieee1275 = commands/ieee1275/suspend.c;
2010-07-13 18:05:24 +00:00
enable = i386_ieee1275;
enable = powerpc_ieee1275;
2010-05-06 06:04:04 +00:00
};
module = {
name = terminal;
common = commands/terminal.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = test;
common = commands/test.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = true;
common = commands/true.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = usbtest;
common = commands/usbtest.c;
enable = usb;
2010-07-13 18:05:24 +00:00
enable = emu;
emu_condition = COND_GRUB_EMU_USB;
2010-05-06 06:04:04 +00:00
};
module = {
name = vbeinfo;
i386_pc = commands/i386/pc/vbeinfo.c;
2010-07-13 18:05:24 +00:00
enable = i386_pc;
2010-05-06 06:04:04 +00:00
};
module = {
name = vbetest;
i386_pc = commands/i386/pc/vbetest.c;
2010-07-13 18:05:24 +00:00
enable = i386_pc;
2010-05-06 06:04:04 +00:00
};
module = {
name = videotest;
common = commands/videotest.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = xnu_uuid;
common = commands/xnu_uuid.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = dm_nv;
common = disk/dmraid_nvidia.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = loopback;
common = disk/loopback.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = lvm;
common = disk/lvm.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = mdraid;
common = disk/mdraid_linux.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = raid;
common = disk/raid.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = raid5rec;
common = disk/raid5_recover.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = raid6rec;
common = disk/raid6_recover.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = scsi;
common = disk/scsi.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = memdisk;
common = disk/memdisk.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = ata;
common = disk/ata.c;
enable = pci;
2010-05-06 06:04:04 +00:00
};
module = {
name = ata_pthru;
common = disk/ata_pthru.c;
enable = pci;
2010-05-06 06:04:04 +00:00
};
module = {
name = biosdisk;
i386_pc = disk/i386/pc/biosdisk.c;
2010-07-13 18:05:24 +00:00
enable = i386_pc;
2010-05-06 06:04:04 +00:00
};
module = {
name = usbms;
common = disk/usbms.c;
enable = usb;
2010-07-13 18:05:24 +00:00
enable = emu;
emu_condition = COND_GRUB_EMU_USB;
2010-05-06 06:04:04 +00:00
};
module = {
name = nand;
ieee1275 = disk/ieee1275/nand.c;
2010-07-13 18:05:24 +00:00
enable = i386_ieee1275;
2010-05-06 06:04:04 +00:00
};
module = {
name = efiemu;
common = efiemu/main.c;
common = efiemu/i386/loadcore32.c;
common = efiemu/i386/loadcore64.c;
2010-05-06 06:04:04 +00:00
i386_pc = efiemu/i386/pc/cfgtables.c;
2010-08-25 20:34:15 +00:00
i386_coreboot = efiemu/i386/pc/cfgtables.c;
i386_multiboot = efiemu/i386/pc/cfgtables.c;
i386_ieee1275 = efiemu/i386/nocfgtables.c;
2010-08-28 22:53:09 +00:00
i386_qemu = efiemu/i386/nocfgtables.c;
common = efiemu/mm.c;
common = efiemu/loadcore_common.c;
common = efiemu/symbols.c;
common = efiemu/loadcore32.c;
common = efiemu/loadcore64.c;
common = efiemu/prepare32.c;
common = efiemu/prepare64.c;
common = efiemu/pnvram.c;
common = efiemu/i386/coredetect.c;
2010-06-03 06:22:33 +00:00
extra_dist = efiemu/prepare.c;
extra_dist = efiemu/loadcore.c;
extra_dist = efiemu/runtime/efiemu.S;
extra_dist = efiemu/runtime/efiemu.c;
2010-07-13 18:05:24 +00:00
enable = i386_pc;
2010-08-25 20:34:15 +00:00
enable = i386_coreboot;
enable = i386_ieee1275;
enable = i386_multiboot;
2010-08-28 22:53:09 +00:00
enable = i386_qemu;
2010-05-06 06:04:04 +00:00
};
module = {
name = font;
common = font/font.c;
common = font/font_cmd.c;
enable = videomodules;
2010-05-06 06:04:04 +00:00
};
module = {
name = affs;
common = fs/affs.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = afs;
common = fs/afs.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = afs_be;
common = fs/afs_be.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = befs;
common = fs/befs.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = befs_be;
common = fs/befs_be.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = cpio;
common = fs/cpio.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = ext2;
common = fs/ext2.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = fat;
common = fs/fat.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = fshelp;
common = fs/fshelp.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = hfs;
common = fs/hfs.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = hfsplus;
common = fs/hfsplus.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = iso9660;
common = fs/iso9660.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = jfs;
common = fs/jfs.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = minix;
common = fs/minix.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = nilfs2;
common = fs/nilfs2.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = ntfs;
common = fs/ntfs.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = ntfscomp;
common = fs/ntfscomp.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = reiserfs;
common = fs/reiserfs.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = sfs;
common = fs/sfs.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = tar;
common = fs/tar.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = udf;
common = fs/udf.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = ufs1;
common = fs/ufs.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = ufs2;
common = fs/ufs2.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = xfs;
common = fs/xfs.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = pxe;
i386_pc = fs/i386/pc/pxe.c;
2010-07-13 18:05:24 +00:00
enable = i386_pc;
2010-05-06 06:04:04 +00:00
};
module = {
name = gettext;
common = gettext/gettext.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = gfxmenu;
common = gfxmenu/gfxmenu.c;
common = gfxmenu/model.c;
common = gfxmenu/view.c;
common = gfxmenu/font.c;
common = gfxmenu/icon_manager.c;
common = gfxmenu/theme_loader.c;
common = gfxmenu/widget-box.c;
common = gfxmenu/gui_canvas.c;
common = gfxmenu/gui_circular_progress.c;
common = gfxmenu/gui_box.c;
common = gfxmenu/gui_label.c;
common = gfxmenu/gui_list.c;
common = gfxmenu/gui_image.c;
common = gfxmenu/gui_progress_bar.c;
common = gfxmenu/gui_util.c;
common = gfxmenu/gui_string_util.c;
common = gfxmenu/named_colors.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = hello;
common = hello/hello.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = gzio;
common = io/gzio.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = bufio;
common = io/bufio.c;
enable = videomodules;
2010-05-06 06:04:04 +00:00
};
module = {
name = elf;
common = kern/elf.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = crypto;
common = lib/crypto.c;
2010-06-03 10:00:15 +00:00
extra_dist = lib/libgcrypt-grub/cipher/crypto.lst;
2010-05-06 06:04:04 +00:00
};
module = {
name = pbkdf2;
common = lib/pbkdf2.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = relocator;
common = lib/relocator.c;
x86 = lib/i386/relocator16.S;
x86 = lib/i386/relocator32.S;
x86 = lib/i386/relocator64.S;
i386 = lib/i386/relocator_asm.S;
x86_64 = lib/x86_64/relocator_asm.S;
2010-05-06 06:04:04 +00:00
x86 = lib/i386/relocator.c;
ieee1275 = lib/ieee1275/relocator.c;
x86_efi = lib/efi/relocator.c;
mips = lib/mips/relocator_asm.S;
mips = lib/mips/relocator.c;
powerpc = lib/powerpc/relocator_asm.S;
powerpc = lib/powerpc/relocator.c;
2010-07-13 18:05:24 +00:00
enable = mips;
enable = powerpc;
2010-07-13 18:05:24 +00:00
enable = x86;
2010-05-06 06:04:04 +00:00
};
module = {
name = datetime;
cmos = lib/cmos_datetime.c;
2010-05-06 06:04:04 +00:00
x86_efi = lib/efi/datetime.c;
sparc64_ieee1275 = lib/ieee1275/datetime.c;
powerpc_ieee1275 = lib/ieee1275/datetime.c;
enable = noemu;
2010-05-06 06:04:04 +00:00
};
module = {
name = setjmp;
common = lib/setjmp.S;
2010-08-18 06:27:51 +00:00
extra_dist = lib/i386/setjmp.S;
extra_dist = lib/mips/setjmp.S;
extra_dist = lib/x86_64/setjmp.S;
extra_dist = lib/sparc64/setjmp.S;
extra_dist = lib/powerpc/setjmp.S;
2010-05-06 06:04:04 +00:00
};
module = {
name = aout;
common = loader/aout.c;
enable = x86;
2010-05-06 06:04:04 +00:00
};
module = {
name = bsd;
x86 = loader/i386/bsd.c;
x86 = loader/i386/bsd32.c;
x86 = loader/i386/bsd64.c;
2010-06-03 10:00:15 +00:00
extra_dist = loader/i386/bsdXX.c;
extra_dist = loader/i386/bsd_pagetable.c;
enable = x86;
2010-05-06 06:04:04 +00:00
};
module = {
name = linux16;
i386_pc = loader/i386/pc/linux.c;
2010-07-13 18:05:24 +00:00
enable = i386_pc;
2010-05-06 06:04:04 +00:00
};
module = {
name = ntldr;
i386_pc = loader/i386/pc/ntldr.c;
enable = i386_pc;
};
2010-05-06 06:04:04 +00:00
module = {
name = multiboot2;
cppflags = "-DGRUB_USE_MULTIBOOT2";
common = loader/multiboot.c;
common = loader/multiboot_mbi2.c;
2010-07-13 18:05:24 +00:00
enable = x86;
enable = mips;
2010-05-06 06:04:04 +00:00
};
module = {
name = multiboot;
common = loader/multiboot.c;
x86 = loader/i386/multiboot_mbi.c;
2010-06-03 06:22:33 +00:00
extra_dist = loader/multiboot_elfxx.c;
2010-07-13 18:05:24 +00:00
enable = x86;
2010-05-06 06:04:04 +00:00
};
module = {
name = linux;
x86 = loader/i386/linux.c;
2010-05-06 06:04:04 +00:00
mips = loader/mips/linux.c;
powerpc_ieee1275 = loader/powerpc/ieee1275/linux.c;
sparc64_ieee1275 = loader/sparc64/ieee1275/linux.c;
enable = noemu;
2010-05-06 06:04:04 +00:00
};
module = {
name = xnu;
x86 = loader/xnu_resume.c;
x86 = loader/i386/xnu.c;
x86 = loader/macho32.c;
x86 = loader/macho64.c;
x86 = loader/macho.c;
x86 = loader/xnu.c;
2010-06-03 06:22:33 +00:00
extra_dist = loader/machoXX.c;
enable = x86;
2010-05-06 06:04:04 +00:00
};
module = {
name = appleldr;
x86_efi = loader/efi/appleloader.c;
2010-07-13 18:05:24 +00:00
enable = x86_efi;
2010-05-06 06:04:04 +00:00
};
module = {
name = chain;
x86_efi = loader/efi/chainloader.c;
i386_pc = loader/i386/pc/chainloader.c;
2010-07-13 18:05:24 +00:00
enable = i386_pc;
enable = x86_efi;
2010-05-06 06:04:04 +00:00
};
module = {
name = mmap;
common = mmap/mmap.c;
x86 = mmap/i386/uppermem.c;
x86 = mmap/i386/mmap.c;
2010-05-06 06:04:04 +00:00
i386_pc = mmap/i386/pc/mmap.c;
i386_pc = mmap/i386/pc/mmap_helper.S;
x86_efi = mmap/efi/mmap.c;
mips_yeeloong = mmap/mips/yeeloong/uppermem.c;
2010-07-13 18:05:24 +00:00
enable = x86;
enable = mips_yeeloong;
2010-05-06 06:04:04 +00:00
};
module = {
name = normal;
common = normal/main.c;
common = normal/cmdline.c;
common = normal/dyncmd.c;
common = normal/auth.c;
common = normal/autofs.c;
common = normal/color.c;
common = normal/completion.c;
common = normal/datetime.c;
common = normal/menu.c;
common = normal/menu_entry.c;
common = normal/menu_text.c;
common = normal/misc.c;
common = normal/crypto.c;
common = normal/term.c;
common = normal/context.c;
common = normal/charset.c;
common = script/main.c;
common = script/script.c;
common = script/execute.c;
common = script/function.c;
common = script/lexer.c;
common = script/argv.c;
common = unidata.c;
common_nodist = grub_script.tab.c;
common_nodist = grub_script.yy.c;
common_nodist = grub_script.tab.h;
common_nodist = grub_script.yy.h;
2010-07-12 19:13:28 +00:00
extra_dist = script/yylex.l;
extra_dist = script/parser.y;
cflags = '$(CFLAGS_POSIX) -Wno-error';
cppflags = '$(CPPFLAGS_POSIX)';
2010-05-06 06:04:04 +00:00
};
module = {
name = part_acorn;
common = partmap/acorn.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = part_amiga;
common = partmap/amiga.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = part_apple;
common = partmap/apple.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = part_gpt;
common = partmap/gpt.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = part_msdos;
common = partmap/msdos.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = part_sun;
common = partmap/sun.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = part_bsd;
common = partmap/bsdlabel.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = part_sunpc;
common = partmap/sunpc.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = msdospart;
common = parttool/msdospart.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = at_keyboard;
common = term/at_keyboard.c;
2010-07-13 18:05:24 +00:00
enable = x86;
2010-05-06 06:04:04 +00:00
};
module = {
name = gfxterm;
common = term/gfxterm.c;
enable = videomodules;
2010-05-06 06:04:04 +00:00
};
module = {
name = serial;
common = term/serial.c;
2010-08-22 15:30:22 +00:00
x86 = term/ns8250.c;
enable = emu;
2010-07-13 18:05:24 +00:00
enable = i386;
2010-08-22 15:30:22 +00:00
enable = x86_64_efi;
2010-08-23 07:53:56 +00:00
emu_condition = COND_GRUB_EMU_USB;
2010-08-22 15:30:22 +00:00
};
module = {
name = sendkey;
i386_pc = commands/i386/pc/sendkey.c;
enable = i386_pc;
2010-05-06 06:04:04 +00:00
};
module = {
name = terminfo;
common = term/terminfo.c;
common = term/tparm.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = usb_keyboard;
common = term/usb_keyboard.c;
enable = usb;
2010-05-06 06:04:04 +00:00
};
module = {
name = vga;
2010-05-10 09:38:02 +00:00
i386_pc = video/i386/pc/vga.c;
2010-07-13 18:05:24 +00:00
enable = i386_pc;
2010-05-06 06:04:04 +00:00
};
module = {
name = vga_text;
common = term/i386/pc/vga_text.c;
common = term/i386/vga_common.c;
enable = i386_pc;
enable = i386_coreboot;
enable = i386_multiboot;
2010-05-06 06:04:04 +00:00
};
2010-07-12 19:13:28 +00:00
module = {
name = video_cirrus;
2010-08-23 07:53:56 +00:00
x86 = video/cirrus.c;
enable = x86;
2010-07-12 19:13:28 +00:00
};
module = {
name = video_bochs;
2010-08-23 07:53:56 +00:00
x86 = video/bochs.c;
enable = x86;
2010-07-12 19:13:28 +00:00
};
2010-05-06 06:04:04 +00:00
module = {
name = functional_test;
common = tests/lib/functional_test.c;
common = tests/lib/test.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = example_functional_test;
common = tests/example_functional_test.c;
2010-05-06 06:04:04 +00:00
cflags = -Wno-format;
};
module = {
name = bitmap;
common = video/bitmap.c;
enable = videomodules;
2010-05-06 06:04:04 +00:00
};
module = {
name = bitmap_scale;
common = video/bitmap_scale.c;
enable = videomodules;
2010-05-06 06:04:04 +00:00
};
module = {
name = efi_gop;
x86_efi = video/efi_gop.c;
2010-07-13 18:05:24 +00:00
enable = x86_efi;
2010-05-06 06:04:04 +00:00
};
module = {
name = efi_uga;
x86_efi = video/efi_uga.c;
2010-07-13 18:05:24 +00:00
enable = x86_efi;
2010-05-06 06:04:04 +00:00
};
module = {
name = jpeg;
common = video/readers/jpeg.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = png;
common = video/readers/png.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = tga;
common = video/readers/tga.c;
2010-05-06 06:04:04 +00:00
};
module = {
name = vbe;
i386_pc = video/i386/pc/vbe.c;
2010-07-13 18:05:24 +00:00
enable = i386_pc;
2010-05-06 06:04:04 +00:00
};
module = {
name = video_fb;
common = video/fb/video_fb.c;
common = video/fb/fbblit.c;
common = video/fb/fbfill.c;
common = video/fb/fbutil.c;
enable = videomodules;
2010-05-06 06:04:04 +00:00
};
module = {
name = video;
common = video/video.c;
enable = videomodules;
2010-05-06 06:04:04 +00:00
};
module = {
name = ieee1275_fb;
ieee1275 = video/ieee1275.c;
2010-07-13 18:05:24 +00:00
enable = powerpc;
enable = sparc64;
2010-05-06 06:04:04 +00:00
};
module = {
name = sdl;
emu = video/emu/sdl.c;
2010-07-13 18:05:24 +00:00
enable = emu;
condition = COND_GRUB_EMU_SDL;
2010-05-06 06:04:04 +00:00
};
module = {
name = datehook;
common = hook/datehook.c;
2010-05-06 06:04:04 +00:00
};