version info also for client, still cmake to do

This commit is contained in:
Philippe Teuwen 2020-05-20 15:53:47 +02:00
commit ef586c2a41
12 changed files with 69 additions and 53 deletions

9
common/default_version.c Normal file
View file

@ -0,0 +1,9 @@
#include "common.h"
/* This is the default version.c file that Makefile.common falls back to if neither sh nor perl are available */
const struct version_information __attribute__((section(".version_information"))) version_information = {
VERSION_INFORMATION_MAGIC,
1, /* version 1 */
0, /* version information not present */
2, /* cleanliness couldn't be determined */
/* Remaining fields: zero */
};