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
cc309e8c26
commit
daa9cda99f
1 changed files with 1 additions and 5 deletions
6
build.sh
6
build.sh
|
@ -64,7 +64,7 @@ elif [ "$OMR_TARGET" = "rpi2" ]; then
|
||||||
OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4"
|
OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4"
|
||||||
elif [ "$OMR_TARGET" = "4018" ]; then
|
elif [ "$OMR_TARGET" = "4018" ]; then
|
||||||
OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4"
|
OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4"
|
||||||
elif [ "$OMR_TARGET" = "4019" ]; then
|
elif [ "$OMR_TARGET" = "4019" ]; then
|
||||||
OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4"
|
OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4"
|
||||||
elif [ "$OMR_TARGET" = "wrt3200acm" ]; then
|
elif [ "$OMR_TARGET" = "wrt3200acm" ]; then
|
||||||
OMR_REAL_TARGET="arm_cortex-a9_vfpv3-d16"
|
OMR_REAL_TARGET="arm_cortex-a9_vfpv3-d16"
|
||||||
|
@ -419,9 +419,6 @@ 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
|
||||||
|
|
||||||
|
@ -443,7 +440,6 @@ 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