From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] depend or select in Config.in & Autotarget question
Date: Mon, 2 Mar 2009 13:06:44 +0100 [thread overview]
Message-ID: <20090302130644.1162039b@hcegtvedt> (raw)
In-Reply-To: <20090302124019.106a2593@bandomeer.europe.flane.local>
On Mon, 2 Mar 2009 12:40:19 +0100
Olaf Rempel <razzor@kopf-tisch.de> wrote:
> Hi List,
>
> what is the preferred method to resolve package dependencies in
> Config.in? eg. when package-B needs package-A to build, should B
> "select" A or should B "depend" on A?
Packages can select other packages. For example if you application
depends on one or more libraries/software, then you should select these
packages.
Packages depends on toolchain options, so that you need to configure
your toolchain correct before you go out selecting packages.
Changing the toolchain after a first build will set you back all the
way to start.
> And when using "depend" should there be an info when A is not active
> (like ipsec-tools => openssl)?
>
Yes, but typically we make a comment which depends on the missing
depends.
I.e. "Qt - disabled (requires C++ support)", or I think something
similar is present in the kconfig menu.
> I've started with the Makefile.autotools.in conversion of some
> packages that I use. When should a AUTORECONF:=yes be used? So far it
> had no affect in my tests?
>
autoreconf may be needed for packages where mainline is shipping
outdated scripts which does not work anymore for up to date
distributions/new architectures.
If it's not needed for the package to compile, do not set it. It will
only slow down the build time.
--
Best regards,
Hans-Christian Egtvedt
next prev parent reply other threads:[~2009-03-02 12:06 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 [this message]
2009-03-02 12:24 ` 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=20090302130644.1162039b@hcegtvedt \
--to=hans-christian.egtvedt@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox