[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XEN PATCH v9 01/30] build: set XEN_BUILD_EFI earlier


  • To: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 27 Jan 2022 16:35:10 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gPujNYUxo+0Gasu8USXOZu8hbrzsyrESsyFPFo/qBsE=; b=FAKSBqEexS0QoG5toNZDnzbd2pp2TFq1cymL9unGQOG7M3mQxSSesu+HDgqzyASYNBDHee5drGz96e/3F0EW/U0D/pueBsqCzN4clIxee0Kp6TWLNUpASxeFRt4BGeXe4RvlFM+17t3kM04EPDbhKtJxzeTVFRBoi2uamTpP01hB6ZLBZ0w+C9WVqykkasRvilog9P8RA1wZedIL6niz5Q+cJkGZky3f0nh7cW7AL/PeB3I2o01fF2dO+/ND99RzMKTINTMwwXzgO2u9bBTe69NfRk54GO64SSc9m9vDHEWhOQqaq4Hm30duQLzkcjC5dZWWDo2j3y2FI1iJENNZHg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cFWUXvH61WpszFfFWLfI5v8ukv2Kx3Vn/YFVB1Z8xz9P1Yu3SD0OxTaGI5kyjSrX1bupZqvMTJLy3Wxq/HGvGhl6gxU7AQgihAirKZrXtA07xEjsKjB8ev+iYI29oxac1mUO/CAFH7dvhR267v8Zc9jssaYp/vRDrX721GJS3TNPtjeF9l/suTioC1BNOWtAsGtf7xvWT5Lg4s28LE3pM0oUjRhtqPgFzSll6Xv/cAUQ7NFT9NF/dFBf9ovID6Af5WWBq5jo5M2/UOP/g9mbX0QVGlLIVuREL5yrQkfxS0Jmf7mV3GrHXCqW7ZqTgbDUlVgYU0sadnU3TNS91QEqJQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 27 Jan 2022 15:35:28 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 25.01.2022 12:00, Anthony PERARD wrote:
> We are going to need the variable XEN_BUILD_EFI earlier.
> 
> But a side effect of calculating the value of $(XEN_BUILD_EFI) is to
> also to generate "efi/check.o" which is used for further checks.
> Thus the whole chain that check for EFI support is moved to
> "arch.mk".
> 
> Some other changes are made to avoid too much duplication:
>     - $(efi-check): Used to avoid repeating "efi/check.*". We don't
>       set it to the path to the source as it would be wrong as soon
>       as we support out-of-tree build.
>     - $(LD_PE_check_cmd): As it is called twice, with an updated
>       $(EFI_LDFLAGS).
> 
> $(nr-fixups) is renamed to $(efi-nr-fixups) as the former might be
> a bit too generic.
> 
> In order to avoid exporting MKRELOC, the variable is added to $(MAKE)
> command line. The only modification needed is in target "build", the
> modification target "$(TARGET)" will be needed with a following patch
> "build: avoid re-executing the main Makefile by introducing build.mk".
> 
> We can now revert 24b0ce9a5da2, we don't need to override efi-y on
> recursion anymore.
> 
> Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.