Kconfig!
Works on Kontron, qemu, and serengeti. 

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>

tested on abuild only. 

Acked-by: Ronald G. Minnich <rminnich@gmail.com>




git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4534 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/util/x86emu/Makefile.inc b/util/x86emu/Makefile.inc
new file mode 100644
index 0000000..ec90694
--- /dev/null
+++ b/util/x86emu/Makefile.inc
@@ -0,0 +1,27 @@
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2007 coresystems GmbH
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; either version 2 of the License, or
+## (at your option) any later version.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+##
+
+subdir-$(CONFIG_PCI_OPTION_ROM_RUN_X86EMU) += x86emu
+obj-$(CONFIG_PCI_OPTION_ROM_RUN_X86EMU) += biosemu.c
+subdir-$(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