diff options
author | Ben Gardner <gardner.ben@gmail.com> | 2016-01-20 10:17:38 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-01-21 16:42:23 +0100 |
commit | 48c232c1dab2f56dae19d1054602ecccae5ccf30 (patch) | |
tree | f8cddf88046dbff55174327c87afcf6f4cd2fbac /src/mainboard/sunw | |
parent | bdaa1b5a722d34417b074263a5e434b0c1c6cbc7 (diff) |
Makefile.inc: allow coreboot to be a git submodule
When coreboot is pulled in as a submodule, the .git "folder" is a file,
not a folder. Use the '-e' test instead of '-d' to allow for that.
Without this change, build.h will contain:
#define COREBOOT_VERSION "coreboot-unknown"
Change-Id: Ia141371cc892a0817d3566dc37ed0401675ad8d8
Signed-off-by: Ben Gardner <gardner.ben@gmail.com>
Reviewed-on: https://review.coreboot.org/13061
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/sunw')
0 files changed, 0 insertions, 0 deletions