All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 7/8] package/autotools: add --{enable, disable}-{shared, static} automatically
Date: Sun, 12 Jun 2011 21:59:29 +0200	[thread overview]
Message-ID: <87k4cq7rdq.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <dac0f2005b38138ceb18943190580c3bd392a4fa.1306792524.git.thomas.petazzoni@free-electrons.com> (Thomas Petazzoni's message of "Mon, 30 May 2011 23:57:02 +0200")

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> For target packages, depending on BR2_PREFER_STATIC_LIB, add the
 Thomas> correct combination of --{enable,disable}-{shared,static} flags to
 Thomas> ./configure calls.

 Thomas>   * When BR2_PREFER_STATIC_LIB is enabled, we pass --enable-static
 Thomas>   --disable-shared.

 Thomas>   * When BR2_PREFER_STATIC_LIB is disabled, we pass --enable-static
 Thomas>   --enable-shared. We enable static libraries since they can still be
 Thomas>   useful to statically link applications against some libraries
 Thomas>   (sometimes it is useful for size reasons). Static libraries are
 Thomas>   anyway only installed in the STAGING_DIR, so it doesn't increase in
 Thomas>   any way the size of the TARGET_DIR.

But it does mean that autotools stuff now gets built twice, increasing
the build time..

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2011-06-12 19:59 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-30 21:56 [Buildroot] [pull request] Pull request for branch for-2011.08/no-mmu-blackfin Thomas Petazzoni
2011-05-30 21:56 ` [Buildroot] [PATCH 1/8] blackfin: support external toolchains provided by blackfin.uclibc.org Thomas Petazzoni
2011-05-30 21:56 ` [Buildroot] [PATCH 2/8] toolchain: introduce BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS Thomas Petazzoni
2011-05-30 21:56 ` [Buildroot] [PATCH 3/8] busybox: tune config according to BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS Thomas Petazzoni
2011-05-30 21:56 ` [Buildroot] [PATCH 4/8] busybox: adjust configuration for non-MMU targets Thomas Petazzoni
2011-05-30 21:57 ` [Buildroot] [PATCH 5/8] Mark some packages as not usable on non-MMU systems Thomas Petazzoni
2011-06-12 19:55   ` Peter Korsgaard
2011-06-12 22:14     ` Thomas Petazzoni
2011-05-30 21:57 ` [Buildroot] [PATCH 6/8] Remove unused variable definitions Thomas Petazzoni
2011-05-30 21:57 ` [Buildroot] [PATCH 7/8] package/autotools: add --{enable, disable}-{shared, static} automatically Thomas Petazzoni
2011-06-12 19:59   ` Peter Korsgaard [this message]
2011-06-12 22:16     ` Thomas Petazzoni
2011-06-13 21:39       ` Peter Korsgaard
2011-06-14  6:54         ` Thomas Petazzoni
2011-06-15  6:37           ` Peter Korsgaard
2011-06-15  6:47             ` Thomas Petazzoni
2011-06-15  7:09               ` Peter Korsgaard
2011-06-15  7:28               ` ANDY KENNEDY
2011-06-15  7:33                 ` Peter Korsgaard
2011-05-30 21:57 ` [Buildroot] [PATCH 8/8] packages: remove --{enable, disable}-{shared, static} from autotools packages Thomas Petazzoni
2011-06-12 21:06 ` [Buildroot] [pull request] Pull request for branch for-2011.08/no-mmu-blackfin Peter Korsgaard

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=87k4cq7rdq.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --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.