All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/openssl
Date: Tue, 08 Jul 2008 18:30:53 +0200	[thread overview]
Message-ID: <4873963D.5040304@atmel.com> (raw)
In-Reply-To: <d6cda7730807080635m5c2949e2me4b4cca844e82e07@mail.gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thiago A. Corr?a skrev:
> On Tue, Jul 8, 2008 at 10:29 AM, Peter Korsgaard <jacmet@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-----

  parent reply	other threads:[~2008-07-08 16:30 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-08 10:13 [Buildroot] svn commit: trunk/buildroot/package/openssl ulf at uclibc.org
2008-07-08 10:31 ` Peter Korsgaard
2008-07-08 12:04 ` Hamish Moffatt
2008-07-08 12:25   ` Thiago A. Corrêa
2008-07-08 12:39     ` Peter Korsgaard
2008-07-08 13:16       ` Thiago A. Corrêa
2008-07-08 13:29         ` Peter Korsgaard
2008-07-08 13:35           ` Thiago A. Corrêa
2008-07-08 13:45             ` Peter Korsgaard
2008-07-08 14:56               ` Thiago A. Corrêa
2008-07-08 15:02                 ` Peter Korsgaard
2008-07-08 15:34                   ` John Voltz
2008-07-08 15:42                     ` John Voltz
2008-07-08 16:30             ` Ulf Samuelsson [this message]
2008-07-08 16:48         ` Ulf Samuelsson
  -- strict thread matches above, loose matches on Subject: below --
2009-03-05 13:48 jacmet at uclibc.org
2009-02-24  0:37 hamish at uclibc.org
2009-01-21 20:31 jacmet at uclibc.org
2009-01-06 11:59 jacmet at uclibc.org
2008-12-28 16:08 jacmet at uclibc.org
2009-01-06 11:38 ` Mark Jackson
2009-01-06 12:00   ` Peter Korsgaard
2009-01-06 13:25     ` Mark Jackson
2008-10-13  8:10 egtvedt at uclibc.org
2008-10-07  7:11 egtvedt at uclibc.org
2008-09-24  9:12 egtvedt at uclibc.org
2008-09-24  9:10 egtvedt at uclibc.org
2008-07-08 13:49 jacmet at uclibc.org
2008-07-08  6:40 hamish at uclibc.org
2008-07-08  9:36 ` Ulf Samuelsson
2008-07-08 12:03   ` Hamish Moffatt
2008-07-05  7:25 ulf at uclibc.org
2008-07-05 15:55 ` Thiago A. Corrêa
2008-07-05 21:59   ` Ulf Samuelsson
2008-07-05  6:54 ulf at uclibc.org
2007-08-13 19:35 ulf at uclibc.org
2007-08-11 16:55 ulf at uclibc.org
2007-04-06 15:01 aldot at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4873963D.5040304@atmel.com \
    --to=ulf.samuelsson@atmel.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.