From patchwork Thu Jul 28 10:50:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 9251089 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 762E76075F for ; Thu, 28 Jul 2016 10:54:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67A7426785 for ; Thu, 28 Jul 2016 10:54:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C41F26B4A; Thu, 28 Jul 2016 10:54:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1A51226785 for ; Thu, 28 Jul 2016 10:54:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bSitb-0007AU-Dr; Thu, 28 Jul 2016 10:50:31 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bSitZ-00079h-Sz for xen-devel@lists.xen.org; Thu, 28 Jul 2016 10:50:29 +0000 Received: from [85.158.139.211] by server-14.bemta-5.messagelabs.com id C5/3B-10347-573E9975; Thu, 28 Jul 2016 10:50:29 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeJIrShJLcpLzFFi42JxWrrBXrfk8cx wg+e/TS2WfFzM4sDocXT3b6YAxijWzLyk/IoE1oy5d3YwFSzmqjjfspitgfE5RxcjJ4eEgL/E 7X3LmUFsNgEDiRXTrzKC2CICshKru+awdzFycDALlEscPaYLYgoLOEm8v5YPYrIIqEpseVYIU swrYCfxe8dOFoiBchIN5++DDeQUsJdYefg+O4gtBFRzaONCZghbTeLGwmUsEL2CEidnPgGzmQ UkJA6+eMEMMl5CgFvib7f9BEa+WUiqZiGpWsDItIpRozi1qCy1SNfQTC+pKDM9oyQ3MTNH19D AVC83tbg4MT01JzGpWC85P3cTIzCYGIBgB+P5056HGCU5mJREecNCZ4YL8SXlp1RmJBZnxBeV 5qQWH2KU4eBQkuD9/BAoJ1iUmp5akZaZAwxrmLQEB4+SCO9/kDRvcUFibnFmOkTqFKOilDivy SOghABIIqM0D64NFkuXGGWlhHkZgQ4R4ilILcrNLEGVf8UozsGoJMwrBDKFJzOvBG76K6DFTE CLi2NngCwuSURISTUwLub+4Mr9IZd14c17bkUicW7aTqHTut7dYlu6VMTm0ZfpEv+CWBrNGi+ /jfgsK9Xk0Co1/1aN68n98878c/p9VVs29M+0kywZUoaJlYerv//i8fO9bztjk/rErxUqAqGz zzlLPn9umOAReamiZteJzZKP2Bb8813Num9quOFT8bVnNq1cv+zWQSWW4oxEQy3mouJEALRQZ nGgAgAA X-Env-Sender: prvs=0100a76d6=anthony.perard@citrix.com X-Msg-Ref: server-5.tower-206.messagelabs.com!1469703027!50148164!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 8.77; banners=-,-,- X-VirusChecked: Checked Received: (qmail 41059 invoked from network); 28 Jul 2016 10:50:28 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-5.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 28 Jul 2016 10:50:28 -0000 X-IronPort-AV: E=Sophos;i="5.28,433,1464652800"; d="scan'208";a="375969522" From: Anthony PERARD To: Date: Thu, 28 Jul 2016 11:50:02 +0100 Message-ID: <20160728105013.22310-5-anthony.perard@citrix.com> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160728105013.22310-1-anthony.perard@citrix.com> References: <20160728105013.22310-1-anthony.perard@citrix.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: Anthony PERARD , Wei Liu , Ian Jackson Subject: [Xen-devel] [PATCH v7 04/15] firmware/makefile: install BIOS blob ... X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP ... into the firmware directory, along with hvmloader. Signed-off-by: Anthony PERARD Acked-by: Wei Liu --- No change in V6. - acked Change in V5: - remove use of "variable" for SEABIOS_ROM and OVMF_ROM location there are static location - install seabios as bios.bin instead of seabios.bin Change in V4: - remove install of acpi dsdt table Change in V3: - do not check if ROMs file exist before installing, they should exist - change rules for dsdt_anycpu_qemu_xen.c in oder to generate both .c and .aml files without changing temporarly the other dsdt_*.c rules. --- tools/firmware/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tools/firmware/Makefile b/tools/firmware/Makefile index 6cc86ce..82b1f6b 100644 --- a/tools/firmware/Makefile +++ b/tools/firmware/Makefile @@ -45,6 +45,16 @@ endif install: all [ -d $(INST_DIR) ] || $(INSTALL_DIR) $(INST_DIR) [ ! -e $(TARGET) ] || $(INSTALL_DATA) $(TARGET) $(INST_DIR) +ifeq ($(CONFIG_SEABIOS),y) +ifeq ($(SEABIOS_PATH),) + $(INSTALL_DATA) seabios-dir/out/bios.bin $(INST_DIR)/bios.bin +endif +endif +ifeq ($(CONFIG_OVMF),y) +ifeq ($(OVMF_PATH),) + $(INSTALL_DATA) ovmf-dir/ovmf.bin $(INST_DIR)/ovmf.bin +endif +endif .PHONY: clean clean: subdirs-clean