commit:     3a786cd7fe66ed265f9e272a4b0fd9da45291a29
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 30 16:40:51 2025 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Nov 30 16:40:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3a786cd7

scripts/bootstrap-prefix: switch hf/sf profile depending on CHOST

Bug: https://bugs.gentoo.org/966642
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 17f36cf59d..7e89e587bd 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -453,7 +453,9 @@ bootstrap_profile() {
                        ;;
                armv7*-unknown-linux-gnueabi*)
                        profile=${profile_linux/ARCH/arm}
-                       profile=${profile/VER/${profile_ver}/armv7a_sf}
+                       [[ ${CHOST} == *gnueabihf ]] \
+                               && 
profile=${profile/VER/${profile_ver}/armv7a_hf} \
+                               || 
profile=${profile/VER/${profile_ver}/armv7a_sf}
                        ;;
                x86_64-pc-solaris2.11)
                        profile="prefix/sunos/solaris/5.11/x64"

Reply via email to