更新 toolchain/build.sh
Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
parent
a34c7bf41a
commit
5b1c53f48e
@ -12,6 +12,10 @@ fi
|
||||
# Enter source code
|
||||
cd openwrt
|
||||
|
||||
# Init feeds
|
||||
./scripts/feeds update -a
|
||||
./scripts/feeds install -a
|
||||
|
||||
# Load devices Config
|
||||
if [ "$model" = "Padavanonly_MT798X_v24.10" ]; then
|
||||
cp -f defconfig/mt7981-ax3000.config .config
|
||||
@ -21,10 +25,6 @@ elif [ "$model" = "OpenWrt_Rockchip_v24.10" ] || [ "$model" = "OpenWrt_X86_64_v2
|
||||
cp -f defconfig/mt7981-ax3000.config .config
|
||||
fi
|
||||
|
||||
# Init feeds
|
||||
./scripts/feeds update -a
|
||||
./scripts/feeds install -a
|
||||
|
||||
# Compile
|
||||
make defconfig
|
||||
make -j$(nproc)
|
||||
|
Loading…
Reference in New Issue
Block a user