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:
suyuan 2021-04-03 12:36:56 +08:00
parent cc309e8c26
commit daa9cda99f

View file

@ -419,9 +419,6 @@ 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
@ -443,7 +440,6 @@ 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