From 710eab5aae1892b8d2b4dde13a62e818033b0ecc Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Thu, 13 Mar 2014 14:20:47 -0700 Subject: biosboot: This file is not for EFI This file causes dynamic link failures on EFI, and of course has no use in the EFI environment. Signed-off-by: H. Peter Anvin --- com32/lib/syslinux/biosboot.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/com32/lib/syslinux/biosboot.c b/com32/lib/syslinux/biosboot.c index 9bdf84fb..5e599bb5 100644 --- a/com32/lib/syslinux/biosboot.c +++ b/com32/lib/syslinux/biosboot.c @@ -28,6 +28,8 @@ #include #include +#ifdef __FIRMWARE_BIOS__ + void bios_do_shuffle_and_boot(uint16_t bootflags, uint32_t descaddr, const void *descbuf, uint32_t dsize) { @@ -37,3 +39,5 @@ void bios_do_shuffle_and_boot(uint16_t bootflags, uint32_t descaddr, do_raw_shuffle_and_boot(descaddr, descbuf, dsize); /* Should not return */ } + +#endif /* __FIRMWARE_BIOS__ */ -- cgit 1.2.3-korg