From 4a1eebfbf75915fc69a73bd09d98bcfeb264ca0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Mon, 14 May 2018 21:03:54 +0000 Subject: etc/config.sub: correctly canonicalise the subset of configuration names midipix_build is expected to handle. --- etc/config.sub | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'etc/config.sub') 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 -- cgit v1.2.3