~ubuntu-branches/ubuntu/wily/grub2/wily-proposed

« back to all changes in this revision

Viewing changes to .pc/linuxefi_amd64_only.patch/grub-core/Makefile.core.def

  • Committer: Package Import Robot
  • Author(s): Ian Campbell, Colin Watson, Ian Campbell
  • Date: 2014-11-30 17:15:21 UTC
  • Revision ID: package-import@ubuntu.com-20141130171521-jtqle9j0ckcww9wy
Tags: 2.02~beta2-17
[ Colin Watson ]
* Fix up some pointer-to-integer casts in linuxefi so that it can build on
  i386-efi.
* Backport from upstream:
  - Fix typo (gettext_print instead of gettext_printf) (LP: #1390766).

[ Ian Campbell ]
* Correct syntax error in grub-xen-host bootstrap configuration file.
* Log failure when grub-install fails in postinst, rather than failing the
  entire postinst. (Closes: #770412)
* Arrange to insmod xzio and lzopio when booting a kernel as a Xen guest.
  (Closes: #755256)

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
 
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
 
script = {
34
 
  installdir = platform;
35
 
  name = grub.chrp;
36
 
  common = boot/powerpc/grub.chrp.in;
37
 
  enable = powerpc_ieee1275;
38
 
};
39
 
 
40
 
script = {
41
 
  installdir = platform;
42
 
  name = bootinfo.txt;
43
 
  common = boot/powerpc/bootinfo.txt.in;
44
 
  enable = powerpc_ieee1275;
45
 
};
46
 
 
47
 
kernel = {
48
 
  name = kernel;
49
 
 
50
 
  nostrip = emu;
51
 
 
52
 
  emu_ldflags              = '-Wl,-r,-d';
53
 
  i386_efi_ldflags         = '-Wl,-r,-d';
54
 
  i386_efi_stripflags      = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
55
 
  x86_64_efi_ldflags       = '-Wl,-r,-d';
56
 
  x86_64_efi_stripflags    = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
57
 
 
58
 
  ia64_efi_cflags = '-fno-builtin -fpic -minline-int-divide-max-throughput';
59
 
  ia64_efi_ldflags = '-Wl,-r,-d';
60
 
  ia64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
61
 
 
62
 
  x86_64_xen_cppflags      = '$(CPPFLAGS_XEN)';
63
 
  i386_xen_cppflags        = '$(CPPFLAGS_XEN)';
64
 
 
65
 
  arm_efi_ldflags          = '-Wl,-r,-d';
66
 
  arm_efi_stripflags       = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
67
 
 
68
 
  arm64_efi_ldflags          = '-Wl,-r,-d';
69
 
  arm64_efi_stripflags       = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
70
 
 
71
 
  i386_pc_ldflags          = '$(TARGET_IMG_LDFLAGS)';
72
 
  i386_pc_ldflags          = '$(TARGET_IMG_BASE_LDOPT),0x9000';
73
 
  i386_qemu_ldflags        = '$(TARGET_IMG_LDFLAGS)';
74
 
  i386_qemu_ldflags        = '$(TARGET_IMG_BASE_LDOPT),0x8200';
75
 
  i386_coreboot_ldflags    = '$(TARGET_IMG_LDFLAGS)';
76
 
  i386_coreboot_ldflags    = '$(TARGET_IMG_BASE_LDOPT),0x8200';
77
 
  i386_multiboot_ldflags   = '$(TARGET_IMG_LDFLAGS)';
78
 
  i386_multiboot_ldflags   = '$(TARGET_IMG_BASE_LDOPT),0x8200';
79
 
  i386_ieee1275_ldflags    = '$(TARGET_IMG_LDFLAGS)';
80
 
  i386_ieee1275_ldflags    = '$(TARGET_IMG_BASE_LDOPT),0x10000';
81
 
  i386_xen_ldflags         = '$(TARGET_IMG_LDFLAGS)';
82
 
  i386_xen_ldflags         = '$(TARGET_IMG_BASE_LDOPT),0';
83
 
  x86_64_xen_ldflags       = '$(TARGET_IMG_LDFLAGS)';
84
 
  x86_64_xen_ldflags       = '$(TARGET_IMG_BASE_LDOPT),0';
85
 
 
86
 
  ldadd = '$(LDADD_KERNEL)';
87
 
 
88
 
  mips_loongson_ldflags    = '-Wl,-Ttext,0x80200000';
89
 
  powerpc_ieee1275_ldflags = '-Wl,-Ttext,0x200000';
90
 
  sparc64_ieee1275_ldflags = '-Wl,-Ttext,0x4400';
91
 
  mips_arc_ldflags    = '-Wl,-Ttext,$(TARGET_LINK_ADDR)';
92
 
  mips_qemu_mips_ldflags    = '-Wl,-Ttext,0x80200000';
93
 
 
94
 
  mips_arc_cppflags = '-DGRUB_DECOMPRESSOR_LINK_ADDR=$(TARGET_DECOMPRESSOR_LINK_ADDR)';
95
 
  i386_qemu_cppflags     = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)';
96
 
  emu_cflags = '$(CFLAGS_GNULIB)';
97
 
  emu_cppflags = '$(CPPFLAGS_GNULIB)';
98
 
  arm_uboot_ldflags       = '-Wl,-Ttext=0x08000000';
99
 
  arm_uboot_stripflags    = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
100
 
 
101
 
  i386_pc_startup = kern/i386/pc/startup.S;
102
 
  i386_efi_startup = kern/i386/efi/startup.S;
103
 
  x86_64_efi_startup = kern/x86_64/efi/startup.S;
104
 
  i386_xen_startup = kern/i386/xen/startup.S;
105
 
  x86_64_xen_startup = kern/x86_64/xen/startup.S;
106
 
  i386_qemu_startup = kern/i386/qemu/startup.S;
107
 
  i386_ieee1275_startup = kern/i386/ieee1275/startup.S;
108
 
  i386_coreboot_startup = kern/i386/coreboot/startup.S;
109
 
  i386_multiboot_startup = kern/i386/coreboot/startup.S;
110
 
  mips_startup = kern/mips/startup.S;
111
 
  sparc64_ieee1275_startup = kern/sparc64/ieee1275/crt0.S;
112
 
  powerpc_ieee1275_startup = kern/powerpc/ieee1275/startup.S;
113
 
  arm_uboot_startup = kern/arm/uboot/startup.S;
114
 
  arm_efi_startup = kern/arm/efi/startup.S;
115
 
  arm64_efi_startup = kern/arm64/efi/startup.S;
116
 
 
117
 
  common = kern/command.c;
118
 
  common = kern/corecmd.c;
119
 
  common = kern/device.c;
120
 
  common = kern/disk.c;
121
 
  common = kern/dl.c;
122
 
  common = kern/env.c;
123
 
  common = kern/err.c;
124
 
  common = kern/file.c;
125
 
  common = kern/fs.c;
126
 
  common = kern/list.c;
127
 
  common = kern/main.c;
128
 
  common = kern/misc.c;
129
 
  common = kern/parser.c;
130
 
  common = kern/partition.c;
131
 
  common = kern/rescue_parser.c;
132
 
  common = kern/rescue_reader.c;
133
 
  common = kern/term.c;
134
 
 
135
 
  noemu = kern/mm.c;
136
 
  noemu = kern/time.c;
137
 
  noemu = kern/generic/millisleep.c;
138
 
 
139
 
  noemu_nodist = symlist.c;
140
 
 
141
 
  mips = kern/generic/rtc_get_time_ms.c;
142
 
 
143
 
  ieee1275 = disk/ieee1275/ofdisk.c;
144
 
  ieee1275 = kern/ieee1275/cmain.c;
145
 
  ieee1275 = kern/ieee1275/ieee1275.c;
146
 
  ieee1275 = kern/ieee1275/mmap.c;
147
 
  ieee1275 = kern/ieee1275/openfw.c;
148
 
  ieee1275 = term/ieee1275/console.c;
149
 
  ieee1275 = kern/ieee1275/init.c;
150
 
 
151
 
  uboot = disk/uboot/ubootdisk.c;
152
 
  uboot = kern/uboot/uboot.c;
153
 
  uboot = kern/uboot/init.c;
154
 
  uboot = kern/uboot/hw.c;
155
 
  uboot = term/uboot/console.c;
156
 
 
157
 
  terminfoinkernel = term/terminfo.c;
158
 
  terminfoinkernel = term/tparm.c;
159
 
  terminfoinkernel = commands/extcmd.c;
160
 
  terminfoinkernel = lib/arg.c;
161
 
 
162
 
  i386 = kern/i386/dl.c;
163
 
  i386_xen = kern/i386/dl.c;
164
 
 
165
 
  i386_coreboot = kern/i386/coreboot/init.c;
166
 
  i386_multiboot = kern/i386/coreboot/init.c;
167
 
  i386_qemu = kern/i386/qemu/init.c;
168
 
  i386_coreboot_multiboot_qemu = term/i386/pc/vga_text.c;
169
 
  i386_coreboot = video/i386/coreboot/cbfb.c;
170
 
 
171
 
  efi = disk/efi/efidisk.c;
172
 
  efi = kern/efi/efi.c;
173
 
  efi = kern/efi/init.c;
174
 
  efi = kern/efi/mm.c;
175
 
  efi = term/efi/console.c;
176
 
 
177
 
  x86 = kern/i386/tsc.c;
178
 
 
179
 
  i386_efi = kern/i386/efi/init.c;
180
 
  i386_efi = bus/pci.c;
181
 
 
182
 
  x86_64 = kern/x86_64/dl.c;
183
 
  x86_64_xen = kern/x86_64/dl.c;
184
 
  x86_64_efi = kern/x86_64/efi/callwrap.S;
185
 
  x86_64_efi = kern/i386/efi/init.c;
186
 
  x86_64_efi = bus/pci.c;
187
 
 
188
 
  xen = kern/i386/tsc.c;
189
 
  x86_64_xen = kern/x86_64/xen/hypercall.S;
190
 
  i386_xen = kern/i386/xen/hypercall.S;
191
 
  xen = kern/xen/init.c;
192
 
  xen = term/xen/console.c;
193
 
  xen = disk/xen/xendisk.c;
194
 
  xen = commands/boot.c;
195
 
 
196
 
  ia64_efi = kern/ia64/efi/startup.S;
197
 
  ia64_efi = kern/ia64/efi/init.c;
198
 
  ia64_efi = kern/ia64/dl.c;
199
 
  ia64_efi = kern/ia64/dl_helper.c;
200
 
  ia64_efi = kern/ia64/cache.c;
201
 
 
202
 
  arm_efi = kern/arm/efi/init.c;
203
 
  arm_efi = kern/arm/efi/misc.c;
204
 
 
205
 
  arm64_efi = kern/arm/efi/init.c;
206
 
 
207
 
  i386_pc = kern/i386/pc/init.c;
208
 
  i386_pc = kern/i386/pc/mmap.c;
209
 
  i386_pc = term/i386/pc/console.c;
210
 
 
211
 
  i386_qemu = bus/pci.c;
212
 
  i386_qemu = kern/vga_init.c;
213
 
  i386_qemu = kern/i386/qemu/mmap.c;
214
 
 
215
 
  i386_coreboot = kern/i386/coreboot/mmap.c;
216
 
  i386_coreboot = kern/i386/coreboot/cbtable.c;
217
 
 
218
 
  i386_multiboot = kern/i386/multiboot_mmap.c;
219
 
 
220
 
  mips = kern/mips/cache.S;
221
 
  mips = kern/mips/dl.c;
222
 
  mips = kern/mips/init.c;
223
 
 
224
 
  mips_qemu_mips = kern/mips/qemu_mips/init.c;
225
 
  mips_qemu_mips = term/ns8250.c;
226
 
  mips_qemu_mips = term/serial.c;
227
 
  mips_qemu_mips = term/at_keyboard.c;
228
 
  mips_qemu_mips = commands/boot.c;
229
 
  mips_qemu_mips = commands/keylayouts.c;
230
 
  mips_qemu_mips = term/i386/pc/vga_text.c;
231
 
  mips_qemu_mips = kern/vga_init.c;
232
 
 
233
 
  mips_arc = kern/mips/arc/init.c;
234
 
  mips_arc = term/arc/console.c;
235
 
  mips_arc = disk/arc/arcdisk.c;
236
 
 
237
 
  mips_loongson = term/ns8250.c;
238
 
  mips_loongson = bus/bonito.c;
239
 
  mips_loongson = bus/cs5536.c;
240
 
  mips_loongson = bus/pci.c;
241
 
  mips_loongson = kern/mips/loongson/init.c;
242
 
  mips_loongson = term/at_keyboard.c;
243
 
  mips_loongson = commands/boot.c;
244
 
  mips_loongson = term/serial.c;
245
 
  mips_loongson = video/sm712.c;
246
 
  mips_loongson = video/sis315pro.c;
247
 
  mips_loongson = video/radeon_fuloong2e.c;
248
 
  mips_loongson = video/radeon_yeeloong3a.c;
249
 
  extra_dist = video/sm712_init.c;
250
 
  extra_dist = video/sis315_init.c;
251
 
  mips_loongson = commands/keylayouts.c;
252
 
 
253
 
  powerpc_ieee1275 = kern/powerpc/cache.S;
254
 
  powerpc_ieee1275 = kern/powerpc/dl.c;
255
 
 
256
 
  sparc64_ieee1275 = kern/sparc64/cache.S;
257
 
  sparc64_ieee1275 = kern/sparc64/dl.c;
258
 
  sparc64_ieee1275 = kern/sparc64/ieee1275/ieee1275.c;
259
 
 
260
 
  arm = kern/arm/dl.c;
261
 
  arm = kern/arm/dl_helper.c;
262
 
  arm = kern/arm/cache_armv6.S;
263
 
  arm = kern/arm/cache_armv7.S;
264
 
  extra_dist = kern/arm/cache.S;
265
 
  arm = kern/arm/cache.c;
266
 
  arm = kern/arm/misc.S;
267
 
 
268
 
  arm64 = kern/arm64/cache.c;
269
 
  arm64 = kern/arm64/cache_flush.S;
270
 
  arm64 = kern/arm64/dl.c;
271
 
  arm64 = kern/arm64/dl_helper.c;
272
 
 
273
 
  emu = disk/host.c;
274
 
  emu = kern/emu/cache_s.S;
275
 
  emu = kern/emu/hostdisk.c;
276
 
  emu = osdep/unix/hostdisk.c;
277
 
  emu = osdep/exec.c;
278
 
  extra_dist = osdep/unix/exec.c;
279
 
  emu = osdep/devmapper/hostdisk.c;
280
 
  emu = osdep/hostdisk.c;
281
 
  emu = kern/emu/hostfs.c;
282
 
  emu = kern/emu/main.c;
283
 
  emu = kern/emu/argp_common.c;
284
 
  emu = kern/emu/misc.c;
285
 
  emu = kern/emu/mm.c;
286
 
  emu = kern/emu/time.c;
287
 
  emu = kern/emu/cache.c;
288
 
  emu = osdep/emuconsole.c;
289
 
  extra_dist = osdep/unix/emuconsole.c;
290
 
  extra_dist = osdep/windows/emuconsole.c;
291
 
  emu = osdep/dl.c;
292
 
  extra_dist = osdep/unix/dl.c;
293
 
  extra_dist = osdep/windows/dl.c;
294
 
  emu = osdep/sleep.c;
295
 
  emu = osdep/init.c;
296
 
  emu = osdep/emunet.c;
297
 
  extra_dist = osdep/linux/emunet.c;
298
 
  extra_dist = osdep/basic/emunet.c;
299
 
  emu = osdep/cputime.c;
300
 
  extra_dist = osdep/unix/cputime.c;
301
 
  extra_dist = osdep/windows/cputime.c;
302
 
 
303
 
  videoinkernel = term/gfxterm.c;
304
 
  videoinkernel = font/font.c;
305
 
  videoinkernel = font/font_cmd.c;
306
 
  videoinkernel = io/bufio.c;
307
 
  videoinkernel = video/fb/fbblit.c;
308
 
  videoinkernel = video/fb/fbfill.c;
309
 
  videoinkernel = video/fb/fbutil.c;
310
 
  videoinkernel = video/fb/video_fb.c;
311
 
  videoinkernel = video/video.c;
312
 
 
313
 
  extra_dist = kern/i386/int.S;
314
 
  extra_dist = kern/i386/realmode.S;
315
 
  extra_dist = boot/i386/pc/lzma_decode.S;
316
 
  extra_dist = kern/mips/cache_flush.S;
317
 
};
318
 
 
319
 
program = {
320
 
  name = grub-emu;
321
 
  mansection = 1;
322
 
 
323
 
  emu = kern/emu/full.c;
324
 
  emu_nodist = grub_emu_init.c;
325
 
 
326
 
  ldadd = 'kernel.exec$(EXEEXT)';
327
 
  ldadd = '$(MODULE_FILES)';
328
 
  ldadd = 'gnulib/libgnu.a $(LIBINTL) $(LIBUTIL) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
329
 
 
330
 
  enable = emu;
331
 
};
332
 
 
333
 
program = {
334
 
  name = grub-emu-lite;
335
 
 
336
 
  emu = kern/emu/lite.c;
337
 
  emu_nodist = symlist.c;
338
 
 
339
 
  ldadd = 'kernel.exec$(EXEEXT)';
340
 
  ldadd = 'gnulib/libgnu.a $(LIBINTL) $(LIBUTIL) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
341
 
 
342
 
  enable = emu;
343
 
};
344
 
 
345
 
image = {
346
 
  name = boot;
347
 
  i386_pc = boot/i386/pc/boot.S;
348
 
  i386_qemu = boot/i386/qemu/boot.S;
349
 
  sparc64_ieee1275 = boot/sparc64/ieee1275/boot.S;
350
 
 
351
 
  i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
352
 
  i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
353
 
 
354
 
  i386_qemu_ldflags = '$(TARGET_IMG_LDFLAGS)';
355
 
  i386_qemu_ldflags = '$(TARGET_IMG_BASE_LDOPT),$(GRUB_BOOT_MACHINE_LINK_ADDR)';
356
 
  i386_qemu_ccasflags = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)';
357
 
 
358
 
  sparc64_ieee1275_objcopyflags = '-O a.out-sunos-big';
359
 
  sparc64_ieee1275_ldflags = ' -Wl,-Ttext=0x4000';
360
 
 
361
 
  objcopyflags = '-O binary';
362
 
  enable = i386_pc;
363
 
  enable = i386_qemu;
364
 
  enable = sparc64_ieee1275;
365
 
};
366
 
 
367
 
image = {
368
 
  name = boot_hybrid;
369
 
  i386_pc = boot/i386/pc/boot.S;
370
 
 
371
 
  cppflags = '-DHYBRID_BOOT=1';
372
 
  
373
 
  i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
374
 
  i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
375
 
 
376
 
  objcopyflags = '-O binary';
377
 
  enable = i386_pc;
378
 
};
379
 
 
380
 
image = {
381
 
  name = cdboot;
382
 
 
383
 
  i386_pc = boot/i386/pc/cdboot.S;
384
 
  i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
385
 
  i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
386
 
 
387
 
  sparc64_ieee1275 = boot/sparc64/ieee1275/boot.S;
388
 
  sparc64_ieee1275_objcopyflags = '-O a.out-sunos-big';
389
 
  sparc64_ieee1275_ldflags = ' -Wl,-Ttext=0x4000';
390
 
  sparc64_ieee1275_cppflags = '-DCDBOOT=1';
391
 
 
392
 
  objcopyflags = '-O binary';
393
 
 
394
 
  enable = sparc64_ieee1275;
395
 
  enable = i386_pc;
396
 
};
397
 
 
398
 
image = {
399
 
  name = pxeboot;
400
 
  i386_pc = boot/i386/pc/pxeboot.S;
401
 
 
402
 
  i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
403
 
  i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x7C00';
404
 
 
405
 
  objcopyflags = '-O binary';
406
 
  enable = i386_pc;
407
 
};
408
 
 
409
 
image = {
410
 
  name = diskboot;
411
 
  i386_pc = boot/i386/pc/diskboot.S;
412
 
 
413
 
  i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
414
 
  i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x8000';
415
 
 
416
 
  sparc64_ieee1275 = boot/sparc64/ieee1275/diskboot.S;
417
 
  sparc64_ieee1275_ldflags = '-Wl,-Ttext=0x4200';
418
 
 
419
 
  objcopyflags = '-O binary';
420
 
 
421
 
  enable = i386_pc;
422
 
  enable = sparc64_ieee1275;
423
 
};
424
 
 
425
 
image = {
426
 
  name = lnxboot;
427
 
  i386_pc = boot/i386/pc/lnxboot.S;
428
 
 
429
 
  i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
430
 
  i386_pc_ldflags = '$(TARGET_IMG_BASE_LDOPT),0x6000';
431
 
 
432
 
  objcopyflags = '-O binary';
433
 
  enable = i386_pc;
434
 
};
435
 
 
436
 
image = {
437
 
  name = xz_decompress;
438
 
  mips = boot/mips/startup_raw.S;
439
 
  common = boot/decompressor/minilib.c;
440
 
  common = boot/decompressor/xz.c;
441
 
  common = lib/xzembed/xz_dec_bcj.c;
442
 
  common = lib/xzembed/xz_dec_lzma2.c;
443
 
  common = lib/xzembed/xz_dec_stream.c;
444
 
 
445
 
  cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -DGRUB_EMBED_DECOMPRESSOR=1';
446
 
 
447
 
  objcopyflags = '-O binary';
448
 
  mips_ldflags = '$(TARGET_LDFLAGS_STATIC_LIBGCC) -Wl,-Ttext,$(TARGET_DECOMPRESSOR_LINK_ADDR)';
449
 
  ldadd = '$(TARGET_LIBGCC)';
450
 
  cflags = '-Wno-unreachable-code $(TARGET_LDFLAGS_STATIC_LIBGCC)';
451
 
  enable = mips;
452
 
};
453
 
 
454
 
image = {
455
 
  name = none_decompress;
456
 
  mips = boot/mips/startup_raw.S;
457
 
  common = boot/decompressor/none.c;
458
 
 
459
 
  cppflags = '-DGRUB_EMBED_DECOMPRESSOR=1';
460
 
 
461
 
  objcopyflags = '-O binary';
462
 
  mips_ldflags = '$(TARGET_LDFLAGS_STATIC_LIBGCC) -Wl,-Ttext,$(TARGET_DECOMPRESSOR_LINK_ADDR)';
463
 
  ldadd = '$(TARGET_LIBGCC)';
464
 
  cflags = '$(TARGET_LDFLAGS_STATIC_LIBGCC)';
465
 
  enable = mips;
466
 
};
467
 
 
468
 
image = {
469
 
  name = lzma_decompress;
470
 
  i386_pc = boot/i386/pc/startup_raw.S;
471
 
  i386_pc_nodist = rs_decoder.h;
472
 
 
473
 
  objcopyflags = '-O binary';
474
 
  ldflags = '$(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x8200';
475
 
  enable = i386_pc;
476
 
};
477
 
 
478
 
image = {
479
 
  name = fwstart;
480
 
  mips_loongson = boot/mips/loongson/fwstart.S;
481
 
  objcopyflags = '-O binary';
482
 
  ldflags = '$(TARGET_LDFLAGS_STATIC_LIBGCC) $(TARGET_LIBGCC) -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic';
483
 
  enable = mips_loongson;
484
 
};
485
 
 
486
 
image = {
487
 
  name = fwstart_fuloong2f;
488
 
  mips_loongson = boot/mips/loongson/fuloong2f.S;
489
 
  objcopyflags = '-O binary';
490
 
  ldflags = '$(TARGET_LDFLAGS_STATIC_LIBGCC) $(TARGET_LIBGCC) -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic';
491
 
  enable = mips_loongson;
492
 
};
493
 
 
494
 
module = {
495
 
  name = disk;
496
 
  common = lib/disk.c;
497
 
  extra_dist = kern/disk_common.c;
498
 
};
499
 
 
500
 
module = {
501
 
  name = trig;
502
 
  common_nodist = trigtables.c;
503
 
  extra_dist = gentrigtables.c;
504
 
};
505
 
 
506
 
module = {
507
 
  name = cs5536;
508
 
  x86 = bus/cs5536.c;
509
 
  enable = x86;
510
 
};
511
 
 
512
 
module = {
513
 
  name = libusb;
514
 
  emu = bus/usb/emu/usb.c;
515
 
  enable = emu;
516
 
  condition = COND_GRUB_EMU_USB;
517
 
};
518
 
 
519
 
module = {
520
 
  name = lsspd;
521
 
  mips_loongson = commands/mips/loongson/lsspd.c;
522
 
  enable = mips_loongson;
523
 
};
524
 
 
525
 
module = {
526
 
  name = usb;
527
 
  common = bus/usb/usb.c;
528
 
  common = bus/usb/usbtrans.c;
529
 
  common = bus/usb/usbhub.c;
530
 
  enable = usb;
531
 
};
532
 
 
533
 
module = {
534
 
  name = emuusb;
535
 
  common = bus/usb/usb.c;
536
 
  enable = emu;
537
 
  condition = COND_GRUB_EMU_USB;
538
 
};
539
 
 
540
 
module = {
541
 
  name = usbserial_common;
542
 
  common = bus/usb/serial/common.c;
543
 
  enable = usb;
544
 
};
545
 
 
546
 
module = {
547
 
  name = usbserial_pl2303;
548
 
  common = bus/usb/serial/pl2303.c;
549
 
  enable = usb;
550
 
};
551
 
 
552
 
module = {
553
 
  name = usbserial_ftdi;
554
 
  common = bus/usb/serial/ftdi.c;
555
 
  enable = usb;
556
 
};
557
 
 
558
 
module = {
559
 
  name = usbserial_usbdebug;
560
 
  common = bus/usb/serial/usbdebug_late.c;
561
 
  enable = usb;
562
 
};
563
 
 
564
 
module = {
565
 
  name = uhci;
566
 
  common = bus/usb/uhci.c;
567
 
  enable = pci;
568
 
};
569
 
 
570
 
module = {
571
 
  name = ohci;
572
 
  common = bus/usb/ohci.c;
573
 
  enable = pci;
574
 
};
575
 
 
576
 
module = {
577
 
  name = ehci;
578
 
  common = bus/usb/ehci.c;
579
 
  enable = pci;
580
 
};
581
 
 
582
 
module = {
583
 
  name = pci;
584
 
  common = bus/pci.c;
585
 
  i386_ieee1275 = bus/i386/ieee1275/pci.c;
586
 
 
587
 
  enable = i386_pc;
588
 
  enable = i386_ieee1275;
589
 
  enable = i386_coreboot;
590
 
  enable = i386_multiboot;
591
 
};
592
 
 
593
 
module = {
594
 
  name = nativedisk;
595
 
  common = commands/nativedisk.c;
596
 
 
597
 
  enable = x86;
598
 
  enable = mips_loongson;
599
 
  enable = mips_qemu_mips;
600
 
};
601
 
 
602
 
module = {
603
 
  name = emupci;
604
 
  common = bus/emu/pci.c;
605
 
  common = commands/lspci.c;
606
 
 
607
 
  enable = emu;
608
 
  condition = COND_GRUB_EMU_PCI;
609
 
};
610
 
 
611
 
module = {
612
 
  name = lsdev;
613
 
  common = commands/arc/lsdev.c;
614
 
 
615
 
  enable = mips_arc;
616
 
};
617
 
 
618
 
module = {
619
 
  name = lsxen;
620
 
  common = commands/xen/lsxen.c;
621
 
  cppflags = '$(CPPFLAGS_XEN)';
622
 
 
623
 
  enable = xen;
624
 
};
625
 
 
626
 
module = {
627
 
  name = cmostest;
628
 
  common = commands/i386/cmostest.c;
629
 
  enable = cmos;
630
 
};
631
 
 
632
 
module = {
633
 
  name = cmosdump;
634
 
  common = commands/i386/cmosdump.c;
635
 
  enable = cmos;
636
 
};
637
 
 
638
 
module = {
639
 
  name = iorw;
640
 
  common = commands/iorw.c;
641
 
  enable = x86;
642
 
};
643
 
 
644
 
module = {
645
 
  name = cbtable;
646
 
  common = kern/i386/coreboot/cbtable.c;
647
 
  enable = i386_pc;
648
 
  enable = i386_efi;
649
 
  enable = i386_qemu;
650
 
  enable = i386_multiboot;
651
 
  enable = i386_ieee1275;
652
 
  enable = x86_64_efi;
653
 
};
654
 
 
655
 
module = {
656
 
  name = cbtime;
657
 
  common = commands/i386/coreboot/cb_timestamps.c;
658
 
  enable = x86;
659
 
};
660
 
 
661
 
module = {
662
 
  name = cbls;
663
 
  common = commands/i386/coreboot/cbls.c;
664
 
  enable = x86;
665
 
};
666
 
 
667
 
module = {
668
 
  name = cbmemc;
669
 
  common = term/i386/coreboot/cbmemc.c;
670
 
  enable = x86;
671
 
};
672
 
 
673
 
module = {
674
 
  name = regexp;
675
 
  common = commands/regexp.c;
676
 
  common = commands/wildcard.c;
677
 
  common = gnulib/regex.c;
678
 
  cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)';
679
 
  cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)';
