All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@grandegger.com>
To: buildroot@busybox.net
Subject: [Buildroot] How to get the (GIT) Version string into the source code
Date: Thu, 10 Oct 2019 15:54:42 +0200	[thread overview]
Message-ID: <b96c8d0a-48b2-9735-7c38-01cd7f826035@grandegger.com> (raw)

Hello,

I'm looking for a simple method to get the package version string used
by buildroot into the source code of that package. Unfortunately, the
GIT version information is stripped off. For the moment, I use the name
of the build directory and pass it to the code via Makefile, but maybe
there is a more elegant version.

Wolfgang

             reply	other threads:[~2019-10-10 13:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-10 13:54 Wolfgang Grandegger [this message]
2019-10-10 16:59 ` [Buildroot] How to get the (GIT) Version string into the source code Christian Stewart
2019-10-11 10:32   ` Wolfgang Grandegger

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=b96c8d0a-48b2-9735-7c38-01cd7f826035@grandegger.com \
    --to=wg@grandegger.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.