[Buildroot] svn commit: trunk/buildroot/package/openssl
Ulf Samuelsson
ulf.samuelsson at atmel.com
Tue Jul 8 16:30:53 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thiago A. Corrêa skrev:
> On Tue, Jul 8, 2008 at 10:29 AM, Peter Korsgaard <jacmet at uclibc.org> wrote:
>> Thiago> It built to avr32 without it, but I also have some clean up changes
>> Thiago> laying here, so I will commit both if it's ok.
>> Thiago> Basically, this:
>> Thiago> http://code.google.com/p/buildroot/source/diff?r=638&format=side&path=/trunk/package/openssl/openssl.mk
>>
>> I don't get it, how do the files get installed into TARGET_DIR?
>>
> Oh, that's because in the google repository it was made in different
> commits, but there John changed it to use make install instead. He was
> looking into the issue of having Midori and other packages connect to
> https servers. To fix that, besides having a proper openssl install,
> one needs to install the CA certificates. But none the less make
> install is better than copying individual files.
I think this is slightly flawed.
If the make is aborted for some reason after the make install
and before the stuff is stripped, then the strip wont happen.
Not a big problem, but should be easy to fix.
I think you want the install into the target like this:
$(TARGET_DIR)/usr/lib/libcrypto.so.0.9.7: \
$(STAGING_DIR)/usr/lib/libcrypto.a
$(MAKE) CC=$(TARGET_CC) INSTALL_PREFIX=$(TARGET_DIR) \
-C $(OPENSSL_DIR) install
<strip's>
BR
Ulf Samuelsson
>
> $(STAGING_DIR)/usr/lib/libcrypto.a: $(OPENSSL_DIR)/apps/openssl
> $(MAKE) CC=$(TARGET_CC) INSTALL_PREFIX=$(STAGING_DIR)/usr -C
> $(OPENSSL_DIR) install
> $(MAKE) CC=$(TARGET_CC) INSTALL_PREFIX=$(TARGET_DIR) -C
> $(OPENSSL_DIR) install
> touch -c $@
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFIc5Y9AyRRH5cXxqwRAhG9AJ47A3UnuCsJW6A27+1zK887sCeZRgCeJ1E2
xSSoWvQTNX9t42W4neOI5v0=
=r2Em
-----END PGP SIGNATURE-----
More information about the buildroot
mailing list