Merged release_v1.0.0 into master

This commit is contained in:
Lorenz Meier
2015-05-23 11:07:10 +02:00
12 changed files with 114 additions and 12 deletions

View File

@@ -55,7 +55,12 @@ GIT_DESC := $(shell git log -1 --pretty=format:%H)
ifneq ($(words $(GIT_DESC)),1)
GIT_DESC := "unknown_git_version"
endif
export GIT_DESC
GIT_DESC_SHORT := $(shell echo $(GIT_DESC) | cut -c1-16)
$(shell echo "#include <systemlib/git_version.h>" > $(BUILD_DIR)git_version.c)
$(shell echo "const char* px4_git_version = \"$(GIT_DESC)\";" >> $(BUILD_DIR)git_version.c)
$(shell echo "const uint64_t px4_git_version_binary = 0x$(GIT_DESC_SHORT);" >> $(BUILD_DIR)git_version.c)
#
# Canned firmware configurations that we (know how to) build.