From fcb60292984fa7181ec91d7f81fd18549d1aaf39 Mon Sep 17 00:00:00 2001 From: Kugan Vivekanandarajah Date: Thu, 29 May 2025 08:47:19 +1000 Subject: [PATCH] [AUTOFDO] Fix autogen remake issue Fix autogen issue introduced by commit commit 86dc974cf30f926a014438a5fccdc9d41e26282b ChangeLog: * Makefile.def: Fix typo in cpu_type * Makefile.tpl: Add cpu_type Signed-off-by: Kugan Vivekanandarajah --- Makefile.def | 2 +- Makefile.tpl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.def b/Makefile.def index b0382713609..fa60f6ea0b9 100644 --- a/Makefile.def +++ b/Makefile.def @@ -758,7 +758,7 @@ bootstrap_stage = { bootstrap_target=profiledbootstrap ; }; bootstrap_stage = { id=autoprofile ; prev=1 ; - autoprofile="$$s/gcc/config/@cpu_typet@/$(AUTO_PROFILE)" ; }; + autoprofile="$$s/gcc/config/$(cpu_type)/$(AUTO_PROFILE)" ; }; bootstrap_stage = { id=autofeedback ; prev=autoprofile ; bootstrap_target=autoprofiledbootstrap ; diff --git a/Makefile.tpl b/Makefile.tpl index 7dccf91ed8e..b164a17e700 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -41,6 +41,7 @@ build_alias=@build_noncanonical@ build_vendor=@build_vendor@ build_os=@build_os@ build=@build@ +cpu_type=@cpu_type@ host_alias=@host_noncanonical@ host_vendor=@host_vendor@ host_os=@host_os@ -- 2.47.2