From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] depend or select in Config.in & Autotarget question
Date: Mon, 02 Mar 2009 13:24:47 +0100 [thread overview]
Message-ID: <87ocwkjenk.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <20090302124019.106a2593@bandomeer.europe.flane.local> (Olaf Rempel's message of "Mon\, 2 Mar 2009 12\:40\:19 +0100")
>>>>> "Olaf" == Olaf Rempel <razzor@kopf-tisch.de> writes:
Hi,
Olaf> what is the preferred method to resolve package dependencies in
Olaf> Config.in? eg. when package-B needs package-A to build, should
Olaf> B "select" A or should B "depend" on A?
We normally use select for dependencies to libraries, and depends on
toolchain configuration settings (E.G. C++ support).
The reason for this is that it isn't always obvious what you need to
enable to be able to select a certain program, and people normally
think in terms of applications and not libraries.
Changes to the toolchain on the other hand has a lot bigger impact, so
that shouldn't be done behind the back of the user (E.G. with a
select).
Olaf> And when using "depend" should there be an info when A is not
Olaf> active (like ipsec-tools => openssl)?
ipsec-tools should select openssl instead - Will fix.
Olaf> I've started with the Makefile.autotools.in conversion of some
Olaf> packages that I use. When should a AUTORECONF:=yes be used? So
Olaf> far it had no affect in my tests?
Autoreconf is normally only used if you change the auto* source files
(configure.ac, Makefile.am, ..) and want to regenerate the derived files.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2009-03-02 12:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-02 11:40 [Buildroot] depend or select in Config.in & Autotarget question Olaf Rempel
2009-03-02 12:06 ` Hans-Christian Egtvedt
2009-03-02 12:24 ` Peter Korsgaard [this message]
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=87ocwkjenk.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox