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