1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

firmware-defs.mk: added '+' to replace_special_characters

This commit is contained in:
James Duley 2015-03-03 14:25:41 +13:00
parent 0b20faf6a3
commit 54df9d1ea0

View File

@ -72,7 +72,7 @@ MSG_FLASH_IMG = $(QUOTE) FLASH_IMG $(MSG_EXTRA) $(QUOTE)
toprel = $(subst $(realpath $(ROOT_DIR))/,,$(abspath $(1))) toprel = $(subst $(realpath $(ROOT_DIR))/,,$(abspath $(1)))
# Function to replace special characters like is done for the symbols. # Function to replace special characters like is done for the symbols.
replace_special_chars = $(subst ~,_,$(subst @,_,$(subst :,_,$(subst -,_,$(subst .,_,$(subst /,_,$1)))))) replace_special_chars = $(subst +,_,$(subst ~,_,$(subst @,_,$(subst :,_,$(subst -,_,$(subst .,_,$(subst /,_,$1)))))))
# Display compiler version information. # Display compiler version information.
.PHONY: gccversion .PHONY: gccversion