~ubuntu-branches/ubuntu/trusty/grub2/trusty

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2014-01-16 15:18:04 UTC
  • mfrom: (17.6.38 experimental)
  • Revision ID: package-import@ubuntu.com-20140116151804-3foouk7fpqcq3sxx
Tags: 2.02~beta2-2
* Convert patch handling to git-dpm.
* Add bi-endian support to ELF parser (Tomohiro B Berry).
* Adjust restore_mkdevicemap.patch to mark get_kfreebsd_version as static,
  to appease "gcc -Werror=missing-prototypes".
* Cherry-pick from upstream:
  - Change grub-macbless' manual page section to 8.
* Install grub-glue-efi, grub-macbless, grub-render-label, and
  grub-syslinux2cfg.
* grub-shell: Pass -no-pad to xorriso when building floppy images.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
  common = gdb_grub.in;
31
31
};
32
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
 
33
47
kernel = {
34
48
  name = kernel;
35
49
 
45
59
  ia64_efi_ldflags = '-Wl,-r,-d';
46
60
  ia64_efi_stripflags = '--strip-unneeded -K start -R .note -R .comment -R .note.gnu.gold-version';
47
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
 
48
71
  i386_pc_ldflags          = '$(TARGET_IMG_LDFLAGS)';
49
72
  i386_pc_ldflags          = '$(TARGET_IMG_BASE_LDOPT),0x9000';
50
 
 
51
73
  i386_qemu_ldflags        = '$(TARGET_IMG_LDFLAGS)';
52
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';
53
85
 
54
86
  ldadd = '$(LDADD_KERNEL)';
55
87
 
56
 
  i386_coreboot_ldflags    = '-Wl,-Ttext=0x8200';
57
 
  i386_multiboot_ldflags   = '-Wl,-Ttext=0x8200';
58
 
  i386_ieee1275_ldflags    = '-Wl,-Ttext=0x10000';
59
88
  mips_loongson_ldflags    = '-Wl,-Ttext,0x80200000';
60
89
  powerpc_ieee1275_ldflags = '-Wl,-Ttext,0x200000';
61
90
  sparc64_ieee1275_ldflags = '-Wl,-Ttext,0x4400';
62
 
  mips_arc_ldflags    = '-Wl,-Ttext,0x8bd00000';
 
91
  mips_arc_ldflags    = '-Wl,-Ttext,$(TARGET_LINK_ADDR)';
63
92
  mips_qemu_mips_ldflags    = '-Wl,-Ttext,0x80200000';
64
93
 
65
 
  mips_loongson_cppflags = '-DUSE_ASCII_FAILBACK';
 
94
  mips_arc_cppflags = '-DGRUB_DECOMPRESSOR_LINK_ADDR=$(TARGET_DECOMPRESSOR_LINK_ADDR)';
66
95
  i386_qemu_cppflags     = '-DGRUB_BOOT_MACHINE_LINK_ADDR=$(GRUB_BOOT_MACHINE_LINK_ADDR)';
67
96
  emu_cflags = '$(CFLAGS_GNULIB)';
68
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';
69
100
 
70
101
  i386_pc_startup = kern/i386/pc/startup.S;
71
102
  i386_efi_startup = kern/i386/efi/startup.S;
72
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;
73
106
  i386_qemu_startup = kern/i386/qemu/startup.S;
74
107
  i386_ieee1275_startup = kern/i386/ieee1275/startup.S;
75
108
  i386_coreboot_startup = kern/i386/coreboot/startup.S;
77
110
  mips_startup = kern/mips/startup.S;
78
111
  sparc64_ieee1275_startup = kern/sparc64/ieee1275/crt0.S;
79
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;
80
116
 
81
117
  common = kern/command.c;
82
118
  common = kern/corecmd.c;
102
138
 
103
139
  noemu_nodist = symlist.c;
104
140
 
105
 
  i386_pc = kern/generic/rtc_get_time_ms.c;
106
141
  mips = kern/generic/rtc_get_time_ms.c;
107
142
 
108
143
  ieee1275 = disk/ieee1275/ofdisk.c;
113
148
  ieee1275 = term/ieee1275/console.c;
114
149
  ieee1275 = kern/ieee1275/init.c;
115
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
 
116
157
  terminfoinkernel = term/terminfo.c;
117
158
  terminfoinkernel = term/tparm.c;
118
159
  terminfoinkernel = commands/extcmd.c;
119
160
  terminfoinkernel = lib/arg.c;
120
161
 
121
162
  i386 = kern/i386/dl.c;
 
163
  i386_xen = kern/i386/dl.c;
122
164
 
123
 
  i386_coreboot_multiboot_qemu = kern/i386/coreboot/init.c;
 
165
  i386_coreboot = kern/i386/coreboot/init.c;
 
166
  i386_multiboot = kern/i386/coreboot/init.c;
 
167
  i386_qemu = kern/i386/qemu/init.c;
124
168
  i386_coreboot_multiboot_qemu = term/i386/pc/vga_text.c;
125
 
 
126
 
  i386_coreboot_multiboot_qemu = term/i386/vga_common.c;
127
 
  i386_pc = term/i386/vga_common.c;
128
 
 
129
 
  x86 = kern/i386/pit.c;
 
169
  i386_coreboot = video/i386/coreboot/cbfb.c;
130
170
 
131
171
  efi = disk/efi/efidisk.c;
132
172
  efi = kern/efi/efi.c;
134
174
  efi = kern/efi/mm.c;
135
175
  efi = term/efi/console.c;
136
176
 
137
 
  i386_efi = kern/i386/tsc.c;
 
177
  x86 = kern/i386/tsc.c;
 
178
 
138
179
  i386_efi = kern/i386/efi/init.c;
139
180
  i386_efi = bus/pci.c;
140
181
 
141
 
  x86_64_efi = kern/i386/tsc.c;
142
 
  x86_64_efi = kern/x86_64/dl.c;
 
182
  x86_64 = kern/x86_64/dl.c;
 
183
  x86_64_xen = kern/x86_64/dl.c;
143
184
  x86_64_efi = kern/x86_64/efi/callwrap.S;
144
185
  x86_64_efi = kern/i386/efi/init.c;
145
186
  x86_64_efi = bus/pci.c;
146
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
 
147
196
  ia64_efi = kern/ia64/efi/startup.S;
148
197
  ia64_efi = kern/ia64/efi/init.c;
149
198
  ia64_efi = kern/ia64/dl.c;
150
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;
151
206
 
152
207
  i386_pc = kern/i386/pc/init.c;
153
208
  i386_pc = kern/i386/pc/mmap.c;
154
 
  i386_pc = kern/i386/tsc.c;
155
209
  i386_pc = term/i386/pc/console.c;
156
210
 
157
211
  i386_qemu = bus/pci.c;
158
212
  i386_qemu = kern/vga_init.c;
159
213
  i386_qemu = kern/i386/qemu/mmap.c;
160
 
  i386_qemu = kern/i386/tsc.c;
161
214
 
162
215
  i386_coreboot = kern/i386/coreboot/mmap.c;
163
 
  i386_coreboot = kern/i386/tsc.c;
 
216
  i386_coreboot = kern/i386/coreboot/cbtable.c;
164
217
 
165
218
  i386_multiboot = kern/i386/multiboot_mmap.c;
166
 
  i386_multiboot = kern/i386/tsc.c;
167
219
 
168
220
  mips = kern/mips/cache.S;
169
221
  mips = kern/mips/dl.c;
173
225
  mips_qemu_mips = term/ns8250.c;
174
226
  mips_qemu_mips = term/serial.c;
175
227
  mips_qemu_mips = term/at_keyboard.c;
 
228
  mips_qemu_mips = commands/boot.c;
176
229
  mips_qemu_mips = commands/keylayouts.c;
177
230
  mips_qemu_mips = term/i386/pc/vga_text.c;
178
 
  mips_qemu_mips = term/i386/vga_common.c;
179
231
  mips_qemu_mips = kern/vga_init.c;
180
232
 
181
233
  mips_arc = kern/mips/arc/init.c;
188
240
  mips_loongson = bus/pci.c;
189
241
  mips_loongson = kern/mips/loongson/init.c;
190
242
  mips_loongson = term/at_keyboard.c;
 
243
  mips_loongson = commands/boot.c;
191
244
  mips_loongson = term/serial.c;
192
245
  mips_loongson = video/sm712.c;
193
246
  mips_loongson = video/sis315pro.c;
194
247
  mips_loongson = video/radeon_fuloong2e.c;
 
248
  mips_loongson = video/radeon_yeeloong3a.c;
195
249
  extra_dist = video/sm712_init.c;
196
250
  extra_dist = video/sis315_init.c;
197
251
  mips_loongson = commands/keylayouts.c;
203
257
  sparc64_ieee1275 = kern/sparc64/dl.c;
204
258
  sparc64_ieee1275 = kern/sparc64/ieee1275/ieee1275.c;
205
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
 
206
273
  emu = disk/host.c;
207
 
  emu = gnulib/progname.c;
208
 
  emu = gnulib/error.c;
209
274
  emu = kern/emu/cache_s.S;
210
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;
211
281
  emu = kern/emu/hostfs.c;
212
282
  emu = kern/emu/main.c;
213
283
  emu = kern/emu/argp_common.c;
215
285
  emu = kern/emu/mm.c;
216
286
  emu = kern/emu/time.c;
217
287
  emu = kern/emu/cache.c;
218
 
  emu = term/emu/console.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;
219
302
 
220
303
  videoinkernel = term/gfxterm.c;
221
304
  videoinkernel = font/font.c;
222
305
  videoinkernel = font/font_cmd.c;
223
306
  videoinkernel = io/bufio.c;
224
 
  videoinkernel = video/bitmap.c;
225
 
  videoinkernel = video/bitmap_scale.c;
226
 
  videoinkernel = video/colors.c;
227
307
  videoinkernel = video/fb/fbblit.c;
228
308
  videoinkernel = video/fb/fbfill.c;
229
309
  videoinkernel = video/fb/fbutil.c;
230
310
  videoinkernel = video/fb/video_fb.c;
231
311
  videoinkernel = video/video.c;
232
312
 
233
 
  videoinkernel = commands/boot.c;
234
 
 
235
313
  extra_dist = kern/i386/int.S;
236
314
  extra_dist = kern/i386/realmode.S;
237
315
  extra_dist = boot/i386/pc/lzma_decode.S;
245
323
  emu = kern/emu/full.c;
246
324
  emu_nodist = grub_emu_init.c;
247
325
 
248
 
  ldadd = 'kernel.img$(EXEEXT)';
 
326
  ldadd = 'kernel.exec$(EXEEXT)';
249
327
  ldadd = '$(MODULE_FILES)';
250
 
  ldadd = '$(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 
328
  ldadd = 'gnulib/libgnu.a $(LIBINTL) $(LIBUTIL) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
251
329
 
252
330
  enable = emu;
253
331
};
258
336
  emu = kern/emu/lite.c;
