https://gcc.gnu.org/g:fcb60292984fa7181ec91d7f81fd18549d1aaf39

commit r16-942-gfcb60292984fa7181ec91d7f81fd18549d1aaf39
Author: Kugan Vivekanandarajah <kvivekana...@nvidia.com>
Date:   Thu May 29 08:47:19 2025 +1000

    [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 <kvivekana...@nvidia.com>

Diff:
---
 Makefile.def | 2 +-
 Makefile.tpl | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.def b/Makefile.def
index b0382713609a..fa60f6ea0b90 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 7dccf91ed8ec..b164a17e700a 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@

Reply via email to