summaryrefslogtreecommitdiffstats
path: root/hw/Makefile.objs
diff options
context:
space:
mode:
authorWei Huang2015-08-12 04:08:20 +0200
committerMichael S. Tsirkin2015-08-13 13:08:30 +0200
commit60d8f328b878ead45a5e5e347935097e3426bbd9 (patch)
tree359f5103fd4d30a9ecf49849c4d46da5a5b708de /hw/Makefile.objs
parentsmbios: remove dependency on x86 e820 tables (diff)
downloadqemu-60d8f328b878ead45a5e5e347935097e3426bbd9.tar.gz
qemu-60d8f328b878ead45a5e5e347935097e3426bbd9.tar.xz
qemu-60d8f328b878ead45a5e5e347935097e3426bbd9.zip
smbios: move smbios code into a common folder
To share smbios among different architectures, this patch moves SMBIOS code (smbios.c and smbios.h) from x86 specific folders into new hw/smbios directories. As a result, CONFIG_SMBIOS=y is defined in x86 default config files. Acked-by: Gabriel Somlo <somlo@cmu.edu> Tested-by: Gabriel Somlo <somlo@cmu.edu> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Leif Lindholm <leif.lindholm@linaro.org> Signed-off-by: Wei Huang <wei@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/Makefile.objs')
-rw-r--r--hw/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/Makefile.objs b/hw/Makefile.objs
index 73afa41b32..7e7c241104 100644
--- a/hw/Makefile.objs
+++ b/hw/Makefile.objs
@@ -31,6 +31,7 @@ devices-dirs-$(CONFIG_VIRTIO) += virtio/
devices-dirs-$(CONFIG_SOFTMMU) += watchdog/
devices-dirs-$(CONFIG_SOFTMMU) += xen/
devices-dirs-$(CONFIG_MEM_HOTPLUG) += mem/
+devices-dirs-$(CONFIG_SMBIOS) += smbios/
devices-dirs-y += core/
common-obj-y += $(devices-dirs-y)
obj-y += $(devices-dirs-y)