From: Petr Vorel <petr.vorel@gmail.com>
To: buildroot@buildroot.org
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>,
"Yann E. MORIN" <yann.morin.1998@free.fr>,
Dagg Stompler <daggs@gmx.com>,
Fabrice Fontaine <fontaine.fabrice@gmail.com>
Subject: [Buildroot] [RFC] iputils (meson build system) has git version from buildroot instead of iputils
Date: Tue, 10 May 2022 22:15:58 +0200 [thread overview]
Message-ID: <YnrH/mfbuJHRpYnw@pevik> (raw)
Hi all,
meson.build [1] uses git-version.h.meson [2] to produce BUILD_DIRECTORY/git-version.h.
Building from sources (not in Buildroot) it works:
$ head -1 builddir/git-version.h
#define PACKAGE_VERSION "20211215-15-g309f285"
But building in Buildroot it gets git version from Buildroot:
$ head -1 output/build/iputils-20211215/build/git-version.h
#define PACKAGE_VERSION "2022.02-876-g3ef096786a"
Is it a bug in iputils or in Buildroot meson?
Any idea how to fix it?
Kind regards,
Petr
[1] https://github.com/iputils/iputils/blob/master/meson.build#L14
[2] https://github.com/iputils/iputils/blob/master/git-version.h.meson
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2022-05-10 20:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-10 20:15 Petr Vorel [this message]
2022-05-10 21:47 ` [Buildroot] [RFC] iputils (meson build system) has git version from buildroot instead of iputils Fabrice Fontaine
2022-05-11 6:42 ` Arnout Vandecappelle
2022-05-15 5:42 ` Petr Vorel
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=YnrH/mfbuJHRpYnw@pevik \
--to=petr.vorel@gmail.com \
--cc=buildroot@buildroot.org \
--cc=daggs@gmx.com \
--cc=eric.le.bihan.dev@free.fr \
--cc=fontaine.fabrice@gmail.com \
--cc=yann.morin.1998@free.fr \
/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.