diff options
author | Alex Thiessen <alex.thiessen.de+coreboot@gmail.com> | 2018-01-14 11:59:47 +0000 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-01-23 05:33:02 +0000 |
commit | 1758fd2a32408b9206c41b8e71300494ee53f886 (patch) | |
tree | b6656976786ca89c4ecd888847e0f5b8272c4e72 /src/mainboard/intel | |
parent | ff4025c5f789b80e6552dd887c34c34642a98c64 (diff) |
util/genbuild_h: Add gitfile support
`genbuild_h.sh` checks whether it is running from a coreboot's own git
worktree to decide whether to use git as the time source. This check
fails when `${top}/.git` is a gitfile, e.g. when coreboot is a
submodule.
Add a proper `git rev-parse` call to check the condition, remove `$top`
which is not used anymore.
Change-Id: I8bb13d607a01f4f28fa8b165769e0a1f702da362
Signed-off-by: Alex Thiessen <alex.thiessen.de+coreboot@gmail.com>
Reviewed-on: https://review.coreboot.org/23256
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/intel')
0 files changed, 0 insertions, 0 deletions