1			Building Syslinux
2
3From Syslinux 6.0 onwards there is support for three different
4firmware backends, BIOS, 32-bit EFI and 64-bit EFI. To allow users the
5flexibility to build only the firmware they need the Syslinux make
6infrastructure has become more complex.
7
8The Syslinux make infrastructure understands the following syntax,
9
10	make [firmware[,firwmware]] [target[,target]]
11
12If no firmware is specified then any targets will be applied to all
13three firmware backends. If no target is specified then the 'all'
14target is implicitly built.
15
16For example, to build the installers for BIOS, 32-bit EFI and 64-bit
17EFI type,
18
19	make installer
20
21TO build the BIOS and 64-bit EFI installers type,
22
23	make bios efi64 installer
24
25To delete all object files and build the installer for 32-bit EFI
26type,
27
28	make efi32 spotless installer
29
30
31      ++++ THE OBJECT DIRECTORY ++++
32
33A custom top-level object directory can be specified on the make
34command-line by using the O= variable, e.g.
35
36	make O=/tmp/syslinux-obj efi32
37
38will build the 32-bit object files under /tmp/syslinux-obj/efi32. If
39no object directory is specified then object files will be written to
40an 'obj' directory in the top-level of the Syslinux source.
41