]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
backends: Add TPM files into their own directory
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 12 Jun 2020 08:54:34 +0000 (10:54 +0200)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Fri, 19 Jun 2020 11:24:42 +0000 (07:24 -0400)
As we will have various TPM backend files, it is cleaner
to use a single directory.

Suggested-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Message-id: 20200612085444.8362-3-philmd@redhat.com
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
MAINTAINERS
backends/Makefile.objs
backends/tpm/Makefile.objs [new file with mode: 0644]
backends/tpm/tpm_backend.c [moved from backends/tpm.c with 100% similarity]

index 955cc8dd5cd01c7325d5c612053992243f66ac8d..60a183c117f27a4c25b27db5fb694b66c887a89e 100644 (file)
@@ -2395,7 +2395,7 @@ F: hw/tpm/*
 F: include/hw/acpi/tpm.h
 F: include/sysemu/tpm*
 F: qapi/tpm.json
-F: backends/tpm.c
+F: backends/tpm/
 F: tests/qtest/*tpm*
 T: git https://github.com/stefanberger/qemu-tpm.git tpm-next
 
index 28a847cd571d96edf61c32ddd9d19dad2f3213b6..22d204cb481049a7b11111f45b7e3bddfd427ea5 100644 (file)
@@ -1,7 +1,7 @@
 common-obj-y += rng.o rng-egd.o rng-builtin.o
 common-obj-$(CONFIG_POSIX) += rng-random.o
 
-common-obj-$(CONFIG_TPM) += tpm.o
+common-obj-$(CONFIG_TPM) += tpm/
 
 common-obj-y += hostmem.o hostmem-ram.o
 common-obj-$(CONFIG_POSIX) += hostmem-file.o
diff --git a/backends/tpm/Makefile.objs b/backends/tpm/Makefile.objs
new file mode 100644 (file)
index 0000000..8cf5772
--- /dev/null
@@ -0,0 +1 @@
+common-obj-y += tpm_backend.o
similarity index 100%
rename from backends/tpm.c
rename to backends/tpm/tpm_backend.c