Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] sconeserver: new package
Date: Fri, 27 Jul 2012 08:45:03 +0200	[thread overview]
Message-ID: <20120727084503.045fbb14@skate> (raw)
In-Reply-To: <50117709.8060209@mind.be>

Le Thu, 26 Jul 2012 18:57:45 +0200,
Arnout Vandecappelle <arnout@mind.be> a ?crit :

> > +	help
> > +	  Example modules for SconeServer
> > +
> > +config BR2_PACKAGE_SCONESERVER_SSL
> > +	bool "ssl"
> > +	default y
> 
>   Why does this default to y?
> 
>   Maybe you want
> default y if BR2_PACKAGE_OPENSSL
> 
>   however, I think that conflicts with the select statement below...

Also in general we don't have sub-options for things that depend on
packages: the package automatically enables the feature if the required
dependency is available.

I have the same problem with the VLC package currently being proposed
by Ismael: it has a huge number of sub-options, for each potential
dependency that the package might use.

On one hand having all these sub-options is a bit annoying, but:

 (*) It allows to have sub-options for things that depend on other
     libraries, but also for things that don't have dependencies.
     Otherwise, it's a bit strange: for --enable/--disable flags that
     don't require dependencies, we have a kconfig option, but for
     --enable/--disable flags that require dependencies, they get
     automatically enabled when the required dependency is available.

 (*) You may want to have SSL support in one component of your system,
     but not necessarily others.

Thoughts?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  parent reply	other threads:[~2012-07-27  6:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-23 13:49 [Buildroot] [PATCH] sconeserver: new package spdawson at gmail.com
2012-07-26 16:57 ` Arnout Vandecappelle
2012-07-26 23:14   ` Samuel Martin
2012-07-27  6:34     ` Thomas Petazzoni
2012-07-27  6:45   ` Thomas Petazzoni [this message]
2012-07-27  8:12     ` Simon Dawson
2012-07-27  8:27     ` Arnout Vandecappelle
2012-07-27  8:38       ` Simon Dawson
2012-07-27  8:39       ` Thomas Petazzoni
2012-07-27  8:43         ` Simon Dawson
2012-07-27  8:42   ` Simon Dawson

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=20120727084503.045fbb14@skate \
    --to=thomas.petazzoni@free-electrons.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