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

2019-08-18 Thread Robin Smidsrød
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

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

2019-08-18 Thread CpServiceSPb .
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_