On Tue, 25 Jun, at 03:14:32PM, Gene Cumm wrote:> Is there a way to use a rule in mk/local.mk to block the automatic > building of efi32 & efi64 in order to prevent the error for those that > do not want efi32/efi64 built and don't have a build box capable of > it?'make bios' will only build the BIOS files. We could probably fabricate a script of some sort to check for the required version of gnu-efi, and skip it if not found, unless the user explicitly requested that the EFI files be built, in which case we'd error out. Thoughts? -- Matt Fleming, Intel Open Source Technology Center
On 06/25/2013 01:03 PM, Matt Fleming wrote:> On Tue, 25 Jun, at 03:14:32PM, Gene Cumm wrote: >> Is there a way to use a rule in mk/local.mk to block the automatic >> building of efi32 & efi64 in order to prevent the error for those that >> do not want efi32/efi64 built and don't have a build box capable of >> it? > > 'make bios' will only build the BIOS files. > > We could probably fabricate a script of some sort to check for the > required version of gnu-efi, and skip it if not found, unless the user > explicitly requested that the EFI files be built, in which case we'd > error out. > > Thoughts? >Not really... let's just document "make bios". -hpa
On Tue, 25 Jun, at 01:09:47PM, H. Peter Anvin wrote:> Not really... let's just document "make bios".There's preliminary documentation in doc/building.txt. -- Matt Fleming, Intel Open Source Technology Center
Hallo, H. Peter, Du meintest am 25.06.13:>> We could probably fabricate a script of some sort to check for the >> required version of gnu-efi, and skip it if not found, unless the >> user explicitly requested that the EFI files be built, in which case >> we'd error out. >> >> Thoughts?> Not really... let's just document "make bios".By the way: what about an option "-v" or "--version"? It's a bit nasty to find the version of syslinux or pxelinux with an editor or so ... Viele Gruesse! Helmut