aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2014-11-19 12:15:07 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2014-11-19 12:19:30 +1100
commit0b18bd2ae2db1e6fd15e859b00b23bb39886f528 (patch)
treeb6e2c141d55c2d274b152fadea92871a3f08e803 /.gitignore
parent0265f805be05f224fbcf3913fb4c604fa04da7e0 (diff)
downloadskiboot-0b18bd2ae2db1e6fd15e859b00b23bb39886f528.zip
skiboot-0b18bd2ae2db1e6fd15e859b00b23bb39886f528.tar.gz
skiboot-0b18bd2ae2db1e6fd15e859b00b23bb39886f528.tar.bz2
Implement skiboot versioning
We grab a version from git tags (or SKIBOOT_VERSION environment variable), optionally tack on EXTRA_VERSION (if from git) as well as add things to the git version number if we're ahead of the most recent tag or the tree is dirty. Also fix-up makefiles so that we don't have to rebuild version.c every time you run make. fsp attn area needed updating as we can have >40 character version strings. We also export the version string via device tree rather than just the gitid. For buildroot builds, setting SKIBOOT_VERSION environment variable to the tag you grab will do the correct thing. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 20fe583..fb5ed3a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,7 +17,7 @@ tags
cscope.out
asm/asm-offsets.s
include/asm-offsets.h
-gitid.c
+version.c
core/test/run-device
core/test/run-malloc
core/test/run-malloc-speed
@@ -36,3 +36,4 @@ libc/test/run-time
libc/test/run-time-gcov
libflash/test/test-flash
libflash/test/test-flash-gcov
+VERSION