~darkmuggle-deactivatedaccount/ubuntu/quantal/grub2/fix-872244

« back to all changes in this revision

Viewing changes to grub-core/Makefile.core.def

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson, Colin Watson, Evan Broder, Mario Limonciello
  • Date: 2010-11-24 13:59:55 UTC
  • mfrom: (1.17.6 upstream) (17.6.15 experimental)
  • Revision ID: james.westby@ubuntu.com-20101124135955-r6ii5sepayr7jt53
Tags: 1.99~20101124-1ubuntu1
[ Colin Watson ]
* Resynchronise with Debian experimental.  Remaining changes:
  - Adjust for default Ubuntu boot options ("quiet splash").
  - Default to hiding the menu; holding down Shift at boot will show it.
  - Set a monochromatic theme for Ubuntu.
  - Apply Ubuntu GRUB Legacy changes to legacy update-grub script: title,
    recovery mode, quiet option, tweak how memtest86+ is displayed, and
    use UUIDs where appropriate.
  - Fix backslash-escaping in merge_debconf_into_conf.
  - Remove "GNU/Linux" from default distributor string.
  - Add crashkernel= options if kdump and makedumpfile are available.
  - If other operating systems are installed, then automatically unhide
    the menu.  Otherwise, if GRUB_HIDDEN_TIMEOUT is 0, then use keystatus
    if available to check whether Shift is pressed.  If it is, show the
    menu, otherwise boot immediately.  If keystatus is not available, then
    fall back to a short delay interruptible with Escape.
  - Allow Shift to interrupt 'sleep --interruptible'.
  - Don't display introductory message about line editing unless we're
    actually offering a shell prompt.  Don't clear the screen just before
    booting if we never drew the menu in the first place.
  - Remove some verbose messages printed before reading the configuration
    file.
  - Suppress progress messages as the kernel and initrd load for
    non-recovery kernel menu entries.
  - Change prepare_grub_to_access_device to handle filesystems
    loop-mounted on file images.
  - Ignore devices loop-mounted from files in 10_linux.
  - Show the boot menu if the previous boot failed, that is if it failed
    to get to the end of one of the normal runlevels.
  - Don't generate /boot/grub/device.map during grub-install or
    grub-mkconfig by default.
  - Adjust upgrade version checks for Ubuntu.
  - Don't display "GRUB loading" unless Shift is held down.
  - Adjust versions of grub-doc and grub-legacy-doc conflicts to tolerate
    our backport of the grub-doc split.
  - Fix LVM/RAID probing in the absence of /boot/grub/device.map.
  - Look for .mo files in /usr/share/locale-langpack as well, in
    preference.
  - Make sure GRUB_TIMEOUT isn't quoted unnecessarily.
  - Probe all devices in 'grub-probe --target=drive' if
    /boot/grub/device.map is missing.
  - Build-depend on qemu-kvm rather than qemu-system for grub-pc tests.
  - Use qemu rather than qemu-system-i386.
  - Program vesafb on BIOS systems rather than efifb.
  - Add a grub-rescue-efi-amd64 package containing a rescue CD-ROM image
    for EFI-AMD64.
  - On Wubi, don't ask for an install device, but just update wubildr
    using the diverted grub-install.
  - When embedding the core image in a post-MBR gap, check for and avoid
    sectors matching any of a list of known signatures.
  - Disable video_bochs and video_cirrus on PC BIOS systems, as probing
    PCI space seems to break on some systems.
* Downgrade "ACPI shutdown failed" error to a debug message, since it can
  cause spurious test failures.

[ Evan Broder ]
* Enable lua from grub-extras.
* Incorporate the bitop library into lua.
* Add enum_pci function to grub module in lua.
* Switch back to gfxpayload=keep by default, unless the video hardware
  is known to not support it.

[ Mario Limonciello ]
* Built part_msdos and vfat into bootx64.efi (LP: #677758)

Show diffs side-by-side

added added

removed removed

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