From patchwork Wed Jun 22 17:15:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 9193377 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 71D79601C0 for ; Wed, 22 Jun 2016 17:18:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5EB7F2840B for ; Wed, 22 Jun 2016 17:18:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5330028417; Wed, 22 Jun 2016 17:18:54 +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 0ECD72840B for ; Wed, 22 Jun 2016 17:18:54 +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 1bFlld-0004o7-0i; Wed, 22 Jun 2016 17:16:45 +0000 Received: from mail6.bemta6.messagelabs.com ([85.158.143.247]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFllb-0004mP-E9 for xen-devel@lists.xen.org; Wed, 22 Jun 2016 17:16:43 +0000 Received: from [85.158.143.35] by server-1.bemta-6.messagelabs.com id 68/F8-09256-BF7CA675; Wed, 22 Jun 2016 17:16:43 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjkeJIrShJLcpLzFFi42JxWrrBXvfX8ax wg4eP9CyWfFzM4sDocXT3b6YAxijWzLyk/IoE1ozudz+ZCx5wVnw8NY2pgXEDRxcjJ4eEgL/E /ilbWUFsNgEDiRXTrzKC2CICshKru+awdzFycDALlEscPaYLEhYWcJJ4Pr8drIRFQFXi7IHbz CA2r4CtxLrvp5khRspJNJy/D2ZzCthJLHvVwwZiCwHV3F6wgBHCVpO4sXAZC0SvoMTJmU/AbG YBCYmDL14wg6yVEOCW+NttP4GRbxaSqllIqhYwMq1iVC9OLSpLLdI11EsqykzPKMlNzMzRNTQ w08tNLS5OTE/NSUwq1kvOz93ECAwnBiDYwbjzudMhRkkOJiVRXsZtWeFCfEn5KZUZicUZ8UWl OanFhxhlODiUJHjjjwHlBItS01Mr0jJzgIENk5bg4FES4T0PkuYtLkjMLc5Mh0idYlSUEueNA EkIgCQySvPg2mDRdIlRVkqYlxHoECGegtSi3MwSVPlXjOIcjErCvHNBpvBk5pXATX8FtJgJaP Gy/nSQxSWJCCmpBkbz4iCpDYzPvE3P+6Ysnv4l4Zbh3G9HmDjc9n+eV+gcu2bzffak2Xl5Wl2 9n5NKunpWfOfa1OIV0e1dkhxg+vYM57+ce7ePvONPjmXlYp6VcSPE1PrvN+t5bqHBbyQm5P7c s7AsxTB0o4Ta5gUiOyI7Kp3uXvpRGf33nPLkJL1e/V8bZeTdHiuxFGckGmoxFxUnAgCVzDLuo QIAAA== X-Env-Sender: prvs=9742ee4c2=anthony.perard@citrix.com X-Msg-Ref: server-3.tower-21.messagelabs.com!1466615799!19762275!3 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.46; banners=-,-,- X-VirusChecked: Checked Received: (qmail 28342 invoked from network); 22 Jun 2016 17:16:42 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-3.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 22 Jun 2016 17:16:42 -0000 X-IronPort-AV: E=Sophos;i="5.26,509,1459814400"; d="scan'208";a="369016599" From: Anthony PERARD To: Date: Wed, 22 Jun 2016 18:15:35 +0100 Message-ID: <20160622171545.5304-5-anthony.perard@citrix.com> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160622171545.5304-1-anthony.perard@citrix.com> References: <20160622171545.5304-1-anthony.perard@citrix.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: Anthony PERARD , Wei Liu , Ian Jackson Subject: [Xen-devel] [PATCH v5 04/14] 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 --- 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