From: Kugan Vivekanandarajah Date: Wed, 28 May 2025 22:47:19 +0000 (+1000) Subject: [AUTOFDO] Fix autogen remake issue X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcb60292984fa7181ec91d7f81fd18549d1aaf39;p=thirdparty%2Fgcc.git [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 --- 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@