diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-10-28 18:26:04 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-10-28 18:26:04 +0000 |
commit | f6b333c29926fba9141491d078c5bd0a85c83172 (patch) | |
tree | d2763f1026198221b8b456565dc2a9e1fbdbba89 /build_tools/make_firmware_object | |
parent | 60514309c0a2edc2bbb9bca527e10ceeef0c5691 (diff) |
Firmware object file building does not depend anymore on another object
to be linked into the same module.
That dependency existed solely for checking target binary properties in
make_firmware_object . Those properties are now checked in autoconf.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3198 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'build_tools/make_firmware_object')
-rwxr-xr-x | build_tools/make_firmware_object | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/build_tools/make_firmware_object b/build_tools/make_firmware_object deleted file mode 100755 index 4d72110..0000000 --- a/build_tools/make_firmware_object +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -e - -# make an object file from a raw binary firmware file -# arguments: -# 1 - firmware file -# 2 - output file -# 3 - template output file (used to learn desired format) - -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 |