You probably want to look at named configurations, so you can have one
configuration for your UEFI builds and another for your legacy BIOS builds.

http://ipxe.org/appnote/named_config

-- Robin

On 18.08.2019 22.04, CpServiceSPb . wrote:
> Is there optiont to specify at, for example, general.h to separate
> compiling of UEFI or BIOS versions ?
> That is, some like this:
> 
> general.h
> 
> #ifdef UEFI
> # some definitions for UEFI version only
> #endif
> 
> #ifdef BIOS
> # some definitions for BIOS version only
> #endif
> 
> The quiestion is that #define IMAGE_SDI is not acceptable for UEFI
> version as IMAGE_EFI is not for BIOS version.
> 
> _______________________________________________
> ipxe-devel mailing list
> ipxe-devel@lists.ipxe.org
> https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel
> 
_______________________________________________
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to