Add cross-compilation support

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Retrieved (and slightly updated) from:
https://git.buildroot.net/buildroot/tree/package/stella/0001-Add-cross-compilation-support.patch]
This commit is contained in:
Fabrice Fontaine 2019-03-10 17:40:43 +01:00 committed by Stephen Anthony
parent 93a07b4517
commit 72932aa09e

5
configure vendored
View File

@ -523,6 +523,11 @@ if test -n "$_host"; then
DEFINES="$DEFINES -DWIN32"
_host_os=win32
;;
*linux*)
echo "Cross-compiling to $_host target"
DEFINES="$DEFINES -DUNIX"
_host_os=unix
;;
*)
echo "Cross-compiling to unknown target, please add your target to configure."
exit 1