diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-03-18 16:37:50 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-15 15:16:41 +0200 |
commit | 3b8acc11d3f60792f9f716f2a93c258e729af980 (patch) | |
tree | 712b31622010d0abe8d064e95b426e6cb5872958 /tpm/Makefile.objs | |
parent | e53339cf7cf90cf5c7a6bca64d0e7c0956f53a66 (diff) |
configure: fix TPM logic
A non-native i386 or x86_64 emulator should not have TPM passthrough
support, since the TPM is only present for those hosts.
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tpm/Makefile.objs')
-rw-r--r-- | tpm/Makefile.objs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tpm/Makefile.objs b/tpm/Makefile.objs index 86768244e4..366e4a7128 100644 --- a/tpm/Makefile.objs +++ b/tpm/Makefile.objs @@ -1,6 +1,4 @@ common-obj-y = tpm.o -ifeq ($(CONFIG_TPM),y) -common-obj-y += tpm_backend.o +common-obj-$(CONFIG_TPM) += tpm_backend.o common-obj-$(CONFIG_TPM_TIS) += tpm_tis.o common-obj-$(CONFIG_TPM_PASSTHROUGH) += tpm_passthrough.o -endif |