Skip to content

Commit

Permalink
支持MT2500
Browse files Browse the repository at this point in the history
  • Loading branch information
luochongjun committed Nov 18, 2022
1 parent 3a94107 commit a4291c3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/set_variable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
type: choice
options:
- AXT1800
- MT2500
- SF1200
- SFT1200
sourcecode:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# siflower-sdk-action
# gl-sdk-action
使用教程请参考以下链接
https://forum.gl-inet.cn/forum.php?mod=viewthread&tid=539&extra=page%3D1
7 changes: 7 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ axt1800_sdk_get()
sed -i '246,258d' ${WORKDIR}/openwrt-sdk/include/package-ipkg.mk
}

mt7981_sdk_get()
{
git clone https://github.com/gl-inet-builder/openwrt-sdk-mt7981.git openwrt-sdk
}


case "$BOARD" in
Expand All @@ -49,6 +53,9 @@ case "$BOARD" in
"AXT1800" )
axt1800_sdk_get
;;
"MT2500" )
mt7981_sdk_get
;;
*)
esac

Expand Down

0 comments on commit a4291c3

Please sign in to comment.