680
 
};
681
 
 
682
 
module = {
683
 
  name = acpi;
684
 
 
685
 
  common = commands/acpi.c;
686
 
  efi = commands/efi/acpi.c;
687
 
  i386_pc = commands/i386/pc/acpi.c;
688
 
  i386_coreboot = commands/i386/pc/acpi.c;
689
 
  i386_multiboot = commands/i386/pc/acpi.c;
690
 
 
691
 
  enable = efi;
692
 
  enable = i386_pc;
693
 
  enable = i386_coreboot;
694
 
  enable = i386_multiboot;
695
 
};
696
 
 
697
 
module = {
698
 
  name = lsacpi;
699
 
 
700
 
  common = commands/lsacpi.c;
701
 
 
702
 
  enable = efi;
703
 
  enable = i386_pc;
704
 
  enable = i386_coreboot;
705
 
  enable = i386_multiboot;
706
 
};
707
 
 
708
 
module = {
709
 
  name = lsefisystab;
710
 
 
711
 
  common = commands/efi/lsefisystab.c;
712
 
 
713
 
  enable = efi;
714
 
};
715
 
 
716
 
module = {
717
 
  name = lssal;
718
 
 
719
 
  common = commands/efi/lssal.c;
720
 
 
721
 
  enable = efi;
722
 
};
723
 
 
724
 
