From e6804955c48f735074a6c56788bc9f65a412bbe2 Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Fri, 28 Aug 2009 14:36:12 +0000 Subject: Add Kconfig support for PCI option ROMS. Signed-off-by: Myles Watson Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4609 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/x86emu/Makefile.inc | 5 ++++- util/x86emu/yabel/Makefile.inc | 8 ++++++++ util/x86emu/yabel/biosemu.c | 2 -- util/x86emu/yabel/compat/Makefile.inc | 1 + 4 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 util/x86emu/yabel/Makefile.inc create mode 100644 util/x86emu/yabel/compat/Makefile.inc (limited to 'util/x86emu') diff --git a/util/x86emu/Makefile.inc b/util/x86emu/Makefile.inc index 52a69b17a8..b5c3eb4b7c 100644 --- a/util/x86emu/Makefile.inc +++ b/util/x86emu/Makefile.inc @@ -19,9 +19,12 @@ ## subdirs-$(CONFIG_PCI_OPTION_ROM_RUN_X86EMU) += x86emu -obj-$(CONFIG_PCI_OPTION_ROM_RUN_X86EMU) += biosemu.c +obj-$(CONFIG_PCI_OPTION_ROM_RUN_X86EMU) += biosemu.o subdirs-$(CONFIG_PCI_OPTION_ROM_RUN_X86EMU) += pcbios obj-$(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) += x86.o obj-$(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) += x86_asm.o obj-$(CONFIG_PCI_OPTION_ROM_RUN_REALMODE) += x86_interrupts.o + +subdirs-$(CONFIG_PCI_OPTION_ROM_RUN_YABEL) += x86emu +subdirs-$(CONFIG_PCI_OPTION_ROM_RUN_YABEL) += yabel diff --git a/util/x86emu/yabel/Makefile.inc b/util/x86emu/yabel/Makefile.inc new file mode 100644 index 0000000000..fc6a8a0a9f --- /dev/null +++ b/util/x86emu/yabel/Makefile.inc @@ -0,0 +1,8 @@ +obj-y += biosemu.o +obj-y += debug.o +obj-y += device.o +obj-y += interrupt.o +obj-y += io.o +obj-y += mem.o +obj-y += pmm.o +subdirs-y += compat diff --git a/util/x86emu/yabel/biosemu.c b/util/x86emu/yabel/biosemu.c index 74772e8642..04c440d0a6 100644 --- a/util/x86emu/yabel/biosemu.c +++ b/util/x86emu/yabel/biosemu.c @@ -56,8 +56,6 @@ static X86EMU_pioFuncs my_pio_funcs = { /* interrupt function override array (see biosemu.h) */ yabel_handleIntFunc yabel_intFuncArray[256]; -void dump(u8 * addr, u32 len); - /* main entry into YABEL biosemu, arguments are: * *biosmem = pointer to virtual memory * biosmem_size = size of the virtual memory diff --git a/util/x86emu/yabel/compat/Makefile.inc b/util/x86emu/yabel/compat/Makefile.inc new file mode 100644 index 0000000000..00080f5406 --- /dev/null +++ b/util/x86emu/yabel/compat/Makefile.inc @@ -0,0 +1 @@ +obj-y += functions.o -- cgit v1.2.3