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
This commit is contained in:
Daniel Agar
2015-04-18 01:25:54 -04:00
parent b53a33bc51
commit 207b57869d
8 changed files with 9 additions and 18 deletions
-5
View File
@@ -180,11 +180,6 @@ GLOBAL_DEPS += $(MAKEFILE_LIST)
EXTRA_CLEANS =
#
# Extra defines for compilation
#
export EXTRADEFINES := -DGIT_VERSION=$(GIT_DESC)
#
# Append the per-board driver directory to the header search path.
#