Skip to content
Snippets Groups Projects
Commit 9999b7b2 authored by Christian Dresel's avatar Christian Dresel Committed by Adrian Schmutzler
Browse files

fff-sysupgrade: merge SOC and SUBTARGET


This make it easier to use new targets without subtarget.

Signed-off-by: default avatarChristian Dresel <fff@chrisi01.de>
Reviewed-by: default avatarAdrian Schmutzler <freifunk@adrianschmutzler.de>
parent 83a70ed5
No related branches found
No related tags found
No related merge requests found
...@@ -17,12 +17,10 @@ BOARD=$(uci get board.model.name) ...@@ -17,12 +17,10 @@ BOARD=$(uci get board.model.name)
#decide SOC #decide SOC
case $BOARD in case $BOARD in
tl-wdr4900-v1 ) tl-wdr4900-v1 )
SOC="mpc85xx" SOC="mpc85xx-g"
SUBTARGET="g"
;; ;;
* ) * )
SOC="ar71xx" SOC="ar71xx-t"
SUBTARGET="t"
;; ;;
esac esac
echo "" echo ""
...@@ -71,7 +69,7 @@ if [ "$VERSION" = "$FIRMWARE_VERSION" ]; then ...@@ -71,7 +69,7 @@ if [ "$VERSION" = "$FIRMWARE_VERSION" ]; then
done done
fi fi
FILE="fff-${VERSION}-${SOC}-${SUBTARGET}-${BOARD}-squashfs-sysupgrade.bin" FILE="fff-${VERSION}-${SOC}-${BOARD}-squashfs-sysupgrade.bin"
echo "Downloading $FILE" echo "Downloading $FILE"
echo "" echo ""
wget "${UPGRADE_PATH}/${FILE}" wget "${UPGRADE_PATH}/${FILE}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment