extracted firmware files were generated with an incorrect umask

SVN-Revision: 22957
This commit is contained in:
John Crispin 2010-09-06 16:34:45 +00:00
parent 54f4dd5612
commit 72d4242263
2 changed files with 4 additions and 4 deletions

View file

@ -104,9 +104,9 @@ endif
ifeq ($(CONFIG_VOICE_CPE_VMMC_WITH_DEVICE_DANUBE_extract),y)
define Download/decode
FILE:=ifxmips_fw_decode.tar.bz2
FILE:=ifxmips_fw_decodev2.tar.bz2
URL:=http://downloads.openwrt.org/sources/
MD5SUM:=1197ff6cace6a7c86492a468f5fbfe07
MD5SUM:=9f4ebfae5cb9d9e8fca46057a653ae27
endef
$(eval $(call Download,decode))
endif

View file

@ -11,9 +11,9 @@ echo "Please only do so if it is legal in your country"
exit 1
}
[ -f ${DIR}/ifxmips_fw_decode.tar.bz2 -a ! -f ${DIR}voip_coef.bin ] && {
[ -f ${DIR}/ifxmips_fw_decodev2.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
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 ] && {