From patchwork Thu Feb 18 21:22:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Douglas Goldstein X-Patchwork-Id: 8354811 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id EAA7E9F38B for ; Thu, 18 Feb 2016 22:24:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0A2F62039E for ; Thu, 18 Feb 2016 22:24:47 +0000 (UTC) Received: from lists.xen.org (lists.xenproject.org [50.57.142.19]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 18AC52038D for ; Thu, 18 Feb 2016 22:24:46 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aWWxT-0008ET-Ov; Thu, 18 Feb 2016 22:21:59 +0000 Received: from mail6.bemta6.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aWWxS-0008EO-TZ for xen-devel@lists.xen.org; Thu, 18 Feb 2016 22:21:59 +0000 Received: from [85.158.143.35] by server-3.bemta-6.messagelabs.com id 22/0F-02881-C1636C65; Thu, 18 Feb 2016 21:22:36 +0000 X-Env-Sender: cardoe@cardoe.com X-Msg-Ref: server-5.tower-21.messagelabs.com!1455830561!4533342!1 X-Originating-IP: [209.85.160.177] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 7.35.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 53839 invoked from network); 18 Feb 2016 21:22:42 -0000 Received: from mail-yk0-f177.google.com (HELO mail-yk0-f177.google.com) (209.85.160.177) by server-5.tower-21.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 18 Feb 2016 21:22:42 -0000 Received: by mail-yk0-f177.google.com with SMTP id r207so27141858ykd.2 for ; Thu, 18 Feb 2016 13:22:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cardoe.com; s=google; h=from:to:cc:subject:date:message-id; bh=NxyjVpNTeUwiW8ZNNzdr5j2kzZw+aIMDoFA2vaEmd/8=; b=CDFbUkiyZKj95wB0NV4KJJHftdAPOswsK3NAlqdqx8sdN8PlQ2MtlNTDhNSZiR0/k+ sVx8ICGa5dagRxVKCC3Qmo1GX+H4YLrSqPPAeKDG/ZByXI3DYPFJG2kHbn29NG9Isjoo ok8467pabqwBqZxFGtZzgBYa6wMxjhnaFUr/o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=NxyjVpNTeUwiW8ZNNzdr5j2kzZw+aIMDoFA2vaEmd/8=; b=hs/ynuH7HFrXo6MqrnlIhv2UWLUDhr56ph1mW8GndunyXIpO/aVdGa/mdyzChudYrm 64NYEOdtzoIAzLrm6XKfQnyzrvWXtbC4RnKxRDpM1WlXQFtsaYPjyiAtofT5+57Yjo6k ysReCFFlweNWi4IkiN28CV5LY1UJVKk8YkbP9qwzT73uPfgJWC+KSv3Ky+UhzKXBcr59 vJT70RQCmizTpKeKreTdBk2OwNzwwmIeU/mz0ByRSW33F4J1jM8jcdcOaXvNoSa/c5SC tY63DjTda/qPPsOF8mmG7glmTry1MSXVDdGy+Tl72fK7kq23tySFD+o8xQY8EUGHF12p TPVQ== X-Gm-Message-State: AG10YORzOmuG1UNVyTECUMLfxeBMrKqJGUgFnmp69k8f3Mc9IrrhGcrNv35kRucsKA/E6A== X-Received: by 10.37.29.193 with SMTP id d184mr5952380ybd.111.1455830561132; Thu, 18 Feb 2016 13:22:41 -0800 (PST) Received: from swanson.lan (c-68-46-196-185.hsd1.al.comcast.net. [68.46.196.185]) by smtp.gmail.com with ESMTPSA id z7sm6067633ywf.7.2016.02.18.13.22.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 18 Feb 2016 13:22:39 -0800 (PST) From: Doug Goldstein To: xen-devel@lists.xen.org Date: Thu, 18 Feb 2016 15:22:22 -0600 Message-Id: <1455830545-848-1-git-send-email-cardoe@cardoe.com> X-Mailer: git-send-email 2.4.10 Cc: Ian Jackson , Wei Liu , Doug Goldstein , Ian Campbell , Stefano Stabellini Subject: [Xen-devel] [PATCH 1/4] tools/configure: only require bcc/ld86/as86 when needed X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP bcc/ld86/as86 are only necessary when we build rombios and not always so failing the build when they aren't available should not happen if the user isn't building rombios. Signed-off-by: Doug Goldstein --- CC: Ian Jackson CC: Stefano Stabellini CC: Ian Campbell CC: Wei Liu --- README | 3 ++- tools/configure.ac | 11 +++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README b/README index dd36ec8..e688fb5 100644 --- a/README +++ b/README @@ -58,7 +58,6 @@ provided by your OS distributor: * iproute package (/sbin/ip) * GNU bison and GNU flex * GNU gettext - * 16-bit x86 assembler, loader and compiler (dev86 rpm or bin86 & bcc debs) * ACPI ASL compiler (iasl) * Libc multiarch package (e.g. libc6-dev-i386 / glibc-devel.i686). Required when building on a 64-bit platform to build @@ -78,6 +77,8 @@ disabled at compile time: libnl-3-dev, etc). Required if network buffering is desired when using Remus with libxl. See docs/README.remus for detailed information. + * 16-bit x86 assembler, loader and compiler for qemu-traditional / rombios + (dev86 rpm or bin86 & bcc debs) Second, you need to acquire a suitable kernel for use in domain 0. If possible you should use a kernel provided by your OS distributor. If diff --git a/tools/configure.ac b/tools/configure.ac index 6c70040..d384967 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -164,7 +164,13 @@ AC_ARG_ENABLE([rombios], ]) ]) AS_IF([test "x$enable_rombios" = "xyes"], [ -AC_DEFINE([HAVE_ROMBIOS], [1], [ROMBIOS enabled]) + dnl as86, ld86, and bcc are only required when building rombios. They + dnl are only needed when the host system is x86 but that check is done + dnl for us above when checking if we should build with qemu-traditional. + AX_PATH_PROG_OR_FAIL([AS86], [as86]) + AX_PATH_PROG_OR_FAIL([LD86], [ld86]) + AX_PATH_PROG_OR_FAIL([BCC], [bcc]) + AC_DEFINE([HAVE_ROMBIOS], [1], [ROMBIOS enabled]) rombios=y],[ rombios=n ]) @@ -320,9 +326,6 @@ dnl going to run, not the platform on which we are building (known as dnl "build" in gnu speak). case "$host_cpu" in i[[3456]]86|x86_64) - AX_PATH_PROG_OR_FAIL([AS86], [as86]) - AX_PATH_PROG_OR_FAIL([LD86], [ld86]) - AX_PATH_PROG_OR_FAIL([BCC], [bcc]) AX_PATH_PROG_OR_FAIL([IASL], [iasl]) ;; esac