module = {
725
 
  name = lsefimmap;
726
 
 
727
 
  common = commands/efi/lsefimmap.c;
728
 
 
729
 
  enable = efi;
730
 
};
731
 
 
732
 
module = {
733
 
  name = lsefi;
734
 
  common = commands/efi/lsefi.c;
735
 
  enable = efi;
736
 
};
737
 
 
738
 
module = {
739
 
  name = efifwsetup;
740
 
  efi = commands/efi/efifwsetup.c;
741
 
  enable = efi;
742
 
};
743
 
 
744
 
module = {
745
 
  name = blocklist;
746
 
  common = commands/blocklist.c;
747
 
};
748
 
 
749
 
module = {
750
 
  name = boot;
751
 
  common = commands/boot.c;
752
 
  i386_pc = lib/i386/pc/biosnum.c;
753
 
  enable = x86;
754
 
  enable = emu;
755
 
  enable = sparc64_ieee1275;
756
 
  enable = powerpc_ieee1275;
757
 
  enable = mips_arc;
758
 
  enable = ia64_efi;
759
 
  enable = arm_efi;
760
 
  enable = arm64_efi;
761
 
  enable = arm_uboot;
762
 
};
763
 
 
764
 
module = {
765
 
  name = cat;
766
 
  common = commands/cat.c;
767
 
};
768
 
 
769
 
