]> code.ossystems Code Review - openembedded-core.git/commit
kernel: Set SOURCE_DATE_EPOCH to kernel git timestamp if not set
authorAlex Kiernan <alex.kiernan@gmail.com>
Tue, 26 Jun 2018 12:08:56 +0000 (12:08 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Jun 2018 08:22:30 +0000 (09:22 +0100)
commit2f0dd67a5a8d4269f5155004d532d8fa972b3223
tree175cd6dd3f33eef49b93a883c948e94a26ed4ac6
parent1c2197f96d69547e10b74dc722d9a569d9a2b2b6
kernel: Set SOURCE_DATE_EPOCH to kernel git timestamp if not set

If SOURCE_DATE_EPOCH is unset (in addition to the existing "0" behaviour)
parse out the top most commit timestamp from the kernel tree to use as the
timestamp.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass