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)
#decide SOC
case $BOARD in
tl-wdr4900-v1 )
SOC="mpc85xx"
SUBTARGET="g"
SOC="mpc85xx-g"
;;
* )
SOC="ar71xx"
SUBTARGET="t"
SOC="ar71xx-t"
;;
esac
echo ""
......@@ -71,7 +69,7 @@ if [ "$VERSION" = "$FIRMWARE_VERSION" ]; then
done
fi
FILE="fff-${VERSION}-${SOC}-${SUBTARGET}-${BOARD}-squashfs-sysupgrade.bin"
FILE="fff-${VERSION}-${SOC}-${BOARD}-squashfs-sysupgrade.bin"
echo "Downloading $FILE"
echo ""
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