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