[PATCH 1/4] kbuild: Fix Propeller flags

From: xur

Date: Fri Oct 10 2025 - 17:01:53 EST


From: Rong Xu <xur@xxxxxxxxxx>

Fix the code to enable/disable Propeller build flags to be
consistent with the documentation.

Signed-off-by: Rong Xu <xur@xxxxxxxxxx>
---
scripts/Makefile.lib | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 1d581ba5df66f..53c02fc3b348a 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -121,7 +121,7 @@ endif
#
ifdef CONFIG_PROPELLER_CLANG
_c_flags += $(if $(patsubst n%,, \
- $(AUTOFDO_PROFILE_$(target-stem).o)$(AUTOFDO_PROFILE)$(PROPELLER_PROFILE))$(is-kernel-object), \
+ $(PROPELLER_PROFILE_$(target-stem).o)$(PROPELLER_PROFILE)$(is-kernel-object)), \
$(CFLAGS_PROPELLER_CLANG))
endif

--
2.51.0.740.g6adb054d12-goog