2019-09-12 17:54:03 +02:00
|
|
|
From: Bruce Rogers <brogers@suse.com>
|
|
|
|
Date: Thu, 20 Jun 2019 17:58:37 -0600
|
|
|
|
Subject: roms: change cross compiler naming to be suse specific
|
|
|
|
|
|
|
|
Signed-off-by: Bruce Rogers <brogers@suse.com>
|
|
|
|
---
|
|
|
|
roms/edk2-funcs.sh | 10 +++++++++-
|
|
|
|
1 file changed, 9 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/roms/edk2-funcs.sh b/roms/edk2-funcs.sh
|
2020-04-29 02:12:31 +02:00
|
|
|
index cd6e4f2c82d2b346cdb7b3199bca..529e335121fcb60e419bfc656b6d 100644
|
2019-09-12 17:54:03 +02:00
|
|
|
--- a/roms/edk2-funcs.sh
|
|
|
|
+++ b/roms/edk2-funcs.sh
|
2020-04-29 02:12:31 +02:00
|
|
|
@@ -116,7 +116,15 @@ qemu_edk2_get_cross_prefix()
|
|
|
|
# force soft-float cross-compiler on Debian
|
|
|
|
printf 'arm-linux-gnueabi-'
|
2019-09-12 17:54:03 +02:00
|
|
|
else
|
|
|
|
- printf '%s-linux-gnu-\n' "$gcc_arch"
|
|
|
|
+ if [ "$emulation_target" == arm ]; then
|
|
|
|
+ printf '%s-suse-linux-gnueabi-\n' "$gcc_arch"
|
|
|
|
+ else
|
|
|
|
+ if [ "$gcc_arch" == i686 ]; then
|
|
|
|
+ printf '%s-suse-linux-\n' "i586"
|
|
|
|
+ else
|
|
|
|
+ printf '%s-suse-linux-\n' "$gcc_arch"
|
|
|
|
+ fi
|
|
|
|
+ fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|