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