From 2a64b83ebcd604d4ccad8a95480be418c8ccb451 Mon Sep 17 00:00:00 2001 From: Samuel Thibault <samuel.thibault@ens-lyon.org> Date: Sun, 18 Mar 2012 12:01:04 +0100 Subject: build system: Add 64bit variant Only Xen platform for now. * Makefrag.am [HOST_x86_64]: Include x86_64/Makefrag.am. * configure.ac: Include x86_64/configfrag.ac. [default:x86_64] (host_platform): Set platform to xen. * x86_64/Makefrag.am, x86_64/configfrag.ac: New files. --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d4daa932..42dfcd40 100644 --- a/configure.ac +++ b/configure.ac @@ -55,7 +55,10 @@ AC_ARG_ENABLE([platform], case $host_platform:$host_cpu in default:i?86) host_platform=at;; - at:i?86 | xen:i?86) + default:x86_64)] + AC_MSG_WARN([Platform set to Xen by default, this can not boot on non-Xen systems, you currently need a 32bit build for that.]) + [host_platform=xen;; + at:i?86 | xen:i?86 | xen:x86_64) :;; *)] AC_MSG_ERROR([unsupported combination of cpu type `$host_cpu' and platform @@ -139,6 +142,9 @@ m4_include([xen/configfrag.ac]) # ix86. m4_include([i386/configfrag.ac]) +# x86_64 +m4_include([x86_64/configfrag.ac]) + # General options. m4_include([configfrag.ac]) -- cgit v1.2.3