259
337
  emu_nodist = symlist.c;
260
338
 
261
 
  ldadd = 'kernel.img$(EXEEXT)';
262
 
  ldadd = '$(LIBUTIL) $(LIBCURSES) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
 
339
  ldadd = 'kernel.exec$(EXEEXT)';
 
340
  ldadd = 'gnulib/libgnu.a $(LIBINTL) $(LIBUTIL) $(LIBSDL) $(LIBUSB) $(LIBPCIACCESS) $(LIBDEVMAPPER) $(LIBZFS) $(LIBNVPAIR) $(LIBGEOM)';
263
341
 
264
342
  enable = emu;
265
343
};
287
365
};
288
366
 
289
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 = {
290
381
  name = cdboot;
 
382
 
291
383
  i386_pc = boot/i386/pc/cdboot.S;
292
384
  i386_pc_ldflags = '$(TARGET_IMG_LDFLAGS)';
293
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
 
294
392
  objcopyflags = '-O binary';
 
393
 
 
394
  enable = sparc64_ieee1275;
295
395
  enable = i386_pc;
296
396
};
297
397
 
345
445
  cppflags = '-I$(srcdir)/lib/posix_wrap -I$(srcdir)/lib/xzembed -DGRUB_EMBED_DECOMPRESSOR=1';