module = {
770
 
  name = cmp;
771
 
  common = commands/cmp.c;
772
 
};
773
 
 
774
 
module = {
775
 
  name = configfile;
776
 
  common = commands/configfile.c;
777
 
};
778
 
 
779
 
module = {
780
 
  name = cpuid;
781
 
  common = commands/i386/cpuid.c;
782
 
  enable = x86;
783
 
  enable = i386_xen;
784
 
  enable = x86_64_xen;
785
 
};
786
 
 
787
 
module = {
788
 
  name = date;
789
 
  common = commands/date.c;
790
 
};
791
 
 
792
 
module = {
793
 
  name = drivemap;
794
 
 
795
 
  i386_pc = commands/i386/pc/drivemap.c;
796
 
  i386_pc = commands/i386/pc/drivemap_int13h.S;
797
 
  enable = i386_pc;
798
 
};
799
 
 
800
 
module = {
801
 
  name = echo;
802
 
  common = commands/echo.c;
803
 
};
804
 
 
805
 
module = {
806
 
  name = eval;
807
 
  common = commands/eval.c;
808
 
};
809
 
 
810
 
module = {
811
 
  name = extcmd;
812
 
  common = commands/extcmd.c;
813
 
  common = lib/arg.c;
814
 
  enable = terminfomodule;
815
 
};
816
 
 
817
 
module = {
818
 
  name = fixvideo;
819
 
  common = commands/efi/fixvideo.c;
820
 
  enable = i386_efi;
821
 
  enable = x86_64_efi;
822
 
};
823
 
 
824
 
module = {
825
 
  name = gptsync;
826
 
  common = commands/gptsync.c;
827
 
};
828
 
 
829
 
module = {
830
 
  name = halt;
831
 
  nopc = commands/halt.c;
832
 
  i386_pc = commands/i386/pc/halt.c;
833
 
  i386_pc = commands/acpihalt.c;
834
 
  i386_coreboot = commands/acpihalt.c;
835
 
  i386_multiboot = commands/acpihalt.c;
836
 
  i386_efi = commands/acpihalt.c;
837
 
  x86_64_efi = commands/acpihalt.c;
838
 
  i386_multiboot = lib/i386/halt.c;
839
 
  i386_coreboot = lib/i386/halt.c;
840
 
  i386_qemu = lib/i386/halt.c;
841
 
  xen = lib/xen/halt.c;
842
 
  xen_cppflags = '$(CPPFLAGS_XEN)';
843
 
  efi = lib/efi/halt.c;
844
 
  ieee1275 = lib/ieee1275/halt.c;
845
 
  emu = lib/emu/halt.c;
846
 
  uboot = lib/uboot/halt.c;
847
 
};
848
 
 
849
 
module = {
850
 
  name = reboot;
851
 
  i386 = lib/i386/reboot.c;
852
 
  i386 = lib/i386/reboot_trampoline.S;
853
 
  ia64_efi = lib/efi/reboot.c;
854
 
  x86_64_efi = lib/efi/reboot.c;
855
 
  arm_efi = lib/efi/reboot.c;
856
 
  arm64_efi = lib/efi/reboot.c;
857
 
  powerpc_ieee1275 = lib/ieee1275/reboot.c;
858
 
  sparc64_ieee1275 = lib/ieee1275/reboot.c;
859
 
  mips_arc = lib/mips/arc/reboot.c;
860
 
  mips_loongson = lib/mips/loongson/reboot.c;
861
 
  mips_qemu_mips = lib/mips/qemu_mips/reboot.c;
862
 
  xen = lib/xen/reboot.c;
863
 
  xen_cppflags = '$(CPPFLAGS_XEN)';
864
 
  uboot = lib/uboot/reboot.c;
865
 
  common = commands/reboot.c;
866
 
};
867
 
 
868
 
module = {
869
 
  name = hashsum;
870
 
  common = commands/hashsum.c;
871
 
};
872
 
 
873
 
module = {
874
 
  name = verify;
875
 
  common = commands/verify.c;
876
 
  cflags = '$(CFLAGS_POSIX)';
877
 
  cppflags = '-I$(srcdir)/lib/posix_wrap';
878
 
};
879
 
 
880
 
module = {
881
 
  name = hdparm;
882
 
  common = commands/hdparm.c;
883
 
  common = lib/hexdump.c;
884
 
  enable = pci;
885
 
  enable = mips_qemu_mips;
886
 
};
887
 
 
888
 
module = {
889
 
  name = help;
890
 
  common = commands/help.c;
891
 
};
892
 
 
893
 
module = {
894
 
  name = hexdump;
895
 
  common = commands/hexdump.c;
896
 
  common = lib/hexdump.c;
897
 
};
898
 
 
899
 
module = {
900
 
  name = keystatus;
901
 
  common = commands/keystatus.c;
902
 
};
903
 
 
904
 
module = {
905
 
  name = loadbios;
906
 
  common = commands/efi/loadbios.c;
907
 
  enable = i386_efi;
908
 
  enable = x86_64_efi;
909
 
};
910
 
 
911
 
module = {
912
 
  name = loadenv;
913
 
  common = commands/loadenv.c;
914
 
  common = lib/envblk.c;
915
 
};
916
 
 
917
 
module = {
918
 
  name = ls;
919
 
  common = commands/ls.c;
920
 
};
921
 
 
922
 
module = {
923
 
  name = lsmmap;
924
 
  common = commands/lsmmap.c;
925
 
};
926
 
 
927
 
module = {
928
 
  name = lspci;
929
 
  common = commands/lspci.c;
930
 
 
931
 
  enable = pci;
932
 
};
933
 
 
934
 
module = {
935
 
  name = memrw;
936
 
  common = commands/memrw.c;
937
 
};
938
 
 
939
 
module = {
940
 
  name = minicmd;
941
 
  common = commands/minicmd.c;
942
 
};
943
 
 
944
 
module = {
945
 
  name = parttool;
946
 
  common = commands/parttool.c;
947
 
};
948
 
 
949
 
module = {
950
 
  name = password;
951
 
  common = commands/password.c;
952
 
};
953
 
 
954
 
module = {
955
 
  name = password_pbkdf2;
956
 
  common = commands/password_pbkdf2.c;
957
 
};
958
 
 
959
 
module = {
960
 
  name = play;
961
 
  x86 = commands/i386/pc/play.c;
962
 
  enable = x86;
963
 
};
964
 
 
965
 
module = {
966
 
  name = spkmodem;
967
 
  x86 = term/spkmodem.c;
968
 
  enable = x86;
969
 
};
970
 
 
971
 
module = {
972
 
  name = morse;
973
 
  x86 = term/morse.c;
974
 
  enable = x86;
975
 
};
976
 
 
977
 
module = {
978
 
  name = probe;
979
 
  common = commands/probe.c;
980
 
};
981
 
 
982
 
module = {
983
 
  name = read;
984
 
  common = commands/read.c;
985
 
};
986
 
 
987
 
module = {
988
 
  name = search;
989
 
  common = commands/search_wrap.c;
990
 
  extra_dist = commands/search.c;
991
 
};
992
 
 
993
 
module = {
994
 
  name = search_fs_file;
995
 
  common = commands/search_file.c;
996
 
};
997
 
 
998
 
module = {
999
 
  name = search_fs_uuid;
1000
 
  common = commands/search_uuid.c;
1001
 
};
1002
 
 
1003
 
module = {
1004
 
  name = search_label;
1005
 
  common = commands/search_label.c;
1006
 
};
1007
 
 
1008
 
module = {
1009
 
  name = setpci;
1010
 
  common = commands/setpci.c;
1011
 
  enable = pci;
1012
 
};
1013
 
 
1014
 
module = {
1015
 
  name = pcidump;
1016
 
  common = commands/pcidump.c;
1017
 
  enable = pci;
1018
 
};
1019
 
 
1020
 
module = {
1021
 
  name = sleep;
1022
 
  common = commands/sleep.c;
1023
 
};
1024
 
 
1025
 
module = {
1026
 
  name = suspend;
1027
 
  ieee1275 = commands/ieee1275/suspend.c;
1028
 
  enable = i386_ieee1275;
1029
 
  enable = powerpc_ieee1275;
1030
 
};
1031
 
 
1032
 
module = {
1033
 
  name = escc;
1034
 
  ieee1275 = term/ieee1275/escc.c;
1035
 
  enable = powerpc_ieee1275;
1036
 
};
1037
 
 
1038
 
module = {
1039
 
  name = terminal;
1040
 
  common = commands/terminal.c;
1041
 
};
1042
 
 
1043
 
module = {
1044
 
  name = test;
1045
 
  common = commands/test.c;
1046
 
};
1047
 
 
1048
 
module = {
1049
 
  name = true;
1050
 
  common = commands/true.c;
1051
 
};
1052
 
 
1053
 
module = {
1054
 
  name = usbtest;
1055
 
  common = commands/usbtest.c;
1056
 
  enable = usb;
1057
 
};
1058
 
 
1059
 
module = {
1060
 
  name = videoinfo;
1061
 
  common = commands/videoinfo.c;
1062
 
};
1063
 
 
1064
 
module = {
1065
 
  name = videotest;
1066
 
  common = commands/videotest.c;
1067
 
};
1068
 
 
1069
 
module = {
1070
 
  name = xnu_uuid;
1071
 
  common = commands/xnu_uuid.c;
1072
 
};
1073
 
 
1074
 
module = {
1075
 
  name = dm_nv;
1076
 
  common = disk/dmraid_nvidia.c;
1077
 
};
1078
 
 
1079
 
module = {
1080
 
  name = loopback;
1081
 
  common = disk/loopback.c;
1082
 
};
1083
 
 
1084
 
module = {
1085
 
  name = cryptodisk;
1086
 
  common = disk/cryptodisk.c;
1087
 
};
1088
 
 
1089
 
module = {
1090
 
  name = luks;
1091
 
  common = disk/luks.c;
1092
 
  common = disk/AFSplitter.c;
1093
 
};
1094
 
 
1095
 
module = {
1096
 
  name = geli;
1097
 
  common = disk/geli.c;
1098
 
};
1099
 
 
1100
 
module = {
1101
 
  name = lvm;
1102
 
  common = disk/lvm.c;
1103
 
};
1104
 
 
1105
 
