diff options
| author | Florian Schmaus | 2014-07-28 17:47:48 +0200 |
|---|---|---|
| committer | Michael Brown | 2014-07-28 17:57:39 +0200 |
| commit | 6153c09c41034250408f3596555fcaae715da46c (patch) | |
| tree | 03a4f9ece170c58051cdb46c0ea060f5fb58be9b /src/usr | |
| parent | [efi] Show more diagnostic information when building with DEBUG=efi_wrap (diff) | |
| download | ipxe-6153c09c41034250408f3596555fcaae715da46c.tar.gz ipxe-6153c09c41034250408f3596555fcaae715da46c.tar.xz ipxe-6153c09c41034250408f3596555fcaae715da46c.zip | |
[build] Set GITVERSION only if there is a git repository
The $(BIN)/version.%.o target will fail if iPXE is built within a
non-git repository, e.g. when the user downloaded and extracted an
archive containing iPXE sources, *and* if any parent directory of the
iPXE sources is a git repository (or even contains a directory named
".git"). This is because git will by default ascend the directory
tree and look for ".git".
The problem typically manifests on source based distributions, see for
example https://bugs.gentoo.org/show_bug.cgi?id=482804
Modified-by: Michael Brown <mcb30@ipxe.org>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/usr')
0 files changed, 0 insertions, 0 deletions
