1
0
Fork 0
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:
suyunfan 2021-04-02 16:56:51 +08:00
parent d5905fecd6
commit 5bde70b5d6

View file

@ -419,6 +419,9 @@ if [ "$OMR_KERNEL" = "5.4" ]; then
echo "Done"
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' {} \;
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"
fi
@ -440,6 +443,7 @@ cd "$OMR_TARGET/source"
echo "Update feeds index"
cp .config .config.keep
scripts/feeds clean
./scripts/feeds update -a && ./scripts/feeds install -a
scripts/feeds install -a
scripts/feeds update -a