module = {
1106
 
  name = ldm;
1107
 
  common = disk/ldm.c;
1108
 
};
1109
 
 
1110
 
module = {
1111
 
  name = mdraid09;
1112
 
  common = disk/mdraid_linux.c;
1113
 
};
1114
 
 
1115
 
module = {
1116
 
  name = mdraid09_be;
1117
 
  common = disk/mdraid_linux_be.c;
1118
 
};
1119
 
 
1120
 
module = {
1121
 
  name = mdraid1x;
1122
 
  common = disk/mdraid1x_linux.c;
1123
 
};
1124
 
 
1125
 
module = {
1126
 
  name = diskfilter;
1127
 
  common = disk/diskfilter.c;
1128
 
};
1129
 
 
1130
 
module = {
1131
 
  name = raid5rec;
1132
 
  common = disk/raid5_recover.c;
1133
 
};
1134
 
 
1135
 
module = {
1136
 
  name = raid6rec;
1137
 
  common = disk/raid6_recover.c;
1138
 
};
1139
 
 
1140
 
module = {
1141
 
  name = scsi;
1142
 
  common = disk/scsi.c;
1143
 
};
1144
 
 
1145
 
module = {
1146
 
  name = memdisk;
1147
 
  common = disk/memdisk.c;
1148
 
};
1149
 
 
1150
 
module = {
1151
 
  name = ata;
1152
 
  common = disk/ata.c;
1153
 
  enable = pci;
1154
 
  enable = mips_qemu_mips;
1155
 
};
1156
 
 
1157
 
module = {
1158
 
  name = ahci;
1159
 
  common = disk/ahci.c;
1160
 
  enable = pci;
1161
 
};
1162
 
 
1163
 
module = {
1164
 
  name = pata;
1165
 
  common = disk/pata.c;
1166
 
  enable = pci;
1167
 
  enable = mips_qemu_mips;
1168
 
};
1169
 
 
1170
 
module = {
1171
 
  name = biosdisk;
1172
 
  i386_pc = disk/i386/pc/biosdisk.c;
1173
 
  enable = i386_pc;
1174
 
};
1175
 
 
1176
 
module = {
1177
 
  name = usbms;
1178
 
  common = disk/usbms.c;
1179
 
  enable = usb;
1180
 
};
1181
 
 
1182
 
module = {
1183
 
  name = nand;
1184
 
  ieee1275 = disk/ieee1275/nand.c;
1185
 
  enable = i386_ieee1275;
1186
 
};
1187
 
 
1188
 
module = {
1189
 
  name = efiemu;
1190
 
  common = efiemu/main.c;
1191
 
  common = efiemu/i386/loadcore32.c;
1192
 
  common = efiemu/i386/loadcore64.c;
1193
 
  i386_pc = efiemu/i386/pc/cfgtables.c;
1194
 
  i386_coreboot = efiemu/i386/pc/cfgtables.c;
1195
 
  i386_multiboot = efiemu/i386/pc/cfgtables.c;
1196
 
  i386_ieee1275 = efiemu/i386/nocfgtables.c;
1197
 
  i386_qemu = efiemu/i386/nocfgtables.c;
1198
 
  common = efiemu/mm.c;
1199
 
  common = efiemu/loadcore_common.c;
1200
 
  common = efiemu/symbols.c;
1201
 
  common = efiemu/loadcore32.c;
1202
 
  common = efiemu/loadcore64.c;
1203
 
  common = efiemu/prepare32.c;
1204
 
  common = efiemu/prepare64.c;
1205
 
  common = efiemu/pnvram.c;
1206
 
  common = efiemu/i386/coredetect.c;
1207
 
 
1208
 
  extra_dist = efiemu/prepare.c;
1209
 
  extra_dist = efiemu/loadcore.c;
1210
 
  extra_dist = efiemu/runtime/efiemu.S;
1211
 
  extra_dist = efiemu/runtime/efiemu.c;
1212
 
 
1213
 
  enable = i386_pc;
1214
 
  enable = i386_coreboot;
1215
 
  enable = i386_ieee1275;
1216
 
  enable = i386_multiboot;
1217
 
  enable = i386_qemu;
1218
 
};
1219
 
 
1220
 
module = {
1221
 
  name = font;
1222
 
  common = font/font.c;
1223
 
  common = font/font_cmd.c;
1224
 
  enable = videomodules;
1225
 
};
1226
 
 
1227
 
module = {
1228
 
  name = procfs;
1229
 
  common = fs/proc.c;
1230
 
};
1231
 
 
1232
 
module = {
1233
 
  name = affs;
1234
 
  common = fs/affs.c;
1235
 
};
1236
 
 
1237
 
module = {
1238
 
  name = afs;
1239
 
  common = fs/afs.c;
1240
 
};
1241
 
 
1242
 
module = {
1243
 
  name = bfs;
1244
 
  common = fs/bfs.c;
1245
 
};
1246
 
 
1247
 
module = {
1248
 
  name = btrfs;
1249
 
  common = fs/btrfs.c;
1250
 
  common = lib/crc.c;
1251
 
  cflags = '$(CFLAGS_POSIX) -Wno-undef';
1252
 
  cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/minilzo -DMINILZO_HAVE_CONFIG_H';
1253
 
};
1254
 
 
1255
 
module = {
1256
 
  name = archelp;
1257
 
  common = fs/archelp.c;
1258
 
};
1259
 
 
1260
 
module = {
1261
 
  name = cbfs;
1262
 
  common = fs/cbfs.c;
1263
 
};
1264
 
 
1265
 
module = {
1266
 
  name = cpio;
1267
 
  common = fs/cpio.c;
1268
 
};
1269
 
 
1270
 
module = {
1271
 
  name = cpio_be;
1272
 
  common = fs/cpio_be.c;
1273
 
};
1274
 
 
1275
 
module = {
1276
 
  name = newc;
1277
 
  common = fs/newc.c;
1278
 
};
1279
 
 
1280
 
module = {
1281
 
  name = odc;
1282
 
  common = fs/odc.c;
1283
 
};
1284
 
 
1285
 
module = {
1286
 
  name = ext2;
1287
 
  common = fs/ext2.c;
1288
 
};
1289
 
 
1290
 
module = {
1291
 
  name = fat;
1292
 
  common = fs/fat.c;
1293
 
};
1294
 
 
1295
 
module = {
1296
 
  name = exfat;
1297
 
  common = fs/exfat.c;
1298
 
};
1299
 
 
1300
 
module = {
1301
 
  name = fshelp;
1302
 
  common = fs/fshelp.c;
1303
 
};
1304
 
 
1305
 
module = {
1306
 
  name = hfs;
1307
 
  common = fs/hfs.c;
1308
 
};
1309
 
 
1310
 
module = {
1311
 
  name = hfsplus;
1312
 
  common = fs/hfsplus.c;
1313
 
};
1314
 
 
1315
 
module = {
1316
 
  name = hfspluscomp;
1317
 
  common = fs/hfspluscomp.c;
1318
 
};
1319
 
 
1320
 
module = {
1321
 
  name = iso9660;
1322
 
  common = fs/iso9660.c;
1323
 
};
1324
 
 
1325
 
module = {
1326
 
  name = jfs;
1327
 
  common = fs/jfs.c;
1328
 
};
1329
 
 
1330
 
module = {
1331
 
  name = minix;
1332
 
  common = fs/minix.c;
1333
 
};
1334
 
 
1335
 
module = {
1336
 
  name = minix2;
1337
 
  common = fs/minix2.c;
1338
 
};
1339
 
 
1340
 
module = {
1341
 
  name = minix3;
1342
 
  common = fs/minix3.c;
1343
 
};
1344
 
 
1345
 
module = {
1346
 
  name = minix_be;
1347
 
  common = fs/minix_be.c;
1348
 
};
1349
 
 
1350
 
module = {
1351
 
  name = minix2_be;
1352
 
  common = fs/minix2_be.c;
1353
 
};
1354
 
 
1355
 
module = {
1356
 
  name = minix3_be;
1357
 
  common = fs/minix3_be.c;
1358
 
};
1359
 
 
1360
 
module = {
1361
 
  name = nilfs2;
1362
 
  common = fs/nilfs2.c;
1363
 
};
1364
 
 
1365
 
module = {
1366
 
  name = ntfs;
1367
 
  common = fs/ntfs.c;
1368
 
};
1369
 
 
1370
 
module = {
1371
 
  name = ntfscomp;
1372
 
  common = fs/ntfscomp.c;
1373
 
};
1374
 
 
1375
 
module = {
1376
 
  name = reiserfs;
1377
 
  common = fs/reiserfs.c;
1378
 
};
1379
 
 
1380
 
module = {
1381
 
  name = romfs;
1382
 
  common = fs/romfs.c;
1383
 
};
1384
 
 
1385
 
module = {
1386
 
  name = sfs;
1387
 
  common = fs/sfs.c;
1388
 
};
1389
 
 
1390
 
module = {
1391
 
  name = squash4;
1392
 
  common = fs/squash4.c;
1393
 
  cflags = '$(CFLAGS_POSIX) -Wno-undef';
1394
 
  cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -I$(srcdir)/lib/minilzo -DMINILZO_HAVE_CONFIG_H';
1395
 
};
1396
 
 
1397
 
module = {
1398
 
  name = tar;
1399
 
  common = fs/tar.c;
1400
 
};
1401
 
 
1402
 
module = {
1403
 
  name = udf;
1404
 
  common = fs/udf.c;
1405
 
};
1406
 
 
1407
 
module = {
1408
 
  name = ufs1;
1409
 
  common = fs/ufs.c;
1410
 
};
1411
 
 
1412
 
module = {
1413
 
  name = ufs1_be;
1414
 
  common = fs/ufs_be.c;
1415
 
};
1416
 
 
1417
 
module = {
1418
 
  name = ufs2;
1419
 
  common = fs/ufs2.c;
1420
 
};
1421
 
 
1422
 
module = {
1423
 
  name = xfs;
1424
 
  common = fs/xfs.c;
1425
 
};
1426
 
 
1427
 
module = {
1428
 
  name = zfs;
1429
 
  common = fs/zfs/zfs.c;
1430
 
  common = fs/zfs/zfs_lzjb.c;
1431
 
  common = fs/zfs/zfs_lz4.c;
1432
 
  common = fs/zfs/zfs_sha256.c;
1433
 
  common = fs/zfs/zfs_fletcher.c;
1434
 
};
1435
 
 
1436
 
module = {
1437
 
  name = zfscrypt;
1438
 
  common = fs/zfs/zfscrypt.c;
1439
 
};
1440
 
 
1441
 
