All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [RFC] iputils (meson build system) has git version from buildroot instead of iputils
@ 2022-05-10 20:15 Petr Vorel
  2022-05-10 21:47 ` Fabrice Fontaine
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Vorel @ 2022-05-10 20:15 UTC (permalink / raw)
  To: buildroot; +Cc: Eric Le Bihan, Yann E. MORIN, Dagg Stompler, Fabrice Fontaine

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-15  5:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-10 20:15 [Buildroot] [RFC] iputils (meson build system) has git version from buildroot instead of iputils Petr Vorel
2022-05-10 21:47 ` Fabrice Fontaine
2022-05-11  6:42   ` Arnout Vandecappelle
2022-05-15  5:42     ` Petr Vorel

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.