summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/rtkload/lzma
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2013-05-17 20:40:24 +0300
committerRoman Yeryomin <roman@advem.lv>2013-05-17 20:40:24 +0300
commite6d87036412b952cb083eff2dc716aee97a771f2 (patch)
tree273dd3daaa85553832d3cc6d48276229dc7fbe09 /target/linux/realtek/files/rtkload/lzma
parenta18fec42221baa52fff4c5ffd45ec8f32e3add36 (diff)
Move to rsdk 3.2.4. Compiles cleanly.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/files/rtkload/lzma')
-rwxr-xr-xtarget/linux/realtek/files/rtkload/lzma13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/realtek/files/rtkload/lzma b/target/linux/realtek/files/rtkload/lzma
new file mode 100755
index 000000000..91f2500d1
--- /dev/null
+++ b/target/linux/realtek/files/rtkload/lzma
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+LINUX_VERSION=`uname -r | grep 2.4`
+
+echo "$LINUX_VERSION"
+if [ "$LINUX_VERSION" = "" ]; then
+./lzma-26 $1 $2 $3
+elif [ "$LINUX_VERSION" != "" ]; then
+./lzma-24 $1 $2 $3
+else
+echo "can not find LZMA"
+fi
+