module = {
1442
 
  name = zfsinfo;
1443
 
  common = fs/zfs/zfsinfo.c;
1444
 
};
1445
 
 
1446
 
module = {
1447
 
  name = macbless;
1448
 
  common = commands/macbless.c;
1449
 
};
1450
 
 
1451
 
module = {
1452
 
  name = pxe;
1453
 
  i386_pc = net/drivers/i386/pc/pxe.c;
1454
 
  enable = i386_pc;
1455
 
};
1456
 
 
1457
 
module = {
1458
 
  name = gettext;
1459
 
  common = gettext/gettext.c;
1460
 
};
1461
 
 
1462
 
module = {
1463
 
  name = gfxmenu;
1464
 
  common = gfxmenu/gfxmenu.c;
1465
 
  common = gfxmenu/model.c;
1466
 
  common = gfxmenu/view.c;
1467
 
  common = gfxmenu/font.c;
1468
 
  common = gfxmenu/icon_manager.c;
1469
 
  common = gfxmenu/theme_loader.c;
1470
 
  common = gfxmenu/widget-box.c;
1471
 
  common = gfxmenu/gui_canvas.c;
1472
 
  common = gfxmenu/gui_circular_progress.c;
1473
 
  common = gfxmenu/gui_box.c;
1474
 
  common = gfxmenu/gui_label.c;
1475
 
  common = gfxmenu/gui_list.c;
1476
 
  common = gfxmenu/gui_image.c;
1477
 
  common = gfxmenu/gui_progress_bar.c;
1478
 
  common = gfxmenu/gui_util.c;
1479
 
  common = gfxmenu/gui_string_util.c;
1480
 
};
1481
 
 
1482
 
module = {
1483
 
  name = hello;
1484
 
  common = hello/hello.c;
1485
 
};
1486
 
 
1487
 
module = {
1488
 
  name = gzio;
1489
 
  common = io/gzio.c;
1490
 
};
1491
 
 
1492
 
module = {
1493
 
  name = offsetio;
1494
 
  common = io/offset.c;
1495
 
};
1496
 
 
1497
 
module = {
1498
 
  name = bufio;
1499
 
  common = io/bufio.c;
1500
 
  enable = videomodules;
1501
 
};
1502
 
 
1503
 
module = {
1504
 
  name = elf;
1505
 
  common = kern/elf.c;
1506
 
 
1507
 
  extra_dist = kern/elfXX.c;
1508
 
};
1509
 
 
1510
 
module = {
1511
 
  name = crypto;
1512
 
  common = lib/crypto.c;
1513
 
 
1514
 
  extra_dist = lib/libgcrypt-grub/cipher/crypto.lst;
1515
 
};
1516
 
 
1517
 
module = {
1518
 
  name = pbkdf2;
1519
 
  common = lib/pbkdf2.c;
1520
 
};
1521
 
 
1522
 
module = {
1523
 
  name = relocator;
1524
 
  common = lib/relocator.c;
1525
 
  x86 = lib/i386/relocator16.S;
1526
 
  x86 = lib/i386/relocator32.S;
1527
 
  x86 = lib/i386/relocator64.S;
1528
 
  i386 = lib/i386/relocator_asm.S;
1529
 
  x86_64 = lib/x86_64/relocator_asm.S;
1530
 
  i386_xen = lib/i386/relocator_asm.S;
1531
 
  x86_64_xen = lib/x86_64/relocator_asm.S;
1532
 
  x86 = lib/i386/relocator.c;
1533
 
  x86 = lib/i386/relocator_common_c.c;
1534
 
  ieee1275 = lib/ieee1275/relocator.c;
1535
 
  efi = lib/efi/relocator.c;
1536
 
  mips = lib/mips/relocator_asm.S;
1537
 
  mips = lib/mips/relocator.c;
1538
 
  powerpc = lib/powerpc/relocator_asm.S;
1539
 
  powerpc = lib/powerpc/relocator.c;
1540
 
  xen = lib/xen/relocator.c;
1541
 
  i386_xen = lib/i386/xen/relocator.S;
1542
 
  x86_64_xen = lib/x86_64/xen/relocator.S;
1543
 
  xen = lib/i386/relocator_common_c.c;
1544
 
  xen_cppflags = '$(CPPFLAGS_XEN)';
1545
 
 
1546
 
  extra_dist = lib/i386/relocator_common.S;
1547
 
  extra_dist = kern/powerpc/cache_flush.S;
1548
 
 
1549
 
  enable = mips;
1550
 
  enable = powerpc;
1551
 
  enable = x86;
1552
 
  enable = xen;
1553
 
};
1554
 
 
1555
 
module = {
1556
 
  name = datetime;
1557
 
  cmos = lib/cmos_datetime.c;
1558
 
  efi = lib/efi/datetime.c;
1559
 
  uboot = lib/uboot/datetime.c;
1560
 
  sparc64_ieee1275 = lib/ieee1275/datetime.c;
1561
 
  powerpc_ieee1275 = lib/ieee1275/datetime.c;
1562
 
  sparc64_ieee1275 = lib/ieee1275/cmos.c;
1563
 
  powerpc_ieee1275 = lib/ieee1275/cmos.c;
1564
 
  xen = lib/xen/datetime.c;
1565
 
  xen_cppflags = '$(CPPFLAGS_XEN)';
1566
 
 
1567
 
  mips_arc = lib/arc/datetime.c;
1568
 
  enable = noemu;
1569
 
};
1570
 
 
1571
 
module = {
1572
 
  name = setjmp;
1573
 
  common = lib/setjmp.S;
1574
 
  extra_dist = lib/i386/setjmp.S;
1575
 
  extra_dist = lib/mips/setjmp.S;
1576
 
  extra_dist = lib/x86_64/setjmp.S;
1577
 
  extra_dist = lib/sparc64/setjmp.S;
1578
 
  extra_dist = lib/powerpc/setjmp.S;
1579
 
  extra_dist = lib/ia64/setjmp.S;
1580
 
  extra_dist = lib/ia64/longjmp.S;
1581
 
  extra_dist = lib/arm/setjmp.S;
1582
 
  extra_dist = lib/arm64/setjmp.S;
1583
 
};
1584
 
 
1585
 
module = {
1586
 
  name = aout;
1587
 
  common = loader/aout.c;
1588
 
  enable = x86;
1589
 
};
1590
 
 
1591
 
module = {
1592
 
  name = bsd;
1593
 
  x86 = loader/i386/bsd.c;
1594
 
  x86 = loader/i386/bsd32.c;
1595
 
  x86 = loader/i386/bsd64.c;
1596
 
 
1597
 
  extra_dist = loader/i386/bsdXX.c;
1598
 
  extra_dist = loader/i386/bsd_pagetable.c;
1599
 
 
1600
 
  enable = x86;
1601
 
};
1602
 
 
1603
 
module = {
1604
 
  name = plan9;
1605
 
  i386_pc = loader/i386/pc/plan9.c;
1606
 
  enable = i386_pc;
1607
 
};
1608
 
 
1609
 
 
1610
 
module = {
1611
 
  name = linux16;
1612
 
  common = loader/i386/pc/linux.c;
1613
 
  common = loader/linux.c;
1614
 
  common = lib/cmdline.c;
1615
 
  enable = x86;
1616
 
};
1617
 
 
1618
 
module = {
1619
 
  name = ntldr;
1620
 
  i386_pc = loader/i386/pc/ntldr.c;
1621
 
  enable = i386_pc;
1622
 
};
1623
 
 
1624
 
 
1625
 
module = {
1626
 
  name = truecrypt;
1627
 
  i386_pc = loader/i386/pc/truecrypt.c;
1628
 
  enable = i386_pc;
1629
 
};
1630
 
 
1631
 
 
1632
 
module = {
1633
 
  name = freedos;
1634
 
  i386_pc = loader/i386/pc/freedos.c;
1635
 
  enable = i386_pc;
1636
 
};
1637
 
 
1638
 
module = {
1639
 
  name = pxechain;
1640
 
  i386_pc = loader/i386/pc/pxechainloader.c;
1641
 
  enable = i386_pc;
1642
 
};
1643
 
 
1644
 
module = {
1645
 
  name = multiboot2;
1646
 
  cppflags = "-DGRUB_USE_MULTIBOOT2";
1647
 
 
1648
 
  common = loader/multiboot.c;
1649
 
  common = lib/cmdline.c;
1650
 
  common = loader/multiboot_mbi2.c;
1651
 
  enable = x86;
1652
 
  enable = mips;
1653
 
};
1654
 
 
1655
 
module = {
1656
 
  name = multiboot;
1657
 
  common = loader/multiboot.c;
1658
 
  common = lib/cmdline.c;
1659
 
  x86 = loader/i386/multiboot_mbi.c;
1660
 
  extra_dist = loader/multiboot_elfxx.c;
1661
 
  enable = x86;
1662
 
};
1663
 
 
1664
 
module = {
1665
 
  name = linux;
1666
 
  x86 = loader/i386/linux.c;
1667
 
  xen = loader/i386/xen.c;
1668
 
  xen_cppflags     = '$(CPPFLAGS_XEN)';
1669
 
  i386_pc = lib/i386/pc/vesa_modes_table.c;
1670
 
  mips = loader/mips/linux.c;
1671
 
  powerpc_ieee1275 = loader/powerpc/ieee1275/linux.c;
1672
 
  sparc64_ieee1275 = loader/sparc64/ieee1275/linux.c;
1673
 
  ia64_efi = loader/ia64/efi/linux.c;
1674
 
  arm = loader/arm/linux.c;
1675
 
  arm64 = loader/arm64/linux.c;
1676
 
  fdt = lib/fdt.c;
1677
 
  common = loader/linux.c;
1678
 
  common = lib/cmdline.c;
1679
 
  enable = noemu;
1680
 
};
1681
 
 
1682
 
module = {
1683
 
  name = xnu;
1684
 
  x86 = loader/xnu_resume.c;
1685
 
  x86 = loader/i386/xnu.c;
1686
 
  x86 = loader/xnu.c;
1687
 
 
1688
 
  enable = x86;
1689
 
};
1690
 
 
1691
 
module = {
1692
 
  name = macho;
1693
 
 
1694
 
  common = loader/macho.c;
1695
 
  common = loader/macho32.c;
1696
 
  common = loader/macho64.c;
1697
 
  common = loader/lzss.c;
1698
 
  extra_dist = loader/machoXX.c;
1699
 
};
1700
 
 
1701
 
module = {
1702
 
  name = appleldr;
1703
 
  common = loader/efi/appleloader.c;
1704
 
  enable = i386_efi;
1705
 
  enable = x86_64_efi;
1706
 
};
1707
 
 
1708
 
