diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2015-10-13 15:09:40 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2015-10-15 10:55:03 -0400 |
commit | a6c877401b748092e2e7799bfb4a4bd84729b1da (patch) | |
tree | 4d194c555df8d6f8181459f2b37e82144ef7532c /src/version.c | |
parent | 5d91226e897b8209f7acefc1806a3cbf90a5394e (diff) | |
download | seabios-a6c877401b748092e2e7799bfb4a4bd84729b1da.tar.gz |
build: Rework version generation; don't allow make version override
Convert the script to generate the build version from a shell script
to a python script.
Remove the ability to override the version at build time via "make
VERSION=xyz". Replace it with ability to add extra version
information at build time via "make EXTRAVERSION=xyz".
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/version.c')
-rw-r--r-- | src/version.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c new file mode 100644 index 00000000..d8c266fb --- /dev/null +++ b/src/version.c @@ -0,0 +1,4 @@ +// Place build generated version into a C variable +#include "autoversion.h" + +char VERSION[] = BUILD_VERSION; |