[ipxe-devel] Define either UEFI or BIOS in h (header) files during compiling.

CpServiceSPb . cpservicespb at gmail.com
Sun Aug 18 20:04:31 UTC 2019

Is there optiont to specify at, for example, general.h to separate
compiling of UEFI or BIOS versions ?
That is, some like this:


#ifdef UEFI
# some definitions for UEFI version only

#ifdef BIOS
# some definitions for BIOS version only

The quiestion is that #define IMAGE_SDI is not acceptable for UEFI version
as IMAGE_EFI is not for BIOS version.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20190818/b2d21570/attachment.htm>

More information about the ipxe-devel mailing list