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