346
446
 
347
447
  objcopyflags = '-O binary';
348
 
  mips_loongson_ldflags = '-static-libgcc -Wl,-Ttext,0x80100000';
349
 
  mips_qemu_mips_ldflags = '-static-libgcc -Wl,-Ttext,0x80100000';
350
 
  mips_arc_ldflags = '-static-libgcc -Wl,-Ttext,0x8bc00000';
351
 
  ldadd = '-lgcc';
352
 
  cflags = '-Wno-unreachable-code -static-libgcc';
 
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)';
353
451
  enable = mips;
354
452
};
355
453
 
361
459
  cppflags = '-DGRUB_EMBED_DECOMPRESSOR=1';
362
460
 
363
461
  objcopyflags = '-O binary';
364
 
  mips_loongson_ldflags = '-static-libgcc -Wl,-Ttext,0x80100000';
365
 
  mips_qemu_mips_ldflags = '-static-libgcc -Wl,-Ttext,0x80100000';
366
 
  mips_arc_ldflags = '-static-libgcc -Wl,-Ttext,0x8bc00000';
367
 
  ldadd = '-lgcc';
368
 
  cflags = '-static-libgcc';
 
462
  mips_ldflags = '$(TARGET_LDFLAGS_STATIC_LIBGCC) -Wl,-Ttext,$(TARGET_DECOMPRESSOR_LINK_ADDR)';
 
463
  ldadd = '$(TARGET_LIBGCC)';
 
464
  cflags = '$(TARGET_LDFLAGS_STATIC_LIBGCC)';
369
465
  enable = mips;
370
466
};
371
467
 
372
468
image = {
373
469
  name = lzma_decompress;
374
470
  i386_pc = boot/i386/pc/startup_raw.S;
 
471
  i386_pc_nodist = rs_decoder.h;
375
472
 
376
473
  objcopyflags = '-O binary';
377
474
  ldflags = '$(TARGET_IMG_LDFLAGS) $(TARGET_IMG_BASE_LDOPT),0x8200';
382
479
  name = fwstart;
383
480
  mips_loongson = boot/mips/loongson/fwstart.S;
384
481
  objcopyflags = '-O binary';
385
 
  ldflags = '-static-libgcc -lgcc -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic';
 
482
  ldflags = '$(TARGET_LDFLAGS_STATIC_LIBGCC) $(TARGET_LIBGCC) -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic';
386
483
  enable = mips_loongson;
387
484
};
388
485
 
390
487
  name = fwstart_fuloong2f;
391
488
  mips_loongson = boot/mips/loongson/fuloong2f.S;
392
489
  objcopyflags = '-O binary';
393
 
  ldflags = '-static-libgcc -lgcc -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic';
 
490
  ldflags = '$(TARGET_LDFLAGS_STATIC_LIBGCC) $(TARGET_LIBGCC) -Wl,-N,-S,-Ttext,0xbfc00000,-Bstatic';
394
491
  enable = mips_loongson;
