aboutsummaryrefslogtreecommitdiff
path: root/hw/smbios/Makefile.objs
diff options
context:
space:
mode:
authorWei Huang <wei@redhat.com>2015-08-11 22:08:20 -0400
committerMichael S. Tsirkin <mst@redhat.com>2015-08-13 14:08:30 +0300
commit60d8f328b878ead45a5e5e347935097e3426bbd9 (patch)
tree359f5103fd4d30a9ecf49849c4d46da5a5b708de /hw/smbios/Makefile.objs
parent89cc4a2760be800b5924dd705b1369bc29783c9f (diff)
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/smbios/Makefile.objs')
-rw-r--r--hw/smbios/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/smbios/Makefile.objs b/hw/smbios/Makefile.objs
new file mode 100644
index 0000000000..f69a92f967
--- /dev/null
+++ b/hw/smbios/Makefile.objs
@@ -0,0 +1 @@
+common-obj-$(CONFIG_SMBIOS) += smbios.o