diff options
author | Daniel Agar <daniel@agar.ca> | 2015-04-18 00:57:26 -0400 |
---|---|---|
committer | Daniel Agar <daniel@agar.ca> | 2015-04-18 01:25:54 -0400 |
commit | 207b57869d7ed44950a51bbd9632a8549d7a9c49 (patch) | |
tree | 058febbd95ea40c7eb0ba2b926d9378cd7022d0d /src/lib | |
parent | b53a33bc513a33c784b37a700058bfbc1e15c985 (diff) | |
download | px4-firmware-207b57869d7ed44950a51bbd9632a8549d7a9c49.tar.gz px4-firmware-207b57869d7ed44950a51bbd9632a8549d7a9c49.tar.bz2 px4-firmware-207b57869d7ed44950a51bbd9632a8549d7a9c49.zip |
only define GIT_VERSION where it's used
-when the git revision is passed to every file as a define it causes
unnecessary ccache cache misses
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/version/version.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/version/version.h b/src/lib/version/version.h index 873240630..b79fee182 100644 --- a/src/lib/version/version.h +++ b/src/lib/version/version.h @@ -43,14 +43,6 @@ #ifndef VERSION_H_ #define VERSION_H_ -/* - GIT_VERSION is defined at build time via a Makefile call to the - git command line. - */ -#define FREEZE_STR(s) #s -#define STRINGIFY(s) FREEZE_STR(s) -#define FW_GIT STRINGIFY(GIT_VERSION) - #ifdef CONFIG_ARCH_BOARD_PX4FMU_V1 #define HW_ARCH "PX4FMU_V1" #endif |