395
492
};
396
493
 
397
494
module = {
 
495
  name = disk;
 
496
  common = lib/disk.c;
 
497
  extra_dist = kern/disk_common.c;
 
498
};
 
499
 
 
500
module = {
398
501
  name = trig;
399
502
  common_nodist = trigtables.c;
400
503
  extra_dist = gentrigtables.c;
430
533
module = {
431
534
  name = emuusb;
432
535
  common = bus/usb/usb.c;
 
536
  enable = emu;
433
537
  condition = COND_GRUB_EMU_USB;
434
538
};
435
539
 
452
556
};
453
557
 
454
558
module = {
 
559
  name = usbserial_usbdebug;
 
560
  common = bus/usb/serial/usbdebug_late.c;
 
561
  enable = usb;
 
562
};
 
563
 
 
564
module = {
455
565
  name = uhci;
456
566
  common = bus/usb/uhci.c;
457
 
  enable = x86;
 
567
  enable = pci;
458
568
};
459
569
 
460
570
module = {
472
582
module = {
473
583
  name = pci;
474
584
  common = bus/pci.c;
 
585
  i386_ieee1275 = bus/i386/ieee1275/pci.c;
475
586
 
476
587
  enable = i386_pc;
477
588
  enable = i386_ieee1275;
480
591
};
481
592
 
482
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 = {
483
603
  name = emupci;
484
604
  common = bus/emu/pci.c;
485
605
  common = commands/lspci.c;
486
606
 
 
607
  enable = emu;
487
608
  condition = COND_GRUB_EMU_PCI;
488
609
};
489
610
 
494
615
  enable = mips_arc;
495
616
};
496
617
 
497
 
library = {
498
 
  name = libgnulib.a;
499
 
  common = gnulib/regex.c;
500
 
  cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)';
501
 
  cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)';
 
618
module = {
 
619
  name = lsxen;
 
620
  common = commands/xen/lsxen.c;
 
621
  cppflags = '$(CPPFLAGS_XEN)';
 
622
 
 
623
  enable = xen;
502
624
};
503
625
 
504
626
module = {
508
630
};
509
631
 
510
632
module = {
 
633
  name = cmosdump;
 
634
  common = commands/i386/cmosdump.c;
 
635
  enable = cmos;
 
636
};
 
637
 
 
638
module = {
511
639
  name = iorw;
512
640
  common = commands/iorw.c;
513
641
  enable = x86;
514
642
};
515
643
 
516
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 = {
517
674
  name = regexp;
518
675
  common = commands/regexp.c;
519
676
  common = commands/wildcard.c;
520
 
  ldadd = libgnulib.a;
 
677
  common = gnulib/regex.c;
521
678
  cflags = '$(CFLAGS_POSIX) $(CFLAGS_GNULIB)';
522
679
  cppflags = '$(CPPFLAGS_POSIX) $(CPPFLAGS_GNULIB)';
523
680
};
573
730
};
574
731
 
575
732
module = {
 
733
  name = lsefi;
 
734
  common = commands/efi/lsefi.c;
 
735
  enable = efi;
 
736
};
 
737
 
 
738
module = {
576
739
  name = efifwsetup;
577
740
  efi = commands/efi/efifwsetup.c;
578
741
  enable = efi;
587
750
  name = boot;
588
751
  common = commands/boot.c;
589
752
  i386_pc = lib/i386/pc/biosnum.c;
590
 
  enable = videomodules;
 
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;
591
762
};
592
763
 
593
764
module = {
607
778
 
608
779
module = {
609
780
  name = cpuid;
610
 
  x86 = commands/i386/cpuid.c;
 
781
  common = commands/i386/cpuid.c;
611
782
  enable = x86;
 
783
  enable = i386_xen;
 
784
  enable = x86_64_xen;
612
785
};
613
786
 
614
787
module = {
630
803
};
631
804
 
632
805
module = {
 
806
  name = eval;
 
807
  common = commands/eval.c;
 
808
};
 
809
 
 
810
module = {
633
811
  name = extcmd;
634
812
  common = commands/extcmd.c;
635
813
  common = lib/arg.c;
660
838
  i386_multiboot = lib/i386/halt.c;
661
839
  i386_coreboot = lib/i386/halt.c;
662
840
  i386_qemu = lib/i386/halt.c;
 
841
  xen = lib/xen/halt.c;
 
842
  xen_cppflags = '$(CPPFLAGS_XEN)';
663
843
  efi = lib/efi/halt.c;
664
844
  ieee1275 = lib/ieee1275/halt.c;
665
845
  emu = lib/emu/halt.c;
 
846
  uboot = lib/uboot/halt.c;
666
847
};
667
848
 
668
849
module = {
671
852
  i386 = lib/i386/reboot_trampoline.S;
672
853
  ia64_efi = lib/efi/reboot.c;
673
854
  x86_64_efi = lib/efi/reboot.c;
 
855
  arm_efi = lib/efi/reboot.c;
 
856
  arm64_efi = lib/efi/reboot.c;
674
857
  powerpc_ieee1275 = lib/ieee1275/reboot.c;
675
858
  sparc64_ieee1275 = lib/ieee1275/reboot.c;
676
859
  mips_arc = lib/mips/arc/reboot.c;
677
860
  mips_loongson = lib/mips/loongson/reboot.c;
678
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;
679
865
  common = commands/reboot.c;
680
866
};
681
867
 
685
871
};
686
872
 
