From 718209d8b8b481894c44ec2c00003f8818b64ed3 Mon Sep 17 00:00:00 2001 From: suyuan168 <175338101@qq.com> Date: Tue, 28 Dec 2021 16:25:54 +0800 Subject: [PATCH] Update build.sh --- build.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 2a1e6d0c..5ed8845c 100755 --- a/build.sh +++ b/build.sh @@ -70,6 +70,10 @@ elif [ "$OMR_TARGET" = "wrt32x" ]; then OMR_REAL_TARGET="arm_cortex-a9_vfpv3-d16" elif [ "$OMR_TARGET" = "bpi-r1" ]; then OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4" +elif [ "$OMR_TARGET" = "l1000" ]; then + OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4" +elif [ "$OMR_TARGET" = "zbt4019" ]; then + OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4" elif [ "$OMR_TARGET" = "bpi-r2" ]; then OMR_REAL_TARGET="arm_cortex-a7_neon-vfpv4" elif [ "$OMR_TARGET" = "bpi-r64" ]; then @@ -595,9 +599,12 @@ if [ "$OMR_KERNEL" = "5.15" ]; then echo "Set to kernel 5.15 for ramips" find target/linux/ramips -type f -name Makefile -exec sed -i 's%KERNEL_PATCHVER:=5.4%KERNEL_PATCHVER:=5.15%g' {} \; echo "Done" - echo "Set to kernel 5.15 for ramips" + echo "Set to kernel 5.15 for ipq806x" find target/linux/ipq806x -type f -name Makefile -exec sed -i 's%KERNEL_PATCHVER:=5.10%KERNEL_PATCHVER:=5.15%g' {} \; echo "Done" + echo "Set to kernel 5.15 for ipq40xx" + find target/linux/ipq40xx -type f -name Makefile -exec sed -i 's%KERNEL_PATCHVER:=5.4%KERNEL_PATCHVER:=5.15%g' {} \; + echo "Done" #rm -rf target/linux/generic/files/drivers/net/phy/b53 rm -f target/linux/bcm27xx/modules/sound.mk echo "CONFIG_DEVEL=y" >> ".config"