qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH V23 4/7] Build the TPM frontend code


From: Stefan Berger
Subject: Re: [Qemu-devel] [PATCH V23 4/7] Build the TPM frontend code
Date: Sat, 16 Feb 2013 12:27:17 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1

On 02/16/2013 06:19 AM, Andreas Färber wrote:
Am 15.02.2013 20:39, schrieb Stefan Berger:
  if test "$sdl_too_old" = "yes"; then
  echo "-> Your SDL version is too old - please upgrade to have SDL support"
@@ -4251,6 +4256,12 @@ if test "$gprof" = "yes" ; then
    fi
  fi
+if test "$tpm" = "yes"; then
+  if test "$target_softmmu" = "yes" ; then
+    echo "CONFIG_TPM=y" >> $config_host_mak
+  fi
+fi
So if some softmmu is being built and --enabled-tpm was chosen, we set
CONFIG_TPM=y for the host. Fine.

+
  if test "$ARCH" = "tci"; then
    linker_script=""
  else
diff --git a/tpm/Makefile.objs b/tpm/Makefile.objs
index dffb567..63bfcea 100644
--- a/tpm/Makefile.objs
+++ b/tpm/Makefile.objs
@@ -1 +1,2 @@
  common-obj-y = tpm.o
+common-obj-$(CONFIG_TPM) += tpm_tis.o
Some softmmus might not even support ISA, so this needs to be
conditional on more than just the host's $(CONFIG_TPM), it should be a
combination of the host's CONFIG_TPM=y and CONFIG_TPM_TIS=y in
default-configs/{i386,x86_64}-softmmu.config or similar.

I need some help with this... From what I can see at least in hw/Makefile.objs 
isa-bus.o is unconditionally added to common-obj-y. Similarly the sb16.c, also 
an ISA device, ends up in config-host.mak. Does this imply that any softmmu 
will have isa-bus.o and sb16 compile in ?

Regards,
   Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]