[PATCH 1/2] cpukit: Add the git hash to the version if built from git source.
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Nov 6 06:23:50 UTC 2017
How reliable is this Autoconf stuff? Do I have to re-build everything
after each Git checkout (cpuopts.h is included in nearly every header)?
Why can't we use a Git post-checkout hook (attached)?
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
-------------- next part --------------
#!/bin/sh
git --no-pager log -1 --pretty=format:'const char rtems_git_hash[] = "%H";%n' HEAD > cpukit/score/src/githash.c
More information about the devel
mailing list