rename version.c into version_pm3.c to avoid clash with mbedtls and other future clashes
This commit is contained in:
15
common/default_version_pm3.c
Normal file
15
common/default_version_pm3.c
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "common.h"
|
||||
/* This is the default version_pm3.c file that Makefile.common falls back to if neither sh nor perl are available */
|
||||
#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 */
|
||||
2, /* cleanliness couldn't be determined */
|
||||
/* Remaining fields: zero */
|
||||
};
|
||||
Reference in New Issue
Block a user