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