Message ID | 20171023213359.23025-4-f4bug@amsat.org |
---|---|
State | New |
Headers | show |
Series | tpm: add stubs to fix compiling with --disable-tpm | expand |
The series fixes the build for me, thanks :-) Rich.
On 10/23/2017 05:33 PM, Philippe Mathieu-Daudé wrote: > a stub is now provided. > > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > --- > vl.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/vl.c b/vl.c > index 0723835bbf..ec299099ff 100644 > --- a/vl.c > +++ b/vl.c > @@ -4624,11 +4624,9 @@ int main(int argc, char **argv, char **envp) > exit(1); > } > > -#ifdef CONFIG_TPM > if (tpm_init() < 0) { > exit(1); > } > -#endif > > /* init the bluetooth world */ > if (foreach_device_config(DEV_BT, bt_parse)) Now you should be able to also remove the #ifdef CONFIG_TPM from ./tpm.c. Stefan
Hi Richard,
On 10/23/2017 06:37 PM, Richard W.M. Jones wrote:
> The series fixes the build for me, thanks :-)
Good, does this mean I can add your Tested-by: tag?
Regards,
Phil.
On Mon, Oct 23, 2017 at 11:33:31PM -0300, Philippe Mathieu-Daudé wrote: > Hi Richard, > > On 10/23/2017 06:37 PM, Richard W.M. Jones wrote: > > The series fixes the build for me, thanks :-) > > Good, does this mean I can add your Tested-by: tag? Sure, Tested-by: Richard W.M. Jones <rjones@redhat.com> Rich.
diff --git a/vl.c b/vl.c index 0723835bbf..ec299099ff 100644 --- a/vl.c +++ b/vl.c @@ -4624,11 +4624,9 @@ int main(int argc, char **argv, char **envp) exit(1); } -#ifdef CONFIG_TPM if (tpm_init() < 0) { exit(1); } -#endif /* init the bluetooth world */ if (foreach_device_config(DEV_BT, bt_parse))
a stub is now provided. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> --- vl.c | 2 -- 1 file changed, 2 deletions(-)