Debian Codegraph @

drivers/dahdi/firmware/make_firmware_object.in

raw
1 #!/bin/sh -e
2
3 # make an object file from a raw binary firmware file
4 # arguments:
5 # 1 - firmware file
6 # 2 - output file
7
8 objcopy -I binary ${1} -B BFDARCH -O BFDNAME ${2} --rename-section .data=.rodata,alloc,load,data,contents,readonly