[RFC PATCH 17/86] sched/preempt: remove PREEMPT_DYNAMIC from the build version

From: Ankur Arora
Date: Tue Nov 07 2023 - 16:59:41 EST


As the PREEMPT_DYNAMIC logic is going away, also remove PREEMPT_DYNAMIC
from the generated build version and go back to the original string.

Signed-off-by: Ankur Arora <ankur.a.arora@xxxxxxxxxx>
---
init/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/init/Makefile b/init/Makefile
index ec557ada3c12..385fd80fa2ef 100644
--- a/init/Makefile
+++ b/init/Makefile
@@ -24,8 +24,7 @@ mounts-$(CONFIG_BLK_DEV_INITRD) += do_mounts_initrd.o
#

smp-flag-$(CONFIG_SMP) := SMP
-preempt-flag-$(CONFIG_PREEMPT_BUILD) := PREEMPT
-preempt-flag-$(CONFIG_PREEMPT_DYNAMIC) := PREEMPT_DYNAMIC
+preempt-flag-$(CONFIG_PREEMPT) := PREEMPT
preempt-flag-$(CONFIG_PREEMPT_RT) := PREEMPT_RT

build-version = $(or $(KBUILD_BUILD_VERSION), $(build-version-auto))
--
2.31.1