687
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 = {
688
881
  name = hdparm;
689
882
  common = commands/hdparm.c;
690
883
  common = lib/hexdump.c;
770
963
};
771
964
 
772
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 = {
773
978
  name = probe;
774
979
  common = commands/probe.c;
775
980
};
807
1012
};
808
1013
 
809
1014
module = {
 
1015
  name = pcidump;
 
1016
  common = commands/pcidump.c;
 
1017
  enable = pci;
 
1018
};
 
1019
 
 
1020
module = {
810
1021
  name = sleep;
811
1022
  common = commands/sleep.c;
812
1023
};
1014
1225
};
1015
1226
 
1016
1227
module = {
 
1228
  name = procfs;
 
1229
  common = fs/proc.c;
 
1230
};
 
1231
 
 
1232
module = {
1017
1233
  name = affs;
1018
1234
  common = fs/affs.c;
1019
1235
};
1037
1253
};
1038
1254
 
1039
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 = {
1040
1266
  name = cpio;
1041
1267
  common = fs/cpio.c;
1042
1268
};
1087
1313
};
1088
1314
 
1089
1315
module = {
 
1316
  name = hfspluscomp;
 
1317
  common = fs/hfspluscomp.c;
 
1318
};
 
1319
 
 
1320
module = {
1090
1321
  name = iso9660;
1091
1322
  common = fs/iso9660.c;
1092
1323
};
1179
1410
};
1180
1411
 
1181
1412
module = {
 
1413
  name = ufs1_be;
 
1414
  common = fs/ufs_be.c;
 
1415
};
 
1416
 
 
1417
module = {
1182
1418
  name = ufs2;
1183
1419
  common = fs/ufs2.c;
1184
1420
};
1192
1428
  name = zfs;
1193
1429
  common = fs/zfs/zfs.c;
1194
1430
  common = fs/zfs/zfs_lzjb.c;
 
1431
  common = fs/zfs/zfs_lz4.c;
1195
1432
  common = fs/zfs/zfs_sha256.c;
1196
1433
  common = fs/zfs/zfs_fletcher.c;
1197
1434
};
1207
1444
};
1208
1445
 
1209
1446
module = {
 
1447
  name = macbless;
 
1448
  common = commands/macbless.c;
 
1449
};
 
1450
 
 
1451
module = {
1210
1452
  name = pxe;
1211
1453
  i386_pc = net/drivers/i386/pc/pxe.c;
1212
1454
  enable = i386_pc;
1248
1490
};
1249
1491
 
1250
1492
module = {
 
1493
  name = offsetio;
 
1494
  common = io/offset.c;
 
1495
};
 
1496
 
 
1497
module = {
1251
1498
  name = bufio;
1252
1499
  common = io/bufio.c;
1253
1500
  enable = videomodules;
1256
1503
module = {
1257
1504
  name = elf;
1258
1505
  common = kern/elf.c;
 
1506
 
 
1507
  extra_dist = kern/elfXX.c;
1259
1508
};
1260
1509
 
1261
1510
module = {
1278
1527
  x86 = lib/i386/relocator64.S;
1279
1528
  i386 = lib/i386/relocator_asm.S;
1280
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;
1281
1532
  x86 = lib/i386/relocator.c;
 
1533
  x86 = lib/i386/relocator_common_c.c;
1282
1534
  ieee1275 = lib/ieee1275/relocator.c;
1283
1535
  efi = lib/efi/relocator.c;
1284
1536
  mips = lib/mips/relocator_asm.S;
1285
1537
  mips = lib/mips/relocator.c;
1286
1538
  powerpc = lib/powerpc/relocator_asm.S;
1287
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)';
1288
1545
 
1289
1546
  extra_dist = lib/i386/relocator_common.S;
1290
1547
  extra_dist = kern/powerpc/cache_flush.S;
1292
1549
  enable = mips;
1293
1550
  enable = powerpc;
1294
1551
  enable = x86;
 
1552
  enable = xen;
1295
1553
};
1296
1554
 
1297
1555
module = {
1298
1556
  name = datetime;
1299
1557
  cmos = lib/cmos_datetime.c;
1300
1558
  efi = lib/efi/datetime.c;
 
1559
  uboot = lib/uboot/datetime.c;
1301
1560
  sparc64_ieee1275 = lib/ieee1275/datetime.c;
1302
1561
  powerpc_ieee1275 = lib/ieee1275/datetime.c;
1303
1562
  sparc64_ieee1275 = lib/ieee1275/cmos.c;
1304
1563
  powerpc_ieee1275 = lib/ieee1275/cmos.c;
 
1564
  xen = lib/xen/datetime.c;
 
1565
  xen_cppflags = '$(CPPFLAGS_XEN)';
1305
1566
 
1306
1567
  mips_arc = lib/arc/datetime.c;
1307
1568
  enable = noemu;
1317
1578
  extra_dist = lib/powerpc/setjmp.S;
1318
1579
  extra_dist = lib/ia64/setjmp.S;
1319
1580
  extra_dist = lib/ia64/longjmp.S;
 
1581
  extra_dist = lib/arm/setjmp.S;
 
1582
  extra_dist = lib/arm64/setjmp.S;
1320
1583
};
1321
1584
 
