Trying automagic version stuff
This commit is contained in:
10
common/version.c
Normal file
10
common/version.c
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#define VERSION "$Id $"
|
||||||
|
static const struct __attribute__((packed)) {
|
||||||
|
const char string[48];
|
||||||
|
unsigned int length;
|
||||||
|
unsigned int magic;
|
||||||
|
} version __attribute__((unused,section("versioninformation"))) = {
|
||||||
|
VERSION,
|
||||||
|
sizeof(VERSION),
|
||||||
|
0x48151623,
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user