[OpenBIOS] [PATCH] Allow non-cross compilation
Alexander Graf
agraf at suse.de
Fri Dec 18 20:27:54 CET 2009
I usually compile openbios on PowerPC for PowerPC. Apparently I'm the only one
doing 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>
Index: config/scripts/switch-arch
===================================================================
--- config/scripts/switch-arch (revision 644)
+++ config/scripts/switch-arch (working copy)
@@ -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