1322
1585
module = {
1346
1609
 
1347
1610
module = {
1348
1611
  name = linux16;
1349
 
  i386_pc = loader/i386/pc/linux.c;
1350
 
  i386_pc = lib/cmdline.c;
1351
 
  enable = i386_pc;
 
1612
  common = loader/i386/pc/linux.c;
 
1613
  common = loader/linux.c;
 
1614
  common = lib/cmdline.c;
 
1615
  enable = x86;
1352
1616
};
1353
1617
 
1354
1618
module = {
1357
1621
  enable = i386_pc;
1358
1622
};
1359
1623
 
 
1624
 
 
1625
module = {
 
1626
  name = truecrypt;
 
1627
  i386_pc = loader/i386/pc/truecrypt.c;
 
1628
  enable = i386_pc;
 
1629
};
 
1630
 
 
1631
 
1360
1632
module = {
1361
1633
  name = freedos;
1362
1634
  i386_pc = loader/i386/pc/freedos.c;
1374
1646
  cppflags = "-DGRUB_USE_MULTIBOOT2";
1375
1647
 
1376
1648
  common = loader/multiboot.c;
 
1649
  common = lib/cmdline.c;
1377
1650
  common = loader/multiboot_mbi2.c;
1378
1651
  enable = x86;
1379
1652
  enable = mips;
1382
1655
module = {
1383
1656
  name = multiboot;
1384
1657
  common = loader/multiboot.c;
 
1658
  common = lib/cmdline.c;
1385
1659
  x86 = loader/i386/multiboot_mbi.c;
1386
1660
  extra_dist = loader/multiboot_elfxx.c;
1387
1661
  enable = x86;
1390
1664
module = {
1391
1665
  name = linux;
1392
1666
  x86 = loader/i386/linux.c;
 
1667
  xen = loader/i386/xen.c;
 
1668
  xen_cppflags     = '$(CPPFLAGS_XEN)';
1393
1669
  i386_pc = lib/i386/pc/vesa_modes_table.c;
1394
1670
  mips = loader/mips/linux.c;
1395
1671
  powerpc_ieee1275 = loader/powerpc/ieee1275/linux.c;
1396
1672
  sparc64_ieee1275 = loader/sparc64/ieee1275/linux.c;
1397
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;
1398
1678
  common = lib/cmdline.c;
1399
1679
  enable = noemu;
1400
1680
};
1403
1683
  name = xnu;
1404
1684
  x86 = loader/xnu_resume.c;
1405
1685
  x86 = loader/i386/xnu.c;
1406
 
  x86 = loader/macho32.c;
1407
 
  x86 = loader/macho64.c;
1408
 
  x86 = loader/macho.c;
1409
1686
  x86 = loader/xnu.c;
1410
 
  x86 = loader/lzss.c;
1411
 
 
 
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;
1412
1698
  extra_dist = loader/machoXX.c;
1413
 
  enable = x86;
1414
1699
};
1415
1700
 
1416
1701
module = {
1425
1710
  efi = loader/efi/chainloader.c;
1426
1711
  i386_pc = loader/i386/pc/chainloader.c;
1427
1712
  i386_coreboot = loader/i386/coreboot/chainloader.c;
 
1713
  i386_coreboot = lib/LzmaDec.c;
1428
1714
  enable = i386_pc;
1429
1715
  enable = i386_coreboot;
1430
1716
  enable = efi;
1445
1731
 
1446
1732
  enable = x86;
1447
1733
  enable = ia64_efi;
 
1734
  enable = arm_efi;
 
1735
  enable = arm64_efi;
1448
1736
  enable = mips;
1449
1737
};
1450
1738
 
1466
1754
  common = normal/term.c;
1467
1755
  common = normal/context.c;
1468
1756
  common = normal/charset.c;
 
1757
  common = lib/getline.c;
1469
1758
 
1470
1759
  common = script/main.c;
1471
1760
  common = script/script.c;
1540
1829
};
1541
1830
 
1542
1831
module = {
 
1832
  name = part_dfly;
 
1833
  common = partmap/dfly.c;
 
1834
};
 
1835
 
 
1836
module = {
1543
1837
  name = msdospart;
1544
1838
  common = parttool/msdospart.c;
1545
1839
};
1557
1851
};
1558
1852
 
1559
1853
module = {
 
1854
  name = gfxterm_background;
 
1855
  common = term/gfxterm_background.c;
 
1856
};
 
1857
 
 
1858
module = {
1560
1859
  name = serial;
1561
1860
  common = term/serial.c;
1562
1861
  x86 = term/ns8250.c;
1563
1862
  ieee1275 = term/ieee1275/serial.c;
 
1863
  mips_arc = term/arc/serial.c;
1564
1864
  efi = term/efi/serial.c;
1565
1865
 
1566
1866
  enable = terminfomodule;
1567
1867
  enable = ieee1275;
 
1868
  enable = mips_arc;
1568
1869
};
1569
1870
 