module = {
1709
 
  name = linuxefi;
1710
 
  efi = loader/i386/efi/linux.c;
1711
 
  efi = lib/cmdline.c;
1712
 
  enable = i386_efi;
1713
 
  enable = x86_64_efi;
1714
 
};
1715
 
 
1716
 
module = {
1717
 
  name = chain;
1718
 
  efi = loader/efi/chainloader.c;
1719
 
  i386_pc = loader/i386/pc/chainloader.c;
1720
 
  i386_coreboot = loader/i386/coreboot/chainloader.c;
1721
 
  i386_coreboot = lib/LzmaDec.c;
1722
 
  enable = i386_pc;
1723
 
  enable = i386_coreboot;
1724
 
  enable = efi;
1725
 
};
1726
 
 
1727
 
module = {
1728
 
  name = mmap;
1729
 
  common = mmap/mmap.c;
1730
 
  x86 = mmap/i386/uppermem.c;
1731
 
  x86 = mmap/i386/mmap.c;
1732
 
 
1733
 
  i386_pc = mmap/i386/pc/mmap.c;
1734
 
  i386_pc = mmap/i386/pc/mmap_helper.S;
1735
 
 
1736
 
  efi = mmap/efi/mmap.c;
1737
 
 
1738
 
  mips = mmap/mips/uppermem.c;
1739
 
 
1740
 
  enable = x86;
1741
 
  enable = ia64_efi;
1742
 
  enable = arm_efi;
1743
 
  enable = arm64_efi;
1744
 
  enable = mips;
1745
 
};
1746
 
 
1747
 
module = {
1748
 
  name = normal;
1749
 
  common = normal/main.c;
1750
 
  common = normal/cmdline.c;
1751
 
  common = normal/dyncmd.c;
1752
 
  common = normal/auth.c;
1753
 
  common = normal/autofs.c;
1754
 
  common = normal/color.c;
1755
 
  common = normal/completion.c;
1756
 
  common = normal/datetime.c;
1757
 
  common = normal/menu.c;
1758
 
  common = normal/menu_entry.c;
1759
 
  common = normal/menu_text.c;
1760
 
  common = normal/misc.c;
1761
 
  common = normal/crypto.c;
1762
 
  common = normal/term.c;
1763
 
  common = normal/context.c;
1764
 
  common = normal/charset.c;
1765
 
  common = lib/getline.c;
1766
 
 
1767
 
  common = script/main.c;
1768
 
  common = script/script.c;
1769
 
  common = script/execute.c;
1770
 
  common = script/function.c;
1771
 
  common = script/lexer.c;
1772
 
  common = script/argv.c;
1773
 
 
1774
 
  common = commands/menuentry.c;
1775
 
 
1776
 
  common = unidata.c;
1777
 
  common_nodist = grub_script.tab.c;
1778
 
  common_nodist = grub_script.yy.c;
1779
 
  common_nodist = grub_script.tab.h;
1780
 
  common_nodist = grub_script.yy.h;
1781
 
 
1782
 
  extra_dist = script/yylex.l;
1783
 
  extra_dist = script/parser.y;
1784
 
 
1785
 
  cflags = '$(CFLAGS_POSIX) -Wno-redundant-decls';
1786
 
  cppflags = '$(CPPFLAGS_POSIX)';
1787
 
};
1788
 
 
1789
 
module = {
1790
 
  name = part_acorn;
1791
 
  common = partmap/acorn.c;
1792
 
};
1793
 
 
1794
 
module = {
1795
 
  name = part_amiga;
1796
 
  common = partmap/amiga.c;
1797
 
};
1798
 
 
1799
 
module = {
1800
 
  name = part_apple;
1801
 
  common = partmap/apple.c;
1802
 
};
1803
 
 
1804
 
module = {
1805
 
  name = part_gpt;
1806
 
  common = partmap/gpt.c;
1807
 
};
1808
 
 
1809
 
module = {
1810
 
  name = part_msdos;
1811
 
  common = partmap/msdos.c;
1812
 
};
1813
 
 
1814
 
module = {
1815
 
  name = part_sun;
1816
 
  common = partmap/sun.c;
1817
 
};
1818
 
 
1819
 
module = {
1820
 
  name = part_plan;
1821
 
  common = partmap/plan.c;
1822
 
};
1823
 
 
1824
 
module = {
1825
 
  name = part_dvh;
1826
 
  common = partmap/dvh.c;
1827
 
};
1828
 
 
1829
 
module = {
1830
 
  name = part_bsd;
1831
 
  common = partmap/bsdlabel.c;
1832
 
};
1833
 
 
1834
 
module = {
1835
 
  name = part_sunpc;
1836
 
  common = partmap/sunpc.c;
1837
 
};
1838
 
 
1839
 
module = {
1840
 
  name = part_dfly;
1841
 
  common = partmap/dfly.c;
1842
 
};
1843
 
 
1844
 
module = {
1845
 
  name = msdospart;
1846
 
  common = parttool/msdospart.c;
1847
 
};
1848
 
 
1849
 
module = {
1850
 
  name = at_keyboard;
1851
 
  common = term/at_keyboard.c;
1852
 
  enable = x86;
1853
 
};
1854
 
 
1855
 
module = {
1856
 
  name = gfxterm;
1857
 
  common = term/gfxterm.c;
1858
 
  enable = videomodules;
1859
 
};
1860
 
 
1861
 
module = {
1862
 
  name = gfxterm_background;
1863
 
  common = term/gfxterm_background.c;
1864
 
};
1865
 
 
1866
 
module = {
1867
 
  name = serial;
1868
 
  common = term/serial.c;
1869
 
  x86 = term/ns8250.c;
1870
 
  ieee1275 = term/ieee1275/serial.c;
1871
 
  mips_arc = term/arc/serial.c;
1872
 
  efi = term/efi/serial.c;
1873
 
 
1874
 
  enable = terminfomodule;
1875
 
  enable = ieee1275;
1876
 
  enable = mips_arc;
1877
 
};
1878
 
 
1879
 
module = {
1880
 
  name = sendkey;
1881
 
  i386_pc = commands/i386/pc/sendkey.c;
1882
 
  enable = i386_pc;
1883
 
};
1884
 
 
1885
 
module = {
1886
 
  name = terminfo;
1887
 
  common = term/terminfo.c;
1888
 
  common = term/tparm.c;
1889
 
  enable = terminfomodule;
1890
 
};
1891
 
 
1892
 
module = {
1893
 
  name = usb_keyboard;
1894
 
  common = term/usb_keyboard.c;
1895
 
  enable = usb;
1896
 
};
1897
 
 
1898
 
module = {
1899
 
  name = vga;
1900
 
  common = video/i386/pc/vga.c;
1901
 
  enable = i386_pc;
1902
 
};
1903
 
 
1904
 
module = {
1905
 
  name = vga_text;
1906
 
  common = term/i386/pc/vga_text.c;
1907
 
  enable = i386_pc;
1908
 
};
1909
 
 
1910
 
module = {
1911
 
  name = mda_text;
1912
 
  common = term/i386/pc/mda_text.c;
1913
 
  enable = i386_pc;
1914
 
  enable = i386_coreboot_multiboot_qemu;
1915
 
};
1916
 
 
1917
 
module = {
1918
 
  name = video_cirrus;
1919
 
  x86 = video/cirrus.c;
1920
 
  enable = x86;
1921
 
};
1922
 
 
1923
 
module = {
1924
 
  name = video_bochs;
1925
 
  x86 = video/bochs.c;
1926
 
  enable = x86;
1927
 
};
1928
 
 
1929
 
module = {
1930
 
  name = functional_test;
1931
 
  common = tests/lib/functional_test.c;
1932
 
  common = tests/lib/test.c;
1933
 
  common = tests/checksums.h;
1934
 
  common = tests/video_checksum.c;
1935
 
  common = tests/fake_input.c;
1936
 
  common = video/capture.c;
1937
 
};
1938
 
 
1939
 
module = {
1940
 
  name = exfctest;
1941
 
  common = tests/example_functional_test.c;
1942
 
};
1943
 
 
1944
 
module = {
1945
 
  name = setjmp_test;
1946
 
  common = tests/setjmp_test.c;
1947
 
};
1948
 
 
1949
 
module = {
1950
 
  name = signature_test;
1951
 
  common = tests/signature_test.c;
1952
 
  common = tests/signatures.h;
1953
 
};
1954
 
 
1955
 
module = {
1956
 
  name = sleep_test;
1957
 
  common = tests/sleep_test.c;
1958
 
};
1959
 
 
1960
 
module = {
1961
 
  name = xnu_uuid_test;
1962
 
  common = tests/xnu_uuid_test.c;
1963
 
};
1964
 
 
1965
 
module = {
1966
 
  name = pbkdf2_test;
1967
 
  common = tests/pbkdf2_test.c;
1968
 
};
1969
 
 
1970
 
module = {
1971
 
  name = legacy_password_test;
1972
 
  common = tests/legacy_password_test.c;
1973
 
  enable = i386_pc;
1974
 
  enable = i386_efi;
1975
 
  enable = x86_64_efi;
1976
 
  enable = emu;
1977
 
  enable = xen;
1978
 
};
1979
 
 
1980
 
module = {
1981
 
  name = div_test;
1982
 
  common = tests/div_test.c;
1983
 
};
1984
 
 
1985
 
module = {
1986
 
  name = videotest_checksum;
1987
 
  common = tests/videotest_checksum.c;
1988
 
};
1989
 
 
1990
 
module = {
1991
 
  name = gfxterm_menu;
1992
 
  common = tests/gfxterm_menu.c;
1993
 
};
1994
 
 
1995
 
module = {
1996
 
  name = cmdline_cat_test;
1997
 
  common = tests/cmdline_cat_test.c;
1998
 
};
1999
 
 
2000
 
module = {
2001
 
  name = bitmap;
2002
 
  common = video/bitmap.c;
2003
 
};
2004
 
 
2005
 
module = {
2006
 
  name = bitmap_scale;
2007
 
  common = video/bitmap_scale.c;
2008
 
};
2009
 
 
2010
 
module = {
2011
 
  name = efi_gop;
2012
 
  efi = video/efi_gop.c;
2013
 
  enable = efi;
2014
 
};
2015
 
 
2016
 
module = {
2017
 
  name = efi_uga;
2018
 
  efi = video/efi_uga.c;
2019
 
  enable = i386_efi;
2020
 
  enable = x86_64_efi;
2021
 
};
2022
 
 
2023
 
module = {
2024
 
  name = jpeg;
2025
 
  common = video/readers/jpeg.c;
2026
 
};
2027
 
 
2028
 
