projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux/brcm47xx: include a missing 2.6.37 file (thank you hauke)
[openwrt.git]
/
target
/
linux
/
ifxmips
/
extract.sh
diff --git
a/target/linux/ifxmips/extract.sh
b/target/linux/ifxmips/extract.sh
index
7b1c1da
..
98e413e
100755
(executable)
--- a/
target/linux/ifxmips/extract.sh
+++ b/
target/linux/ifxmips/extract.sh
@@
-11,15
+11,17
@@
echo "Please only do so if it is legal in your country"
exit 1
}
exit 1
}
-[ -f ${DIR}/ifxmips_fw_decode.tar.bz2 -a ! -f ${DIR}voip_coef.bin ] && {
- [ ! -f ${DIR}decode_ifx_fw ] && {
- tar xjf ${DIR}ifxmips_fw_decode.tar.bz2 ifxmips_fw_decode/decode.c -O > ${DIR}decode.c
+[ -f ${DIR}/ifxmips_fw_decode
v2
.tar.bz2 -a ! -f ${DIR}voip_coef.bin ] && {
+ [ ! -f ${DIR}decode_ifx_fw
&& -f ${DIR}ifxmips_fw_decodev2.tar.bz2
] && {
+ tar xjf ${DIR}ifxmips_fw_decode
v2
.tar.bz2 ifxmips_fw_decode/decode.c -O > ${DIR}decode.c
gcc -o ${DIR}decode_ifx_fw ${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
}
[ ! -f ${DIR}dsl_a.bin ] && {
dd if=${FILE} of=${DIR}dsl1.lzma bs=1 skip=2168832 count=150724
This page took
0.022183 seconds
and
4
git commands to generate.