6 Commits

Author SHA1 Message Date
David Sidrane
de97ff163b NuttX/nuttx got tagged and broke git version version exraction
This is part one of a fix for cascading failure. The NuttX
  nuttx repos was tagged with upstream_7.18+ and broke the tag
  extraction that was expecting nuttx-M.mm
2017-07-14 10:46:30 +02:00
garfieldG
44e148151b Fixed the version naming 2017-07-09 13:08:49 +02:00
Beat Küng
18ea5ec1f8 logger: add git branch name to the log 2017-07-07 17:06:48 +02:00
Lorenz Meier
ea223505ae Tools: Add MAVLink libary git hash to exported symbols 2017-06-04 16:14:00 +08:00
David Sidrane
95fd2cd184 Create NuttX git hash and tag 2017-05-03 08:18:47 +02:00
Lucas De Marchi
9ee478e1f7 cmake: fix update of git hashes
Since the git hashes were being generate by cmake it would only be
generated if the header file was not present. Simple test:

    $ make aerofc-v1_default
    $ touch a
    $ git add a
    $ git commit -m tmp
    $ make aerofc-v1_default

The file build_aerofc-v1_default/build_git_version.h should have the new
hashes and the correspondent .c/c.pp files should be rebuilt, but they
aren't.  The end result is that checking the version with "ver git" in
the nsh console will point to the wrong commit.

This moves the generation of the header to a separate tool and enforces
the command to be executed every time.
2016-12-21 14:09:41 +01:00