From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Samuelsson Date: Tue, 08 Jul 2008 18:30:53 +0200 Subject: [Buildroot] svn commit: trunk/buildroot/package/openssl In-Reply-To: References: <20080708101305.8702C3C697@busybox.net> <20080708120426.GB30117@cloud.net.au> <87bq18mtwg.fsf@macbook.be.48ers.dk> <87lk0cjyh3.fsf@macbook.be.48ers.dk> Message-ID: <4873963D.5040304@atmel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thiago A. Corr?a skrev: > On Tue, Jul 8, 2008 at 10:29 AM, Peter Korsgaard 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 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-----