Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4D45C433E0 for ; Mon, 10 Aug 2020 14:38:54 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A11A120771 for ; Mon, 10 Aug 2020 14:38:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=citrix.com header.i=@citrix.com header.b="Y4lhEhdA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A11A120771 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1k58we-0008Jd-6D; Mon, 10 Aug 2020 14:38:36 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1k58wc-0008JV-I6 for xen-devel@lists.xenproject.org; Mon, 10 Aug 2020 14:38:34 +0000 X-Inumbo-ID: b032379c-6dd9-473a-8e01-0e058991cac3 Received: from esa2.hc3370-68.iphmx.com (unknown [216.71.145.153]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id b032379c-6dd9-473a-8e01-0e058991cac3; Mon, 10 Aug 2020 14:38:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1597070314; h=subject:from:to:cc:references:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=vJ8dmo/QwxWAU3avpF0Dyh7p54QkxZbboNwEPvKU0bY=; b=Y4lhEhdAAKh+jQYzNJnj9XNDthCkIaeiwHM9VFXnRKr0UsX3JD0kiDk+ klwIWQMFwzXSJlfC9+quESrhMlZT5YBnMZY2Y1cpAkEzetj97kTN6cS4D geK8NJUytGwRtnZf+nYiHjrPm3pXyiKPKmrp9i1z0v627UXCSdvJzaqxY 0=; Authentication-Results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: yVArj69cwGdbAc4XJMplrUGOO5p8oFN0LYe3fIvfu5trejZ/7t3u0AkmIrBo42c1bDwzodo8jG 6iRfa82htnOV74g/teD02lpdANupbD07AK6gWIUvXaj72SRckfbJZkn23SSCXaC3zNHhFcstPT 4lHCeOOBZ3NirmPQIGcXfXzHqGQmtqwnJUCGyo4vlGfvJfsBAaiDrQd6aOGqnT6Bf3ZP4iEyrF 6XO3x4cQYPLID9lTCmrTgzMNPvipD94yy8dQvlpnJHbuxHIwpfRoLSlT7lfDjGHQI3B49GgWGc y2E= X-SBRS: 2.7 X-MesageID: 24197825 X-Ironport-Server: esa2.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.75,457,1589256000"; d="scan'208";a="24197825" Subject: Re: [PATCH v2 1/7] x86/EFI: sanitize build logic From: Andrew Cooper To: Jan Beulich , "xen-devel@lists.xenproject.org" References: <3a8356a9-313c-6de8-f409-977eae1fbfa5@suse.com> <07e622b4-bb61-08e8-d96c-e770ec7abc53@suse.com> <0a544a9d-edc8-cb71-05a2-77c860050836@citrix.com> Message-ID: <6eab1af6-1845-c4b6-5fbb-76d9974404f1@citrix.com> Date: Mon, 10 Aug 2020 15:38:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <0a544a9d-edc8-cb71-05a2-77c860050836@citrix.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Content-Language: en-GB X-ClientProxiedBy: AMSPEX02CAS01.citrite.net (10.69.22.112) To AMSPEX02CL02.citrite.net (10.69.22.126) X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Wei Liu , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On 07/08/2020 17:33, Andrew Cooper wrote: > On 07/08/2020 12:32, Jan Beulich wrote: >> With changes done over time and as far as linking goes, the only special >> thing about building with EFI support enabled is the need for the dummy >> relocations object for xen.gz uniformly in all build stages. All other >> efi/*.o can be consumed from the built_in*.o files. >> >> In efi/Makefile, besides moving relocs-dummy.o to "extra", also properly >> split between obj-y and obj-bin-y. >> >> Signed-off-by: Jan Beulich > Acked-by: Andrew Cooper > > I'd prefer to see this all in Kconfig, but this is a clear improvement > in its own right. Actually, it breaks the build with LIVEPATCH enabled. make[2]: *** No rule to make target 'efi/buildid.o', needed by '/local/security/xen.git/xen/xen.efi'.  Stop. make[2]: *** Waiting for unfinished jobs.... Makefile:355: recipe for target '/local/security/xen.git/xen/xen' failed