From patchwork Tue Jul 12 14:42:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anthony PERARD X-Patchwork-Id: 9225529 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 CA5A36086B for ; Tue, 12 Jul 2016 14:48:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6F0427D29 for ; Tue, 12 Jul 2016 14:48:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB7D627E78; Tue, 12 Jul 2016 14:48:47 +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 923A027D85 for ; Tue, 12 Jul 2016 14:48:46 +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 1bMyxI-00042w-9w; Tue, 12 Jul 2016 14:46:36 +0000 Received: from mail6.bemta6.messagelabs.com ([85.158.143.247]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMyxH-000417-Gc for xen-devel@lists.xen.org; Tue, 12 Jul 2016 14:46:35 +0000 Received: from [85.158.143.35] by server-1.bemta-6.messagelabs.com id 08/11-09256-AC205875; Tue, 12 Jul 2016 14:46:34 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupnkeJIrShJLcpLzFFi42JxWrohUvcUU2u 4wcKVUhZLPi5mcWD0OLr7N1MAYxRrZl5SfkUCa8bcOzuYChZzVZxvWczWwPico4uRk0NCwF/i 1pG7LCA2m4CBxIrpVxlBbBEBWYnVXXPYuxg5OJgFyiWOHtMFCQsLOEnsfDSNGcRmEVCVuDnjM JjNK2AjcWL3fFaIkXISDefvg8U5BWwl2lqfgtlCQDVrl85ihbDVJG4sXMYC0SsocXLmEzCbWU BC4uCLF8wQc7glbp+eyjyBkW8WkrJZSMoWMDKtYlQvTi0qSy3SNdRLKspMzyjJTczM0TU0MNP LTS0uTkxPzUlMKtZLzs/dxAgMKAYg2MG487nTIUZJDiYlUd5m5pZwIb6k/JTKjMTijPii0pzU 4kOMMhwcShK8foyt4UKCRanpqRVpmTnA0IZJS3DwKInw2oOkeYsLEnOLM9MhUqcYFaXEeTVBE gIgiYzSPLg2WDxdYpSVEuZlBDpEiKcgtSg3swRV/hWjOAejkjDvdJApPJl5JXDTXwEtZgJaXO vQDLK4JBEhJdXAGKeWwHMkRKhifSl7iX24+O3bRktYgjf/UuC/d0ySM90zcNbmcvuIFyJPOqW THi/ePzc469Rp5nCNN4a7knfF7j62hbE+yrDv7N/F6fWnxV1L6sXrao1OHmJ0ltvwSIiTsXMR 478LVx59ZPu+wTCHmePokWfBEl2TX025/T2vwfXx+fk7ovbdU2Ipzkg01GIuKk4EALYZqZ6iA gAA X-Env-Sender: prvs=994f31c19=anthony.perard@citrix.com X-Msg-Ref: server-8.tower-21.messagelabs.com!1468334791!23436962!2 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 8.77; banners=-,-,- X-VirusChecked: Checked Received: (qmail 64622 invoked from network); 12 Jul 2016 14:46:34 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-8.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 12 Jul 2016 14:46:34 -0000 X-IronPort-AV: E=Sophos;i="5.28,352,1464652800"; d="scan'208";a="365726520" From: Anthony PERARD To: Date: Tue, 12 Jul 2016 15:42:41 +0100 Message-ID: <20160712144251.558-5-anthony.perard@citrix.com> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160712144251.558-1-anthony.perard@citrix.com> References: <20160712144251.558-1-anthony.perard@citrix.com> MIME-Version: 1.0 X-DLP: MIA2 Cc: Anthony PERARD , Wei Liu , Ian Jackson Subject: [Xen-devel] [PATCH v6 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 --- 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