File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 15
15
- target_wlan_ap-gl-axt1800-5-4
16
16
- target_ipq40xx_gl-a1300
17
17
- target_mt7981_gl-mt2500
18
+ - target_mt7981_gl-mt3000
18
19
19
20
ui :
20
- description : ' 是否包含官方UI (GL-A1300不支持) '
21
+ description : ' 是否包含官方UI'
21
22
required : false
22
23
type : boolean
23
24
Original file line number Diff line number Diff line change @@ -56,9 +56,11 @@ cd ~/openwrt
56
56
57
57
58
58
if [[ $ui == true ]] && [[ $profile == * wlan_ap* ]]; then
59
- ./scripts/gen_config.py $profile glinet_depends custom
59
+ ./scripts/gen_config.py $profile glinet_depends glinet_nas custom
60
60
elif [[ $ui == true ]] && [[ $profile == * mt7981* ]]; then
61
- ./scripts/gen_config.py $profile glinet_depends custom
61
+ ./scripts/gen_config.py $profile glinet_depends glinet_nas custom
62
+ elif [[ $ui == true ]] && [[ $profile == * ipq40xx* ]]; then
63
+ ./scripts/gen_config.py $profile glinet_depends glinet_nas custom
62
64
else
63
65
./scripts/gen_config.py $profile openwrt_common luci custom
64
66
fi
@@ -75,6 +77,11 @@ make defconfig
75
77
if [[ $ui == true ]] && [[ $profile == * wlan_ap* ]]; then
76
78
make -j$( expr $( nproc) + 1) GL_PKGDIR=$base /glinet/ipq60xx/ V=s
77
79
elif [[ $ui == true ]] && [[ $profile == * mt7981* ]]; then
80
+ if [[ $profile == * mt2500 ]]; then
81
+ cp $base /glinet/pkg_config/gl_pkg_config_mt7981_mt2500.mk $base /glinet/mt7981/gl_pkg_config.mk
82
+ else
83
+ cp $base /glinet/pkg_config/gl_pkg_config_mt7981_mt3000.mk $base /glinet/mt7981/gl_pkg_config.mk
84
+ fi
78
85
make -j$( expr $( nproc) + 1) GL_PKGDIR=$base /glinet/mt7981/ V=s
79
86
else
80
87
make -j$( expr $( nproc) + 1) V=s
You can’t perform that action at this time.
0 commit comments