All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Bug in pkg-stats?
Date: Thu, 6 Oct 2011 09:52:33 +0200	[thread overview]
Message-ID: <20111006095233.200f977e@skate> (raw)
In-Reply-To: <87obxvntns.fsf@macbook.be.48ers.dk>

Le Wed, 05 Oct 2011 21:08:07 +0200,
Peter Korsgaard <jacmet@uclibc.org> a ?crit :

> Well, I think the info in useful, but as buildroot already knows the
> version (except for unconfigured packages), wouldn't it make more
> sense to add a <pkg>-version target to GENTARGETS and use that
> instead?

I agree here. Grepping/seding/awking into the .mk file sounds horrible
and does not work for package that do:

pkg_VERSION = $(pkg_VERSION_MAJOR).5

So, yes, if you want to do this, please add a <pkg>-show-version in
GENTARGETS, just as we have <pkg>-show-depends. Of course, this will
slow down quite a bit the pkg-stats script, but we don't really need
this script to be fast.

Regards,

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

      reply	other threads:[~2011-10-06  7:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-04 22:35 [Buildroot] Bug in pkg-stats? H Hartley Sweeten
2011-10-04 23:05 ` H Hartley Sweeten
2011-10-05  6:43   ` Thomas Petazzoni
2011-10-05 17:09     ` H Hartley Sweeten
2011-10-05 18:36       ` Peter Korsgaard
2011-10-05 18:52         ` H Hartley Sweeten
2011-10-05 19:08           ` Peter Korsgaard
2011-10-06  7:52             ` Thomas Petazzoni [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=20111006095233.200f977e@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.