summaryrefslogtreecommitdiff
path: root/functions/architecture.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-03-26 10:37:39 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:31 +0100
commit53433eca7db9ea74778c7e0f6a112856e96d2665 (patch)
tree3fb017636fc9399703f9a557e41a7dd69d8569e6 /functions/architecture.sh
parent3f6c3cba8677bf4182af000550c7d516cd485235 (diff)
downloadvyos-live-build-53433eca7db9ea74778c7e0f6a112856e96d2665.tar.gz
vyos-live-build-53433eca7db9ea74778c7e0f6a112856e96d2665.zip
Applying patch from Bas Wijnen <wijnen@debian.org> to make Check_crossarchitecture() working on non-listed architectures (Closes: #472775).
Diffstat (limited to 'functions/architecture.sh')
-rwxr-xr-xfunctions/architecture.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions/architecture.sh b/functions/architecture.sh
index e9c844b6f..4914f9a0d 100755
--- a/functions/architecture.sh
+++ b/functions/architecture.sh
@@ -47,6 +47,10 @@ Check_crossarchitecture ()
powerpc|ppc64)
CROSS="powerpc ppc64"
;;
+
+ *)
+ CROSS="${HOST}"
+ ;;
esac
Check_architecture "${CROSS}"