[PATCH v2 0/4] kbuild: Fixes for AutoFDO and Propeller builds

From: xur

Date: Tue Oct 14 2025 - 15:12:00 EST


From: Rong Xu <xur@xxxxxxxxxx>

ChangeLog:
V2: filter-out -pie in scripts/Makefile.vmlinux_o
This fixed the failure reported by kernel test robot.
https://lore.kernel.org/r/202510120709.Wx3q4Ppg-lkp@xxxxxxxxx/

Rong Xu (4):
kbuild: Fix Propeller flags
kbuild: Disable AutoFDO and Propeller flags for kernel modules
kbuild: Remove MFS flags from Propeller profile generate builds
kbuild: Add config to assert profile accuracy for aggressive
optimization

Makefile | 9 +++++----
arch/Kconfig | 11 +++++++++++
scripts/Makefile.autofdo | 12 +++++++++---
scripts/Makefile.lib | 9 ++++++---
scripts/Makefile.propeller | 20 ++++++++++++++++----
scripts/Makefile.vmlinux_o | 3 ++-
6 files changed, 49 insertions(+), 15 deletions(-)


base-commit: 9b332cece987ee1790b2ed4c989e28162fa47860
--
2.51.0.788.g6d19910ace-goog