更新 toolchain/build.sh
Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
parent
3a3b603bbd
commit
a25bd38551
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
# Clone source code
|
||||||
|
if [ "$matrix.model" = "Padavanonly_MT798X_v24.10" ]; then
|
||||||
|
git clone -b 2410 --single-branch --filter=blob:none https://github.com/padavanonly/immortalwrt-mt798x-24.10 openwrt
|
||||||
|
elif [ "$matrix.model" = "Hanwckf_MT798X_v21.02" ]; then
|
||||||
|
git clone --depth=1 https://github.com/hanwckf/immortalwrt-mt798x openwrt
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Enter source code
|
||||||
|
cd openwrt
|
||||||
|
|
||||||
|
# Load devices Config
|
||||||
|
cp -f defconfig/mt7981-ax3000.config .config
|
||||||
|
|
||||||
|
# Init feeds
|
||||||
|
./scripts/feeds update -a
|
||||||
|
./scripts/feeds install -a
|
||||||
|
|
||||||
|
# Compile
|
||||||
|
make toolchain/compile -j$(nproc)
|
Loading…
Reference in New Issue
Block a user