aboutsummaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorDaniel Agar <daniel@agar.ca>2015-04-18 00:57:26 -0400
committerDaniel Agar <daniel@agar.ca>2015-04-18 01:25:54 -0400
commit207b57869d7ed44950a51bbd9632a8549d7a9c49 (patch)
tree058febbd95ea40c7eb0ba2b926d9378cd7022d0d /makefiles
parentb53a33bc513a33c784b37a700058bfbc1e15c985 (diff)
downloadpx4-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 'makefiles')
-rw-r--r--makefiles/firmware.mk5
1 files changed, 0 insertions, 5 deletions
diff --git a/makefiles/firmware.mk b/makefiles/firmware.mk
index 21e8739aa..4c10de931 100644
--- a/makefiles/firmware.mk
+++ b/makefiles/firmware.mk
@@ -181,11 +181,6 @@ EXTRA_CLEANS =
#
-# Extra defines for compilation
-#
-export EXTRADEFINES := -DGIT_VERSION=$(GIT_DESC)
-
-#
# Append the per-board driver directory to the header search path.
#
INCLUDE_DIRS += $(PX4_MODULE_SRC)drivers/boards/$(BOARD)