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
1b1659a8d9
commit
99b59747d4
1 changed files with 4 additions and 0 deletions
4
build.sh
4
build.sh
|
@ -420,6 +420,9 @@ if [ "$OMR_KERNEL" = "5.4" ]; then
|
||||||
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 "Done"
|
echo "Done"
|
||||||
|
echo "Set to kernel 5.4 for IPQ (4019)"
|
||||||
|
find target/linux/ipq40xx -type f -name Makefile -exec sed -i 's%KERNEL_PATCHVER:=4.19%KERNEL_PATCHVER:=5.4%g' {} \;
|
||||||
|
echo "Done"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#rm -rf feeds/packages/libs/libwebp
|
#rm -rf feeds/packages/libs/libwebp
|
||||||
|
@ -442,6 +445,7 @@ cp .config .config.keep
|
||||||
scripts/feeds clean
|
scripts/feeds clean
|
||||||
scripts/feeds install -a
|
scripts/feeds install -a
|
||||||
scripts/feeds update -a
|
scripts/feeds update -a
|
||||||
|
./scripts/feeds update -a && ./scripts/feeds install -a
|
||||||
|
|
||||||
#cd -
|
#cd -
|
||||||
#echo "Checking if fullconenat-luci patch is set or not"
|
#echo "Checking if fullconenat-luci patch is set or not"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue