From 6da2dce0a590ef7bf86c0729a4fd8387c7ccdb5d Mon Sep 17 00:00:00 2001 From: klzgrad Date: Wed, 29 Jul 2020 21:44:49 +0800 Subject: [PATCH] Fix bcm53xx in get-openwrt.sh --- src/get-openwrt.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/get-openwrt.sh b/src/get-openwrt.sh index a7c710026c..a50411d468 100755 --- a/src/get-openwrt.sh +++ b/src/get-openwrt.sh @@ -11,6 +11,9 @@ fi mkdir -p $sysroot SDK_PATH=openwrt-sdk-$release-$target-${subtarget}_gcc-${gcc_ver}_${abi}.Linux-x86_64 +if [ "$target" = bcm53xx ]; then + SDK_PATH=openwrt-sdk-$release-${target}_gcc-${gcc_ver}_${abi}.Linux-x86_64 +fi SDK_URL=https://downloads.openwrt.org/releases/$release/targets/$target/$subtarget/$SDK_PATH.tar.xz rm -rf $SDK_PATH curl $SDK_URL | tar xJf -