Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Heidelberg <markus.heidelberg@web.de>
To: buildroot@busybox.net
Subject: [Buildroot] Synchronisation of dependencies between Config.in and .mk files ?
Date: Tue, 28 Oct 2008 00:26:53 +0100	[thread overview]
Message-ID: <200810280026.53773.markus.heidelberg@web.de> (raw)
In-Reply-To: <e4c675870810271533q21914df7od498b0be858600e2@mail.gmail.com>

Roberto A. Foglietta, 27.10.2008:
> 2008/10/27 Markus Heidelberg <markus.heidelberg@web.de>:
> > When reading it from the Makefiles, you couldn't automatically decide whether
> > to use "select" or "depends on", because in the Makefile there is no
> > difference between them.
> 
>  Reading/including only those .mk for which packages has been selected
> and the meaning became always: 'select'
> 
>  I think the use of "depends on" in Config.in should be used ONLY when
> arch restrictions have been involved.

Definitely not. For example sdl_image depends on sdl instead of selecting it.
So you can have a hierarchical menu in Config.in and hide all the sdl_
packages unless sdl is not activated. Of course this is only possible for
packages in direct relation to each other.

>  Example: I need nfs but nfs 'depends on' rpc... the first time in the
> menuconfig I will waste minutes to understand I have to select rpc in
> order to select nfs, why? If I want a cold beer I ask for a cold beer.
> Why I have to ask "do you have the freezer pluged in", before? It is
> obvious that a freezer is needed for a cold beer but it is not obvious
> asking for a freezer when you are looking for a beer.

There are settings that probably shouldn't be selected automatically, for
example such which require a recompilation of the toolchain. In this case
there could also be a "comment NFS needs RPC" in the Config.in. But I think
that is hard to decide, there shouldn't be too much comments in menuconfig.

Markus

  reply	other threads:[~2008-10-27 23:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-27 16:56 [Buildroot] Synchronisation of dependencies between Config.in and .mk files ? Thomas Petazzoni
2008-10-27 17:32 ` Roberto A. Foglietta
2008-10-27 18:43 ` Peter Korsgaard
2008-10-27 20:11   ` Thomas Petazzoni
2008-10-27 20:32     ` Peter Korsgaard
2008-10-27 20:46       ` Roberto A. Foglietta
2008-10-27 21:47     ` Markus Heidelberg
2008-10-27 22:33       ` Roberto A. Foglietta
2008-10-27 23:26         ` Markus Heidelberg [this message]
2008-10-28  0:07         ` Grant Likely
2008-10-28  7:32         ` 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=200810280026.53773.markus.heidelberg@web.de \
    --to=markus.heidelberg@web.de \
    --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