-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I build wolftpm examples with Yocto? #91
Comments
Hi @pclass-isolated , It looks like we will have to add support for that. Which wolfTPM examples are you interested in having built and installed with Yocto? Can you tell us more about your project and use-case? Thanks, |
Hi @dgarske, Thanks for the response. I am interested specifically in these attestation examples: However, I think the entire TPM examples directory would be great to have to evaluate the library against my TPM. I am working on an arm64 based embedded Linux project that needs to interact with the TPM pretty extensively and remote attestation is one of the goals. Thanks, |
Hi @pclass-isolated , We have made some progress getting the TPM examples added. The current development branch is here -> https://github.com/aidangarske/meta-wolfssl/blob/yoctoSupport/recipes-wolfssl/wolftpm/wolftpm_%25.bbappend Thanks, |
@dgarske - Awesome! Thanks for updating me on this. |
Hi @pclass-isolated, There is a pr up now for wolfTPM example support with yocto found here --> #92 Thank you, |
How can I enable the wolftpm examples? I am looking to build the examples found here: https://github.com/wolfSSL/wolfTPM/tree/master/examples
In my own layer, I created my own recipes-wolfssl/wolftpm/wolftpm_%.bbappend and added the following:
EXTRA_OECONF += " --enable-infineon --enable-examples "
I can see that the --enable-examples and --enable-infineon flags are used in the build - however I see no examples built in the output 'image' directory or root file system in the final image.
run.do_configure.1073921: bbnote "Running $cfgscript --build=x86_64-linux --host=aarch64-poky-linux --target=aarch64-poky-linux --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/home/developer/company-nxp-bsp/build-imx8plus/tmp/work/armv8a-poky-linux/wolftpm/3.2.0-r0/recipe-sysroot --with-wolfcrypt=/home/developer/company-nxp-bsp/build-imx8plus/tmp/sysroots-components/armv8a/wolfssl/usr --enable-infineon --enable-examples --disable-static $@"
The text was updated successfully, but these errors were encountered: