Implement version information storage and retrieval for the bootrom and the osimage.

Use perl to create the version information (thereby re-creating the perl dependency and adding an svn dependency) but fall back in case of missing perl or svn
This commit is contained in:
henryk@ploetzli.ch committed 2009-08-28 06:40:44 +00:00
1 parent 42bc3be31c
commit 8a6aec16d8
13 files changed
+171 -13

No files matched your search

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