From patchwork Wed Sep 20 22:31:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Rzeszutek Wilk X-Patchwork-Id: 9962709 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 37823601D5 for ; Wed, 20 Sep 2017 22:34:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29DE52926F for ; Wed, 20 Sep 2017 22:34:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1EC8729272; Wed, 20 Sep 2017 22:34: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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID 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 4213D29271 for ; Wed, 20 Sep 2017 22:34:43 +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 1dunXR-0007GZ-J2; Wed, 20 Sep 2017 22:32:13 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dunXQ-0007FD-35 for xen-devel@lists.xenproject.org; Wed, 20 Sep 2017 22:32:12 +0000 Received: from [85.158.137.68] by server-1.bemta-3.messagelabs.com id AB/37-02048-B6CE2C95; Wed, 20 Sep 2017 22:32:11 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHIsWRWlGSWpSXmKPExsVyMfTGId2sN4c iDQ5vMLP4vmUykwOjx+EPV1gCGKNYM/OS8isSWDOePP3DXLBboOJ8+3n2BsblfF2MXBxCAjMY JdZf+cfexcjJwSLwgUXiwhcdkISEwDRWiemvHzJ3MXIAOVkSzQdcIMw0iflbS0DKJQTKJU5d3 8YGYgsJKElsmfyYEWLmISaJbz0nGEESwgJ6EpO/3Qaz2QT0JZ6uvQY10k3i0zUukHoRgXZGid lXfrGC1DALVEvsubgRqtdMYv3aDhaI21Ql3l9uYwKxeQWsJXr3r2eFOEJeYmLvNLB6TgEbif2 fOpkhDrKWeLL1NNsERuEFjAyrGDWKU4vKUot0jQ30kooy0zNKchMzc3QNDYz1clOLixPTU3MS k4r1kvNzNzECw7OegYFxB2PnCb9DjJIcTEqivNYvD0UK8SXlp1RmJBZnxBeV5qQWH2KU4eBQk uD99QooJ1iUmp5akZaZA4wUmLQEB4+SCK/Ha6A0b3FBYm5xZjpE6hSjJceFO5f+MHEc2HMLSH bcvPuHSYglLz8vVUqcdwZIgwBIQ0ZpHtw4WDRfYpSVEuZlZGBgEOIpSC3KzSxBlX/FKM7BqCT M6w0yhSczrwRu6yugg5iADsrecADkoJJEhJRUA6PCyh/rXqe8XRtmVftur9ssSb/7Dc4iAXuN 1h9ay7Pqfwank1K1fd/S/Y4WwTfOxC9xz85/fz95iWmHxdzLzmeSAws4JN4vF2S8xyvwsKPeP yX+ccuNPKZ/O62ERfuTfOPTE76KGMu9UXnTmSX2JC1HsiLq0vXf8lZak3p1RXaq5jL9E3kpo8 RSnJFoqMVcVJwIAJ7VFX/hAgAA X-Env-Sender: ketuzsezr@gmail.com X-Msg-Ref: server-10.tower-31.messagelabs.com!1505946730!115078257!1 X-Originating-IP: [209.85.216.194] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 42800 invoked from network); 20 Sep 2017 22:32:10 -0000 Received: from mail-qt0-f194.google.com (HELO mail-qt0-f194.google.com) (209.85.216.194) by server-10.tower-31.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 20 Sep 2017 22:32:10 -0000 Received: by mail-qt0-f194.google.com with SMTP id t46so2661975qtj.3 for ; Wed, 20 Sep 2017 15:32:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=wY0EgT5cUMkjodOb9ucLbKDAS99gZ/RmdrvadiyiTcA=; b=ghpQE7DMzf5IhN3S19ZOGwsJXy3zqpXKmO7Qj5bF5DpS/uEP4p9b24M8pqQRRDIcEg B1ZSQMEZs51TOtHKFY0Pui3yY/y5EVgQC7PzTCYrBc6LzjjVgJsY66bgbirI1tHJDK39 P/5jEwqGNvbTLvK/+RheDFM29BSevlWi0Vl9/tzpvKg8uk+pgfMB/zpb80Jro4ckSTND 875taVUaeVZmDcNgLHNVCBYS7Wr3S/cMPmV12PLsOg6Iw1cgtif+Bg3TCzIrVQyMSCBT rJ0Ds83/z0PwJtQ8TujXKW2WiD8P7kkPsaY20Nlawew3DYCO9ex2HVJCqEMuOYri8S05 o5ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=wY0EgT5cUMkjodOb9ucLbKDAS99gZ/RmdrvadiyiTcA=; b=Q0TV926zi02am7a4SEs0QR9cIFYXHuL3E9tBZcTecQV6tH12Fc60VPWb9BXiyidU8j 5jh9dauuDMaq7g9nbh4dIAw6dwRorzA93vhAE8XLoeFpBKcVFe6Qc2upItJyeUPsnKvv 1L48Tmzux2nt2z6Dcx7A8U+qkHerrOa5WiQ6KNrmnq3LcOr7HfqYkc8F8WHQLY1FsVjg lr8J8KK+f9NUMEQC+4xLfhthE3RV/ayYQW1Yf8Wj5PiXqDv5FEsmATeAmHikseJrJ+p4 grjIQtuLuQULTtmHpYui4p0sijS0/YfhWNOzMOt4dvsoGuu4OuuzJ+lycj4FCzqughhQ p1fg== X-Gm-Message-State: AHPjjUgoLMW5dqrcY0tqX2+8pQD1kezitvlky0TuBs5IBjYOh0y4CvRv hEdHd2nIjqqxwRaTwerZq/yDZw== X-Google-Smtp-Source: AOwi7QBEAN3gqiXS4DoW0/5zbPFZtfCc5spvDhBXj9O+NjS0lOp6oy9Xzuf7QA47WgjpOzxvgVGQkQ== X-Received: by 10.200.8.41 with SMTP id u38mr329740qth.339.1505946729678; Wed, 20 Sep 2017 15:32:09 -0700 (PDT) Received: from localhost.localdomain (209-6-200-48.s4398.c3-0.smr-ubr2.sbo-smr.ma.cable.rcncustomer.com. [209.6.200.48]) by smtp.gmail.com with ESMTPSA id z192sm2012656qka.91.2017.09.20.15.32.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Sep 2017 15:32:09 -0700 (PDT) From: Konrad Rzeszutek Wilk X-Google-Original-From: Konrad Rzeszutek Wilk To: xen-devel@lists.xenproject.org, ross.lagerwall@citrix.com, konrad.wilk@oracle.com, julien.grall@arm.com, sstabellini@kernel.org Date: Wed, 20 Sep 2017 18:31:43 -0400 Message-Id: <20170920223148.13137-7-konrad.wilk@oracle.com> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170920223148.13137-1-konrad.wilk@oracle.com> References: <20170920223148.13137-1-konrad.wilk@oracle.com> Cc: andrew.cooper3@citrix.com, Ian Jackson , Wei Liu , jbeulich@suse.com Subject: [Xen-devel] [PATCH v4 06/11] mkhex: Move it to tools/misc 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: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP It makes more sense to put a tool to be used by other subsystems to be in 'tools/misc' along 'mkrpm','mkdeb', etc. The patch titled "xen/livepatch/x86/arm32: Force .livepatch.depends section to be uint32_t aligned" uses mkhex. Suggested-by: Julien Grall Signed-off-by: Konrad Rzeszutek Wilk Acked-by: Wei Liu --- CC: Ian Jackson CC: Wei Liu Cc: Stefano Stabellini Cc: Julien Grall Cc: Jan Beulich Cc: Andrew Cooper v4: First posting. --- tools/firmware/hvmloader/Makefile | 8 ++++---- tools/{firmware/hvmloader => misc}/mkhex | 0 2 files changed, 4 insertions(+), 4 deletions(-) rename tools/{firmware/hvmloader => misc}/mkhex (100%) diff --git a/tools/firmware/hvmloader/Makefile b/tools/firmware/hvmloader/Makefile index 7c4c0ce535..a5b4c32c1a 100644 --- a/tools/firmware/hvmloader/Makefile +++ b/tools/firmware/hvmloader/Makefile @@ -91,23 +91,23 @@ roms.inc: $(ROMS) ifneq ($(ROMBIOS_ROM),) echo "#ifdef ROM_INCLUDE_ROMBIOS" >> $@.new - sh ./mkhex rombios $(ROMBIOS_ROM) >> $@.new + sh ../../misc/mkhex rombios $(ROMBIOS_ROM) >> $@.new echo "#endif" >> $@.new endif ifneq ($(STDVGA_ROM),) echo "#ifdef ROM_INCLUDE_VGABIOS" >> $@.new - sh ./mkhex vgabios_stdvga $(STDVGA_ROM) >> $@.new + sh ../../misc/mkhex vgabios_stdvga $(STDVGA_ROM) >> $@.new echo "#endif" >> $@.new endif ifneq ($(CIRRUSVGA_ROM),) echo "#ifdef ROM_INCLUDE_VGABIOS" >> $@.new - sh ./mkhex vgabios_cirrusvga $(CIRRUSVGA_ROM) >> $@.new + sh ../../misc/mkhex vgabios_cirrusvga $(CIRRUSVGA_ROM) >> $@.new echo "#endif" >> $@.new endif ifneq ($(ETHERBOOT_ROMS),) echo "#ifdef ROM_INCLUDE_ETHERBOOT" >> $@.new - sh ./mkhex etherboot $(ETHERBOOT_ROMS) >> $@.new + sh ../../misc/mkhex etherboot $(ETHERBOOT_ROMS) >> $@.new echo "#endif" >> $@.new endif diff --git a/tools/firmware/hvmloader/mkhex b/tools/misc/mkhex similarity index 100% rename from tools/firmware/hvmloader/mkhex rename to tools/misc/mkhex