> On Jul 23, 2015, at 12:54 PM, David Woodhouse <dw...@infradead.org> wrote:
> 
> (The 01.org list seems to be rejecting all my posts, so I'll repost to
> this not-dead-yet list.)
> 
> WIP at git://git.infradead.org/users/dwmw2/openssl.git and
> git://git.infradead.org/users/dwmw2/edk.git
> 
> Clone the former into the CryptoPkg/Library/OpensslLib/openssl/
> directory of the EDK2 tree.
> 
> I'm starting to push the OpenSSL patches upstream where it makes sense.
> 
> I could do with some help fixing up EDK2 build side. Starting with the
> include paths. Apparently I am not permitted to add an [includes]
> section to OpensslLib.inf?

David,

What I did for the acpica dump tool is I made a DEC file for the blob of code 
from another project and I added the [Includes] section to the DEC. Then the 
INF just depends on DEC for the package that represents the 3rd party. You have 
to update the DEC if the non edk2 project changes its include path, but 
otherwise your good to go.

Thanks,

Andrew Fish

> So we can't just tell it to include files
> from the openssl/include and openssl/crypto/include/ directories?
> 
> So far I've just symlinked *all* of openssl/include/internal.*.h and
> openssl/crypto/include/*.h into a CryptoPkg/Include/internal/ directory
> but that really wants fixing.
> 
> You'll want to run './Configure UWIN' in the OpenSSL tree to generate
> opensslconf.h.
> 
> I'm going to see how we can automate that and keep the file list up to
> date automatically too.
> 
> Most importantly though, now that I have something that at least
> builds, what should I be doing to test it?
> 
> -- 
> David Woodhouse                            Open Source Technology Centre
> david.woodho...@intel.com                              Intel Corporation
> ------------------------------------------------------------------------------
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel


------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to