mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix Unix target build
Fix build failure: LINK openbios-unix libopenbios.a(load.o)(.text+0xe0): In function `load': ../libopenbios/load.c:58: undefined reference to `elf_boot_notes' libopenbios.a(load.o)(.text+0xe8):../libopenbios/load.c:58: undefined reference to `elf_boot_notes' Move elf_boot_notes variable to load.c to make it also available on Unix build. Also fix a spurious sys_info variable definition. Signed-off-by: Blue Swirl <blauwirbel@gmail.com> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@829 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -14,8 +14,6 @@
|
||||
#include "libopenbios/sys_info.h"
|
||||
#include "boot.h"
|
||||
|
||||
void *elf_boot_notes = NULL;
|
||||
|
||||
void go(void)
|
||||
{
|
||||
ucell address, type, size;
|
||||
|
||||
Reference in New Issue
Block a user