[OpenBIOS] r645 - trunk/openbios-devel/config/scripts

svn at openbios.org svn at openbios.org
Fri Dec 18 21:41:51 CET 2009


Author: laurent
Date: 2009-12-18 21:41:51 +0100 (Fri, 18 Dec 2009)
New Revision: 645

Modified:
   trunk/openbios-devel/config/scripts/switch-arch
Log:
I usually compile openbios on PowerPC for PowerPC. Apparently I'm the 
only onedoing that, as that (really easy) case got broken by the cross 
compilation overhaul.

Let's allow host = target gcc configurations again.

Signed-off-by: Alexander Graf <agraf at suse.de>


Modified: trunk/openbios-devel/config/scripts/switch-arch
===================================================================
--- trunk/openbios-devel/config/scripts/switch-arch	2009-12-10 00:23:02 UTC (rev 644)
+++ trunk/openbios-devel/config/scripts/switch-arch	2009-12-18 20:41:51 UTC (rev 645)
@@ -93,6 +93,9 @@
             return
         fi
     done
+    if [ "$ARCH" = "$HOSTARCH" ]; then
+        return
+    fi
     echo "ERROR: no ${1} cross-compiler found !" 1>&2
     exit 1
 }




More information about the OpenBIOS mailing list