remove section version_information for client

This commit is contained in:
Philippe Teuwen 2020-05-20 20:54:37 +02:00
commit e2a20631c7
5 changed files with 22 additions and 5 deletions

View file

@ -1,6 +1,12 @@
#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 = {
#ifndef ON_DEVICE
#define SECTVERSINFO
#else
#define SECTVERSINFO __attribute__((section(".version_information")))
#endif
const struct version_information SECTVERSINFO version_information = {
VERSION_INFORMATION_MAGIC,
1, /* version 1 */
0, /* version information not present */