diff options
Diffstat (limited to 'build_tools')
-rwxr-xr-x | build_tools/make_firmware_object | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_tools/make_firmware_object b/build_tools/make_firmware_object index b00c8f9..4d72110 100755 --- a/build_tools/make_firmware_object +++ b/build_tools/make_firmware_object @@ -6,7 +6,7 @@ # 2 - output file # 3 - template output file (used to learn desired format) -bfdname=`objdump -f ${3} | grep -e "${3}:" | sed "s/.*file format \(.*\)/\1/"` -bfdarch=`objdump -f ${3} | grep -e "architecture:" | sed "s/.*ture: \(.*\),.*/\1/"` +bfdname=`LANG=C objdump -f ${3} | grep -e "${3}:" | sed "s/.*file format \(.*\)/\1/"` +bfdarch=`LANG=C objdump -f ${3} | grep -e "architecture:" | sed "s/.*ture: \(.*\),.*/\1/"` objcopy -I binary ${1} -B ${bfdarch} -O ${bfdname} ${2} --rename-section .data=.rodata,alloc,load,data,contents,readonly |