]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[AUTOFDO] Fix autogen remake issue
authorKugan Vivekanandarajah <kvivekananda@nvidia.com>
Wed, 28 May 2025 22:47:19 +0000 (08:47 +1000)
committerKugan Vivekanandarajah <kvivekananda@nvidia.com>
Wed, 28 May 2025 22:47:19 +0000 (08:47 +1000)
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 <kvivekananda@nvidia.com>
Makefile.def
Makefile.tpl

index b0382713609af6c07de7e3e002246fd9cb92fd70..fa60f6ea0b90e4443a5ce6fd91b029cad3cc7315 100644 (file)
@@ -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 ;
index 7dccf91ed8ecb28e7755892d62f997c341fbe69b..b164a17e700a7a0cd0614384883f8a41dcecbe97 100644 (file)
@@ -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@