diff options
author | John Crispin <john@openwrt.org> | 2010-11-03 19:02:27 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2010-11-03 19:02:27 +0000 |
commit | 251535331cb7393bc911dfd5a7c01f670b292549 (patch) | |
tree | 52d4fa9c44a169c9ed8878b7bda7c5f23789447e /target/linux/ifxmips/extract.sh | |
parent | 100fc4c7cec5500314c20c5d9a2ff0aa8a07a04a (diff) | |
download | upstream-251535331cb7393bc911dfd5a7c01f670b292549.tar.gz upstream-251535331cb7393bc911dfd5a7c01f670b292549.tar.bz2 upstream-251535331cb7393bc911dfd5a7c01f670b292549.zip |
* bump kernel to 2.6.35.8 * merge arcadyn mach files * fixes ar9 * adds hack for tapi drivers
SVN-Revision: 23836
Diffstat (limited to 'target/linux/ifxmips/extract.sh')
-rwxr-xr-x | target/linux/ifxmips/extract.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/ifxmips/extract.sh b/target/linux/ifxmips/extract.sh index 52dfbd56ea..98e413e0b4 100755 --- a/target/linux/ifxmips/extract.sh +++ b/target/linux/ifxmips/extract.sh @@ -12,14 +12,16 @@ echo "Please only do so if it is legal in your country" } [ -f ${DIR}/ifxmips_fw_decodev2.tar.bz2 -a ! -f ${DIR}voip_coef.bin ] && { - [ ! -f ${DIR}decode_ifx_fw ] && { + [ ! -f ${DIR}decode_ifx_fw && -f ${DIR}ifxmips_fw_decodev2.tar.bz2 ] && { tar xjf ${DIR}ifxmips_fw_decodev2.tar.bz2 ifxmips_fw_decode/decode.c -O > ${DIR}decode.c gcc -o ${DIR}decode_ifx_fw ${DIR}decode.c } - [ ! -f ${DIR}voip_coef.lzma ] && { - ${DIR}decode_ifx_fw $FILE ${DIR}voip_coef.lzma + [ ! -f ${DIR}decode_ifx_fw ] && { + [ ! -f ${DIR}voip_coef.lzma ] && { + ${DIR}decode_ifx_fw $FILE ${DIR}voip_coef.lzma + } + lzma d ${DIR}voip_coef.lzma ${DIR}voip_coef.bin } - lzma d ${DIR}voip_coef.lzma ${DIR}voip_coef.bin } [ ! -f ${DIR}dsl_a.bin ] && { dd if=${FILE} of=${DIR}dsl1.lzma bs=1 skip=2168832 count=150724 |