Skip to content

Commit

Permalink
remove linux-rt support for lite version
Browse files Browse the repository at this point in the history
  • Loading branch information
pmkol authored Oct 13, 2024
1 parent 88d91ea commit ddc3840
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openwrt/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ if [ "$TESTING_KERNEL" = "y" ]; then
else
kmodpkg_name=$(echo $(echo -e "$get_kernel_version" | awk -F'HASH-' '{print $2}' | awk '{print $1}')-1-$(echo $kmod_hash))
fi
[ "$TESTING_KERNEL" = "y" ] && [ "$MINIMAL_BUILD" = "y" ] && kmodpkg_name=$(echo $(echo -e "$get_kernel_version" | awk -F'HASH-' '{print $2}' | awk '{print $1}')-1-$(echo $kmod_hash))
echo -e "${GREEN_COLOR}Kernel: $kmodpkg_name ${RES}"

echo -e "${GREEN_COLOR}Date: $CURRENT_DATE${RES}\r\n"
Expand Down Expand Up @@ -388,7 +389,7 @@ fi
# test kernel
[ "$TESTING_KERNEL" = "y" ] && [ "$platform" = "bcm53xx" ] && sed -i '1i\# CONFIG_PACKAGE_kselftests-bpf is not set\n# CONFIG_PACKAGE_perf is not set\n' .config
[ "$TESTING_KERNEL" = "y" ] && sed -i '1i\# Test kernel\nCONFIG_TESTING_KERNEL=y\n' .config
[ "$TESTING_KERNEL" = "y" ] && [ "$version" = "rc2" ] && sed -i '/CONFIG_KERNEL_PREEMPT_RT/d' .config
[ "$TESTING_KERNEL" = "y" ] && [ "$MINIMAL_BUILD" = "y" ] && [ "$version" = "rc2" ] && sed -i '/CONFIG_KERNEL_PREEMPT_RT/d' .config

# not all kmod
[ "$NO_KMOD" = "y" ] && sed -i '/CONFIG_ALL_KMODS=y/d; /CONFIG_ALL_NONSHARED=y/d' .config
Expand Down

0 comments on commit ddc3840

Please sign in to comment.