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=-9.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,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 15511C433E1 for ; Fri, 7 Aug 2020 16:34:26 +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 DC85A20748 for ; Fri, 7 Aug 2020 16:34:25 +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="hsRWI1Qo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DC85A20748 Authentication-Results: mail.kernel.org; dmarc=fail (p=none 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 1k45JY-0002AG-4X; Fri, 07 Aug 2020 16:33:52 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1k45JW-0002AB-6z for xen-devel@lists.xenproject.org; Fri, 07 Aug 2020 16:33:50 +0000 X-Inumbo-ID: f38a59c4-e603-4c6a-a3ff-7116ba1103e3 Received: from esa5.hc3370-68.iphmx.com (unknown [216.71.155.168]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id f38a59c4-e603-4c6a-a3ff-7116ba1103e3; Fri, 07 Aug 2020 16:33:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1596818029; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=nnO5aTOZjX5ID+ZoNXOeOZbxKmrfJzqt5vu6mexE4SI=; b=hsRWI1QoDqyDAB+fm3DdlZnvx12QVjMxI4ReF97HGwhYd3yM5Qwqpdun MJgoffL3Xe4FnRskUe0W1AmSi2zI8N80HTMlb2DzbxQW/YafOzWf/mJtq nFjKeupX6p1DDnyXvwIcbeI8bkMQB1I8YMdwEzr5uazh6JjhC4EvYVpD2 c=; Authentication-Results: esa5.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: wtMOLiNMujuNa+yCG+2xE1d/W+TgArODTJtev51V8xVAEFbrnK9wjmjtGzN4kHLohU84aubPDB 9D8oVSruLAtBSi35/aGYVHE+T2DkMn2mjQO7B5uTG0kEV3VIzbWhNf4gwgKkmzKMlZwZaf9BjV R0rXwzh6jodNfCMt1ZM4C62NSp6zb/ZGsDadNCh0mVqqaAGJm/XnY9NH6dLIIA6puLH719dAhS jdptwiRU7yuvlt7hcrv02XcNsHsc1iYEAJSAGqpLQaccifWdYKOtodw00irCh/NLLNkATv5YO7 hVQ= X-SBRS: 2.7 X-MesageID: 24253274 X-Ironport-Server: esa5.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.75,446,1589256000"; d="scan'208";a="24253274" Subject: Re: [PATCH v2 1/7] x86/EFI: sanitize build logic To: Jan Beulich , "xen-devel@lists.xenproject.org" References: <3a8356a9-313c-6de8-f409-977eae1fbfa5@suse.com> <07e622b4-bb61-08e8-d96c-e770ec7abc53@suse.com> From: Andrew Cooper Message-ID: <0a544a9d-edc8-cb71-05a2-77c860050836@citrix.com> Date: Fri, 7 Aug 2020 17:33:44 +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: <07e622b4-bb61-08e8-d96c-e770ec7abc53@suse.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 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.