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 /vgasrc | |
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 'vgasrc')
-rw-r--r-- | vgasrc/vgaversion.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vgasrc/vgaversion.c b/vgasrc/vgaversion.c new file mode 100644 index 00000000..02c8ea38 --- /dev/null +++ b/vgasrc/vgaversion.c @@ -0,0 +1,5 @@ +// Place build generated version into a C variable +#include "autovgaversion.h" +#include "types.h" + +char VERSION[] VAR16 = BUILD_VERSION; |