module = {
2029
 
  name = png;
2030
 
  common = video/readers/png.c;
2031
 
};
2032
 
 
2033
 
module = {
2034
 
  name = tga;
2035
 
  common = video/readers/tga.c;
2036
 
};
2037
 
 
2038
 
module = {
2039
 
  name = vbe;
2040
 
  common = video/i386/pc/vbe.c;
2041
 
  enable = i386_pc;
2042
 
};
2043
 
 
2044
 
module = {
2045
 
  name = video_fb;
2046
 
  common = video/fb/video_fb.c;
2047
 
  common = video/fb/fbblit.c;
2048
 
  common = video/fb/fbfill.c;
2049
 
  common = video/fb/fbutil.c;
2050
 
  enable = videomodules;
2051
 
};
2052
 
 
2053
 
module = {
2054
 
  name = video;
2055
 
  common = video/video.c;
2056
 
  enable = videomodules;
2057
 
};
2058
 
 
2059
 
module = {
2060
 
  name = video_colors;
2061
 
  common = video/colors.c;
2062
 
};
2063
 
 
2064
 
module = {
2065
 
  name = ieee1275_fb;
2066
 
  ieee1275 = video/ieee1275.c;
2067
 
  enable = powerpc_ieee1275;
2068
 
};
2069
 
 
2070
 
module = {
2071
 
  name = sdl;
2072
 
  emu = video/emu/sdl.c;
2073
 
  enable = emu;
2074
 
  condition = COND_GRUB_EMU_SDL;
2075
 
};
2076
 
 
2077
 
module = {
2078
 
  name = datehook;
2079
 
  common = hook/datehook.c;
2080
 
};
2081
 
 
2082
 
module = {
2083
 
  name = net;
2084
 
  common = net/net.c;
2085
 
  common = net/dns.c;
2086
 
  common = net/bootp.c;
2087
 
  common = net/ip.c;
2088
 
  common = net/udp.c;
2089
 
  common = net/tcp.c;
2090
 
  common = net/icmp.c;
2091
 
  common = net/icmp6.c;
2092
 
  common = net/ethernet.c;
2093
 
  common = net/arp.c;
2094
 
  common = net/netbuff.c;
2095
 
};
2096
 
 
2097
 
module = {
2098
 
  name = tftp;
2099
 
  common = net/tftp.c;
2100
 
};
2101
 
 
2102
 
module = {
2103
 
  name = http;
2104
 
  common = net/http.c;
2105
 
};
2106
 
 
2107
 
module = {
2108
 
  name = ofnet;
2109
 
  common = net/drivers/ieee1275/ofnet.c;
2110
 
  enable = ieee1275;
2111
 
};
2112
 
 
2113
 
module = {
2114
 
  name = ubootnet;
2115
 
  common = net/drivers/uboot/ubootnet.c;
2116
 
  enable = uboot;
2117
 
};
2118
 
 
2119
 
module = {
2120
 
  name = efinet;
2121
 
  common = net/drivers/efi/efinet.c;
2122
 
  enable = efi;
2123
 
};
2124
 
 
2125
 
module = {
2126
 
  name = emunet;
2127
 
  emu = net/drivers/emu/emunet.c;
2128
 
  enable = emu;
2129
 
};
2130
 
 
2131
 
module = {
2132
 
  name = legacycfg;
2133
 
  common = commands/legacycfg.c;
2134
 
  common = lib/legacy_parse.c;
2135
 
  emu = lib/i386/pc/vesa_modes_table.c;
2136
 
  i386_efi = lib/i386/pc/vesa_modes_table.c;
2137
 
  x86_64_efi = lib/i386/pc/vesa_modes_table.c;
2138
 
  xen = lib/i386/pc/vesa_modes_table.c;
2139
 
 
2140
 
  enable = i386_pc;
2141
 
  enable = i386_efi;
2142
 
  enable = x86_64_efi;
2143
 
  enable = emu;
2144
 
  enable = xen;
2145
 
};
2146
 
 
2147
 
module = {
2148
 
  name = syslinuxcfg;
2149
 
  common = lib/syslinux_parse.c;
2150
 
  common = commands/syslinuxcfg.c;
2151
 
};
2152
 
 
2153
 
module = {
2154
 
  name = test_blockarg;
2155
 
  common = tests/test_blockarg.c;
2156
 
};
2157
 
 
2158
 
module = {
2159
 
  name = xzio;
2160
 
  common = io/xzio.c;
2161
 
  common = lib/xzembed/xz_dec_bcj.c;
2162
 
  common = lib/xzembed/xz_dec_lzma2.c;
2163
 
  common = lib/xzembed/xz_dec_stream.c;
2164
 
  cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed';
2165
 
  cflags='-Wno-unreachable-code';
2166
 
};
2167
 
 
2168
 
module = {
2169
 
  name = lzopio;
2170
 
  common = io/lzopio.c;
2171
 
  common = lib/minilzo/minilzo.c;
2172
 
  cflags = '$(CFLAGS_POSIX) -Wno-undef -Wno-redundant-decls -Wno-error';
2173
 
  cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/minilzo -DMINILZO_HAVE_CONFIG_H';
2174
 
};
2175
 
 
2176
 
module = {
2177
 
  name = testload;
2178
 
  common = commands/testload.c;
2179
 
};
2180
 
 
2181
 
module = {
2182
 
  name = backtrace;
2183
 
  x86 = lib/i386/backtrace.c;
2184
 
  i386_xen = lib/i386/backtrace.c;
2185
 
  x86_64_xen = lib/i386/backtrace.c;
2186
 
  common = lib/backtrace.c;
2187
 
  enable = x86;
2188
 
  enable = i386_xen;
2189
 
  enable = x86_64_xen;
2190
 
};
2191
 
 
2192
 
module = {
2193
 
  name = lsapm;
2194
 
  common = commands/i386/pc/lsapm.c;
2195
 
  enable = i386_pc;
2196
 
};
2197
 
 
2198
 
module = {
2199
 
  name = keylayouts;
2200
 
  common = commands/keylayouts.c;
2201
 
  enable = x86;
2202
 
};
2203
 
 
2204
 
module = {
2205
 
  name = priority_queue;
2206
 
  common = lib/priority_queue.c;
2207
 
};
2208
 
 
2209
 
module = {
2210
 
  name = time;
2211
 
  common = commands/time.c;
2212
 
};
2213
 
 
2214
 
module = {
2215
 
  name = cacheinfo;
2216
 
  common = commands/cacheinfo.c;
2217
 
  condition = COND_ENABLE_CACHE_STATS;
2218
 
};
2219
 
 
2220
 
module = {
2221
 
  name = boottime;
2222
 
  common = commands/boottime.c;
2223
 
  condition = COND_ENABLE_BOOT_TIME_STATS;
2224
 
};
2225
 
 
2226
 
module = {
2227
 
  name = adler32;
2228
 
  common = lib/adler32.c;
2229
 
};
2230
 
 
2231
 
module = {
2232
 
  name = crc64;
2233
 
  common = lib/crc64.c;
2234
 
};
2235
 
 
2236
 
module = {
2237
 
  name = mpi;
2238
 
  common = lib/libgcrypt-grub/mpi/mpiutil.c;
2239
 
  common = lib/libgcrypt-grub/mpi/mpi-bit.c;
2240
 
  common = lib/libgcrypt-grub/mpi/mpi-add.c;
2241
 
  common = lib/libgcrypt-grub/mpi/mpi-mul.c;
2242
 
  common = lib/libgcrypt-grub/mpi/mpi-mod.c;
2243
 
  common = lib/libgcrypt-grub/mpi/mpi-gcd.c;
2244
 
  common = lib/libgcrypt-grub/mpi/mpi-div.c;
2245
 
  common = lib/libgcrypt-grub/mpi/mpi-cmp.c;
2246
 
  common = lib/libgcrypt-grub/mpi/mpi-inv.c;
2247
 
  common = lib/libgcrypt-grub/mpi/mpi-pow.c;
2248
 
  common = lib/libgcrypt-grub/mpi/mpi-mpow.c;
2249
 
  common = lib/libgcrypt-grub/mpi/mpih-lshift.c;
2250
 
  common = lib/libgcrypt-grub/mpi/mpih-mul.c;
2251
 
  common = lib/libgcrypt-grub/mpi/mpih-mul1.c;
2252
 
  common = lib/libgcrypt-grub/mpi/mpih-mul2.c;
2253
 
  common = lib/libgcrypt-grub/mpi/mpih-mul3.c;
2254
 
  common = lib/libgcrypt-grub/mpi/mpih-add1.c;
2255
 
  common = lib/libgcrypt-grub/mpi/mpih-sub1.c;
2256
 
  common = lib/libgcrypt-grub/mpi/mpih-div.c;
2257
 
  common = lib/libgcrypt-grub/mpi/mpicoder.c;
2258
 
  common = lib/libgcrypt-grub/mpi/mpih-rshift.c;
2259
 
  common = lib/libgcrypt-grub/mpi/mpi-inline.c;
2260
 
  common = lib/libgcrypt_wrap/mem.c;
2261
 
 
2262
 
  cflags = '$(CFLAGS_GCRY) -Wno-redundant-decls -Wno-sign-compare';
2263
 
  cppflags = '$(CPPFLAGS_GCRY)';
2264
 
};
2265
 
 
2266
 
module = {
2267
 
  name = all_video;
2268
 
  common = lib/fake_module.c;
2269
 
};
2270
 
 
2271
 
module = {
2272
 
  name = gdb;
2273
 
  common = gdb/cstub.c;
2274
 
  common = gdb/gdb.c;
2275
 
  i386 = gdb/i386/idt.c;
2276
 
  i386 = gdb/i386/machdep.S;
2277
 
  i386 = gdb/i386/signal.c;
2278
 
  enable = i386;
2279
 
};
2280
 
 
2281
 
module = {
2282
 
  name = testspeed;
2283
 
  common = commands/testspeed.c;
2284
 
};
2285
 
 
2286
 
module = {
2287
 
  name = tr;
2288
 
  common = commands/tr.c;
2289
 
};
2290
 
 
2291
 
module = {
2292
 
  name = progress;
2293
 
  common = lib/progress.c;
2294
 
};
2295
 
 
2296
 
module = {
2297
 
  name = file;
2298
 
  common = commands/file.c;
2299
 
  common = commands/file32.c;
2300
 
  common = commands/file64.c;
2301
 
  extra_dist = commands/fileXX.c;
2302
 
  common = loader/i386/xen_file.c;
2303
 
  common = loader/i386/xen_file32.c;
2304
 
  common = loader/i386/xen_file64.c;
2305
 
  extra_dist = loader/i386/xen_fileXX.c;
2306
 
};