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] User-enabled host packages?
Date: Fri, 30 Sep 2011 16:04:15 +0200	[thread overview]
Message-ID: <20110930160415.69616a8d@skate> (raw)
In-Reply-To: <4E79E001.7010409@lucaceresoli.net>

Hello,

In this e-mail, I'll try to summarize what I understand to be the
consensus on this issue and also what I, as a Buildroot contributor,
consider acceptable for integration :

 * It is desirable to have *some* host packages visible in the
   menuconfig interface, but *most* host packages should remain
   invisible as they are today, when those are solely used as build
   dependencies.

   The criteria on deciding whether an host package should be made
   visible or not depends on whether this host package contains
   utilities that are directly useful for development. Things like
   image generators, debugging or flashing utilities that run on the
   host but interact with a target, etc. are the typical types of
   host packages that are expected to be visible.

 * From a .mk file perspective, exposing some host packages requires no
   change to the existing infrastructure. All host packages must be
   stored in the package/ subdirectory, just like any other package. So
   even the omap-u-boot-utils proposed by Luca should be in
   package/omap-u-boot-utils, just like package/uboot-tools.

 * From a Config.in perspective, the host packages that need to be
   visible should implement a package/<foo>/Config.in.host file
   describing the configuration options. Those configuration options
   should have the BR2_HOST_PACKAGE_* prefix. All these Config.in.host
   files are included in a single "Packages -> Host utitities" submenu,
   from package/Config.in. There is no need to create subsections in
   this menu at the moment, since the number of utilities shown here is
   suspected to remain limited.

 * The package infrastructure is modified so that when a
   BR2_HOST_PACKAGE_<foo> option is enabled, then host-foo is added to
   the global TARGETS variable.

What do others think of this proposal? Peter, what is your feeling
about the general idea and this proposal? Can we go ahead and implement
something like proposed in this e-mail?

Regards,

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:[~2011-09-30 14:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-21 13:00 [Buildroot] User-enabled host packages? Luca Ceresoli
2011-09-21 13:31 ` Thomas Petazzoni
2011-09-22 20:15   ` Luca Ceresoli
2011-09-22 20:53   ` Arnout Vandecappelle
2011-09-23  7:46     ` Thomas Petazzoni
2011-09-30 12:50       ` Thomas De Schampheleire
2011-09-30 13:50         ` Arnout Vandecappelle
2011-09-30 14:04 ` Thomas Petazzoni [this message]
2011-09-30 16:46   ` Thomas De Schampheleire
2011-09-30 17:58     ` Thomas Petazzoni
2011-09-30 18:29       ` Thomas De Schampheleire
2011-09-30 21:57       ` Luca Ceresoli
2011-10-01 20:11       ` Arnout Vandecappelle

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=20110930160415.69616a8d@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