1570
1871
module = {
1590
1891
  name = vga;
1591
1892
  common = video/i386/pc/vga.c;
1592
1893
  enable = i386_pc;
1593
 
  enable = i386_coreboot;
1594
 
  enable = i386_multiboot;
1595
1894
};
1596
1895
 
1597
1896
module = {
1598
1897
  name = vga_text;
1599
1898
  common = term/i386/pc/vga_text.c;
1600
 
  common = term/i386/vga_common.c;
1601
 
  enable = i386_pc;
 
1899
  enable = i386_pc;
 
1900
};
 
1901
 
 
1902
module = {
 
1903
  name = mda_text;
 
1904
  common = term/i386/pc/mda_text.c;
 
1905
  enable = i386_pc;
 
1906
  enable = i386_coreboot_multiboot_qemu;
1602
1907
};
1603
1908
 
1604
1909
module = {
1617
1922
  name = functional_test;
1618
1923
  common = tests/lib/functional_test.c;
1619
1924
  common = tests/lib/test.c;
 
1925
  common = tests/checksums.h;
 
1926
  common = tests/video_checksum.c;
 
1927
  common = tests/fake_input.c;
 
1928
  common = video/capture.c;
1620
1929
};
1621
1930
 
1622
1931
module = {
1625
1934
};
1626
1935
 
1627
1936
module = {
 
1937
  name = setjmp_test;
 
1938
  common = tests/setjmp_test.c;
 
1939
};
 
1940
 
 
1941
module = {
 
1942
  name = signature_test;
 
1943
  common = tests/signature_test.c;
 
1944
  common = tests/signatures.h;
 
1945
};
 
1946
 
 
1947
module = {
 
1948
  name = sleep_test;
 
1949
  common = tests/sleep_test.c;
 
1950
};
 
1951
 
 
1952
module = {
 
1953
  name = xnu_uuid_test;
 
1954
  common = tests/xnu_uuid_test.c;
 
1955
};
 
1956
 
 
1957
module = {
 
1958
  name = pbkdf2_test;
 
1959
  common = tests/pbkdf2_test.c;
 
1960
};
 
1961
 
 
1962
module = {
 
1963
  name = legacy_password_test;
 
1964
  common = tests/legacy_password_test.c;
 
1965
  enable = i386_pc;
 
1966
  enable = i386_efi;
 
1967
  enable = x86_64_efi;
 
1968
  enable = emu;
 
1969
  enable = xen;
 
1970
};
 
1971
 
 
1972
module = {
 
1973
  name = div_test;
 
1974
  common = tests/div_test.c;
 
1975
};
 
1976
 
 
1977
module = {
 
1978
  name = videotest_checksum;
 
1979
  common = tests/videotest_checksum.c;
 
1980
};
 
1981
 
 
1982
module = {
 
1983
  name = gfxterm_menu;
 
1984
  common = tests/gfxterm_menu.c;
 
1985
};
 
1986
 
 
1987
module = {
 
1988
  name = cmdline_cat_test;
 
1989
  common = tests/cmdline_cat_test.c;
 
1990
};
 
1991
 
 
1992
module = {
1628
1993
  name = bitmap;
1629
1994
  common = video/bitmap.c;
1630
 
  enable = videomodules;
1631
1995
};
1632
1996
 
1633
1997
module = {
1634
1998
  name = bitmap_scale;
1635
1999
  common = video/bitmap_scale.c;
1636
 
  enable = videomodules;
1637
2000
};
1638
2001
 
1639
2002
module = {
1668
2031
  name = vbe;
1669
2032
  common = video/i386/pc/vbe.c;
1670
2033
  enable = i386_pc;
1671
 
  enable = i386_coreboot;
1672
 
  enable = i386_multiboot;
1673
2034
};
1674
2035
 
