[OpenBIOS] [PATCH 1/4] allow powerpc-unknown-linux-gnu- toolchain prefix

Amadeusz Sławiński amade at asmblr.net
Sat Feb 23 19:59:55 CET 2013


crossdev on gentoo builds crosscompiler with powerpc-unknown-linux-gnu-
prefix

Signed-off-by: Amadeusz Sławiński <amade at asmblr.net>
---
 config/scripts/switch-arch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/scripts/switch-arch b/config/scripts/switch-arch
index a9c911b..28b3b45 100755
--- a/config/scripts/switch-arch
+++ b/config/scripts/switch-arch
@@ -97,7 +97,7 @@ archname()
 
 select_prefix()
 {
-    for TARGET in ${1}-linux-gnu- ${1}-linux- ${1}-elf- ${1}-eabi-
+    for TARGET in ${1}-unknown-linux-gnu- ${1}-linux-gnu- ${1}-linux- ${1}-elf- ${1}-eabi-
     do
         if type ${TARGET}gcc > /dev/null 2>&1
         then
-- 
1.8.1.4




More information about the OpenBIOS mailing list