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