1675
2036
module = {
1684
2045
module = {
1685
2046
  name = video;
1686
2047
  common = video/video.c;
 
2048
  enable = videomodules;
 
2049
};
 
2050
 
 
2051
module = {
 
2052
  name = video_colors;
1687
2053
  common = video/colors.c;
1688
 
  enable = videomodules;
1689
2054
};
1690
2055
 
1691
2056
module = {
1738
2103
};
1739
2104
 
1740
2105
module = {
 
2106
  name = ubootnet;
 
2107
  common = net/drivers/uboot/ubootnet.c;
 
2108
  enable = uboot;
 
2109
};
 
2110
 
 
2111
module = {
1741
2112
  name = efinet;
1742
2113
  common = net/drivers/efi/efinet.c;
1743
2114
  enable = efi;
1754
2125
  common = commands/legacycfg.c;
1755
2126
  common = lib/legacy_parse.c;
1756
2127
  emu = lib/i386/pc/vesa_modes_table.c;
 
2128
  i386_efi = lib/i386/pc/vesa_modes_table.c;
 
2129
  x86_64_efi = lib/i386/pc/vesa_modes_table.c;
 
2130
  xen = lib/i386/pc/vesa_modes_table.c;
 
2131
 
1757
2132
  enable = i386_pc;
 
2133
  enable = i386_efi;
 
2134
  enable = x86_64_efi;
1758
2135
  enable = emu;
 
2136
  enable = xen;
 
2137
};
 
2138
 
 
2139
module = {
 
2140
  name = syslinuxcfg;
 
2141
  common = lib/syslinux_parse.c;
 
2142
  common = commands/syslinuxcfg.c;
1759
2143
};
1760
2144
 
1761
2145
module = {
1789
2173
module = {
1790
2174
  name = backtrace;
1791
2175
  x86 = lib/i386/backtrace.c;
 
2176
  i386_xen = lib/i386/backtrace.c;
 
2177
  x86_64_xen = lib/i386/backtrace.c;
1792
2178
  common = lib/backtrace.c;
1793
2179
  enable = x86;
 
2180
  enable = i386_xen;
 
2181
  enable = x86_64_xen;
1794
2182
};
1795
2183
 
1796
2184
module = {
1802
2190
module = {
1803
2191
  name = keylayouts;
1804
2192
  common = commands/keylayouts.c;
1805
 
  enable = videomodules;
 
2193
  enable = x86;
1806
2194
};
1807
2195
 
1808
2196
module = {
1822
2210
};
1823
2211
 
1824
2212
module = {
 
2213
  name = boottime;
 
2214
  common = commands/boottime.c;
 
2215
  condition = COND_ENABLE_BOOT_TIME_STATS;
 
2216
};
 
2217
 
 
2218
module = {
1825
2219
  name = adler32;
1826
2220
  common = lib/adler32.c;
1827
2221
};
1832
2226
};
1833
2227
 
1834
2228
module = {
 
2229
  name = mpi;
 
2230
  common = lib/libgcrypt-grub/mpi/mpiutil.c;
 
2231
  common = lib/libgcrypt-grub/mpi/mpi-bit.c;
 
2232
  common = lib/libgcrypt-grub/mpi/mpi-add.c;
 
2233
  common = lib/libgcrypt-grub/mpi/mpi-mul.c;
 
2234
  common = lib/libgcrypt-grub/mpi/mpi-mod.c;
 
2235
  common = lib/libgcrypt-grub/mpi/mpi-gcd.c;
 
2236
  common = lib/libgcrypt-grub/mpi/mpi-div.c;
 
2237
  common = lib/libgcrypt-grub/mpi/mpi-cmp.c;
 
2238
  common = lib/libgcrypt-grub/mpi/mpi-inv.c;
 
2239
  common = lib/libgcrypt-grub/mpi/mpi-pow.c;
 
2240
  common = lib/libgcrypt-grub/mpi/mpi-mpow.c;
 
2241
  common = lib/libgcrypt-grub/mpi/mpih-lshift.c;
 
2242
  common = lib/libgcrypt-grub/mpi/mpih-mul.c;
 
2243
  common = lib/libgcrypt-grub/mpi/mpih-mul1.c;
 
2244
  common = lib/libgcrypt-grub/mpi/mpih-mul2.c;
 
2245
  common = lib/libgcrypt-grub/mpi/mpih-mul3.c;
 
2246
  common = lib/libgcrypt-grub/mpi/mpih-add1.c;
 
2247
  common = lib/libgcrypt-grub/mpi/mpih-sub1.c;
 
2248
  common = lib/libgcrypt-grub/mpi/mpih-div.c;
 
2249
  common = lib/libgcrypt-grub/mpi/mpicoder.c;
 
2250
  common = lib/libgcrypt-grub/mpi/mpih-rshift.c;
 
2251
  common = lib/libgcrypt-grub/mpi/mpi-inline.c;
 
2252
  common = lib/libgcrypt_wrap/mem.c;
 
2253
 
 
2254
  cflags = '$(CFLAGS_GCRY) -Wno-redundant-decls -Wno-sign-compare';
 
2255
  cppflags = '$(CPPFLAGS_GCRY)';
 
2256
};
 
2257
 
 
2258
module = {
1835
2259
  name = all_video;
1836
2260
  common = lib/fake_module.c;
1837
2261
};
1846
2270
  enable = i386;
1847
2271
};
1848
2272
 
 
2273
module = {
 
2274
  name = testspeed;
 
2275
  common = commands/testspeed.c;
 
2276
};
 
2277
 
 
2278
module = {
 
2279
  name = tr;
 
2280
  common = commands/tr.c;
 
2281
};
 
2282
 
 
2283
module = {
 
2284
  name = progress;
 
2285
  common = lib/progress.c;
 
2286
};
 
2287
 
 
2288
module = {
 
2289
  name = file;
 
2290
  common = commands/file.c;
 
2291
  common = commands/file32.c;
 
2292
  common = commands/file64.c;
 
2293
  extra_dist = commands/fileXX.c;
 
2294
  common = loader/i386/xen_file.c;
 
2295
  common = loader/i386/xen_file32.c;
 
2296
  common = loader/i386/xen_file64.c;
 
2297
  extra_dist = loader/i386/xen_fileXX.c;
 
2298
};