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