VPPAPIGEN: use SOURCE_DATE_EPOCH for datestring 69/13269/4
authorNirmoy Das <nirmoy.aiemd@gmail.com>
Thu, 28 Jun 2018 08:18:43 +0000 (10:18 +0200)
committerOle Trøan <otroan@employees.org>
Fri, 29 Jun 2018 11:21:12 +0000 (11:21 +0000)
commitc9f40227836b827b71a6cbc4744d4b7151b2fcef
tree22ce6114031e594adf40812338931d545df38c2d
parent10a0989a30f00e4705078ccfc0c03e8a7652eb2d
VPPAPIGEN: use SOURCE_DATE_EPOCH for datestring

bwiedemann@suse.com pointed me that:
For reproducible builds datestring should be generated using
SOURCE_DATE_EPOCH which distributions set centrally, and have build
tools that consume it to produce reproducible output.

https://wiki.debian.org/ReproducibleBuilds/TimestampsProposal#Python

Change-Id: Iefa2b93231bbc4c8af49736be4d7a5720c46b28d
Signed-off-by: Nirmoy Das <nirmoy.aiemd@gmail.com>
src/tools/vppapigen/C.py