How to compile NVIDIA-kernel-module-source-TempVersion after revert rt kernel?\

Hi,
I don’t want to use rt kernel.And I use the command ./kernel/kernel-5.10/scripts/rt-patch.sh revert-patches to revert the source.Then, there was a problem that how to compile NVIDIA-kernel-module-source-TempVersion.
The rt compile method is as following.Do I need IGNORE_PREEMPT_RT_PRESENCE environment to compile the no rt display module? If not, please tell me how to compile no rt display module?
#####################rt compile start#####################
export LOCALVERSION=“-tegra”
export IGNORE_PREEMPT_RT_PRESENCE=1
echo “Make display drivers for rt-patch…”
make \
modules -jnproc \
SYSSRC=$ROOT/Linux_for_Tegra/source/public/kernel/kernel-5.10 \
SYSOUT=$ROOT/Linux_for_Tegra/source/public/kernel_out \
CC=${CROSS_COMPILE_AARCH64}gcc \
LD=${CROSS_COMPILE_AARCH64}ld.bfd \
AR=${CROSS_COMPILE_AARCH64}ar \
CXX=${CROSS_COMPILE_AARCH64}g++ \
OBJCOPY=${CROSS_COMPILE_AARCH64}objcopy \
TARGET_ARCH=aarch64 \
ARCH=arm64
#####################rt compile end#####################

Hi,

I think if you are building on non-RT kernel, then this variable is not needed.
But why do you apply the patches and then revert them when you don’t need RT kernel?

Hi,
The reason is that when I use rt kernel,the cpu usage is 50% more than no rt kernel.

That’s fine.
I think adding this variable or not does not affect building on non-RT kernel.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.