summaryrefslogtreecommitdiffhomepage
path: root/etc/config.sub
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2018-05-14 21:03:54 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2018-05-14 21:03:54 +0000
commit4a1eebfbf75915fc69a73bd09d98bcfeb264ca0b (patch)
tree9eb9c94ded8f872e40ac859e83426383d454a623 /etc/config.sub
parent7d9e527c92e1a49f47aa89ec08ab68e810f75fb2 (diff)
downloadmidipix_build-4a1eebfbf75915fc69a73bd09d98bcfeb264ca0b.tar.bz2
midipix_build-4a1eebfbf75915fc69a73bd09d98bcfeb264ca0b.tar.xz
etc/config.sub: correctly canonicalise the subset of configuration names midipix_build is expected to handle.
Diffstat (limited to 'etc/config.sub')
-rwxr-xr-xetc/config.sub12
1 files changed, 8 insertions, 4 deletions
diff --git a/etc/config.sub b/etc/config.sub
index 9dfd22ef..f0fe968e 100755
--- a/etc/config.sub
+++ b/etc/config.sub
@@ -1,6 +1,10 @@
#!/bin/sh
-# assume a correct target input: this should always be the case
-# in the context of midipix_build; then, for compatibility, output
-# the target name.
+#
-echo "$1"
+case "${1}" in
+x86_64) echo x86_64-pc-none; ;;
+x86_64-nt64-midipix) echo x86_64-nt64-midipix; ;;
+*) echo "${1}"; ;;
+esac;
+
+# vim:filetype=sh