mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Update build.sh
This commit is contained in:
parent
d5905fecd6
commit
5bde70b5d6
1 changed files with 4 additions and 0 deletions
4
build.sh
4
build.sh
|
@ -419,6 +419,9 @@ if [ "$OMR_KERNEL" = "5.4" ]; then
|
||||||
echo "Done"
|
echo "Done"
|
||||||
echo "Set to kernel 5.4 for mediatek arch (BPI-R2)"
|
echo "Set to kernel 5.4 for mediatek arch (BPI-R2)"
|
||||||
find target/linux/mediatek -type f -name Makefile -exec sed -i 's%KERNEL_PATCHVER:=4.19%KERNEL_PATCHVER:=5.4%g' {} \;
|
find target/linux/mediatek -type f -name Makefile -exec sed -i 's%KERNEL_PATCHVER:=4.19%KERNEL_PATCHVER:=5.4%g' {} \;
|
||||||
|
echo "Set to kernel 5.4 for IPQ"
|
||||||
|
find target/linux/ipq40xx -type f -name Makefile -exec sed -i 's%KERNEL_PATCHVER:=4.19%KERNEL_PATCHVER:=5.4%g' {} \;
|
||||||
|
echo "Done"
|
||||||
echo "Done"
|
echo "Done"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -440,6 +443,7 @@ cd "$OMR_TARGET/source"
|
||||||
echo "Update feeds index"
|
echo "Update feeds index"
|
||||||
cp .config .config.keep
|
cp .config .config.keep
|
||||||
scripts/feeds clean
|
scripts/feeds clean
|
||||||
|
./scripts/feeds update -a && ./scripts/feeds install -a
|
||||||
scripts/feeds install -a
|
scripts/feeds install -a
|
||||||
scripts/feeds update -a
|
scripts/feeds update -a
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue