aboutsummaryrefslogtreecommitdiff
path: root/src/include/ipxe/efi
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2021-02-12 21:56:53 +0000
committerMichael Brown <mcb30@ipxe.org>2021-02-12 22:08:41 +0000
commitb539e9a7e95c3a481c686ffcf310c87bc1e19707 (patch)
tree14bf7edb993b7608e75ff1f40fac89615d52d2d7 /src/include/ipxe/efi
parentdf16df2c857a8f7ab5cc3e76656e4f85c15d4a7a (diff)
downloadipxe-b539e9a7e95c3a481c686ffcf310c87bc1e19707.zip
ipxe-b539e9a7e95c3a481c686ffcf310c87bc1e19707.tar.gz
ipxe-b539e9a7e95c3a481c686ffcf310c87bc1e19707.tar.bz2
[build] Remove support for building with the Intel C compiler
Support for building with the Intel C compiler (icc) was added in 2009 in the expectation that UEFI support would eventually involve compiling iPXE to EFI Byte Code. EFI Byte Code has never found any widespread use: no widely available compilers can emit it, Microsoft refuses to sign EFI Byte Code binaries for UEFI Secure Boot, and I have personally never encountered any examples of EFI Byte Code in the wild. The support for using the Intel C compiler has not been tested in over a decade, and would almost certainly require modification to work with current releases of the compiler. Simplify the build process by removing this old legacy code. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/efi')
-rw-r--r--src/include/ipxe/efi/efi.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/include/ipxe/efi/efi.h b/src/include/ipxe/efi/efi.h
index c8c069c..a83fa0f 100644
--- a/src/include/ipxe/efi/efi.h
+++ b/src/include/ipxe/efi/efi.h
@@ -29,11 +29,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
/* EFI headers redefine ARRAY_SIZE */
#undef ARRAY_SIZE
-/* EFI headers expect ICC to define __GNUC__ */
-#if defined ( __ICC ) && ! defined ( __GNUC__ )
-#define __GNUC__ 1
-#endif
-
/* EFI headers think your compiler uses the MS ABI by default on X64 */
#if __x86_64__
#define EFIAPI __attribute__((ms_abi))