mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
build: really handle colon in windows path names in bino symbol transform
colon in windows paths needs to be converted to an underscore, not removed entirely from the symbol names autogenerated by objcopy.
This commit is contained in:
parent
4c4136c75e
commit
5ea814ae12
@ -71,9 +71,9 @@ gccversion :
|
||||
$(V1) $(OBJCOPY) -I binary -O elf32-littlearm --binary-architecture arm \
|
||||
--rename-section .data=.rodata,alloc,load,readonly,data,contents \
|
||||
--wildcard \
|
||||
--redefine-sym _binary_$(subst :,,$(subst -,_,$(subst .,_,$(subst /,_,$<))))_start=_binary_start \
|
||||
--redefine-sym _binary_$(subst :,,$(subst -,_,$(subst .,_,$(subst /,_,$<))))_end=_binary_end \
|
||||
--redefine-sym _binary_$(subst :,,$(subst -,_,$(subst .,_,$(subst /,_,$<))))_size=_binary_size \
|
||||
--redefine-sym _binary_$(subst :,_,$(subst -,_,$(subst .,_,$(subst /,_,$<))))_start=_binary_start \
|
||||
--redefine-sym _binary_$(subst :,_,$(subst -,_,$(subst .,_,$(subst /,_,$<))))_end=_binary_end \
|
||||
--redefine-sym _binary_$(subst :,_,$(subst -,_,$(subst .,_,$(subst /,_,$<))))_size=_binary_size \
|
||||
$< $@
|
||||
|
||||
# Create extended listing file/disassambly from ELF output file.
|
||||
|
Loading…
x
Reference in New Issue
Block a user