diff --git a/build.sh b/build.sh index a5719d4b..004b7462 100755 --- a/build.sh +++ b/build.sh @@ -37,7 +37,7 @@ OMR_ALL_PACKAGES=${OMR_ALL_PACKAGES:-no} OMR_TARGET=${OMR_TARGET:-x86_64} OMR_TARGET_CONFIG="config-$OMR_TARGET" UPSTREAM=${UPSTREAM:-no} -OMR_KERNEL=${OMR_KERNEL:-5.14} +OMR_KERNEL=${OMR_KERNEL:-5.4} SHORTCUT_FE=${SHORTCUT_FE:-no} #OMR_RELEASE=${OMR_RELEASE:-$(git describe --tags `git rev-list --tags --max-count=1` | sed 's/^\([0-9.]*\).*/\1/')} #OMR_RELEASE=${OMR_RELEASE:-$(git tag --sort=committerdate | tail -1)} @@ -449,6 +449,18 @@ fi if [ -f target/linux/generic/pending-5.4/645-netfilter-nf_flow_table-rework-hardware-offload-time.patch ]; then rm -f target/linux/generic/pending-5.4/645-netfilter-nf_flow_table-rework-hardware-offload-time.patch fi +if [ -f target/linux/generic/pending-5.4/647-net-dsa-support-hardware-flow-table-offload.patch ]; then + rm -f target/linux/generic/pending-5.4/647-net-dsa-support-hardware-flow-table-offload.patch +fi +if [ -f target/linux/generic/pending-5.4/690-net-add-support-for-threaded-NAPI-polling.patch ]; then + rm -f target/linux/generic/pending-5.4/690-net-add-support-for-threaded-NAPI-polling.patch +fi +if [ -f target/linux/generic/hack-5.4/647-netfilter-flow-acct.patch ]; then + rm -f target/linux/generic/hack-5.4/647-netfilter-flow-acct.patch +fi +if [ -f target/linux/generic/hack-5.4/953-net-patch-linux-kernel-to-support-shortcut-fe.patch ]; then + rm -f target/linux/generic/hack-5.4/953-net-patch-linux-kernel-to-support-shortcut-fe.patch +fi if [ "$OMR_KERNEL" = "5.4" ]; then echo "Set to kernel 5.4 for rpi arch"