[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] firmware/shim: update linkfarm exclusions
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Date: Tue, 25 May 2021 16:12:10 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; 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-SenderADCheck; bh=YOywZKrDduUiNYpkV64W6bHWcaGeA5M553mF+IcM46k=; b=JeBhBeelWzLUt9Rt94TSz0tyCbVFydnN6T1yl1+fQ59pxKXuot99NtEGvSl6P1lCo0ThWurTWPIyNtZoYSbM+6ceSLwkWtyVcFEITV+eafnUxkA2ZuESa2oGRj2QJFOhGNveo3yRBzRUM4h1g/E6SRELVELQll8nFdnnsKPV+xO5Nx2PfHuDSc0yAVXZ4kmtZuRJN97Is6jT5hKtthonM+QkyFYHvaAyEEFnvr8BA9Mw76DNcZXgm+SYFZXJ//AEqMSBkFoPSvR3bQBxfFSB2yeCBcanpzhOtgEsGyxuhFvgtE8X6uRyn5Xm1RShfy4oCpb1ap3iYjkU/X0pxljFtQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cgR5iuAztOlWocJx5qm1T7W3dqFJ3oFAcVGy7way9ZMSpGJQGuJXi9jf/NJu9IALyR6A9Ei1ESsHscxThWhrchznJ+zHyoH5ZtgEy8n/lP4HboMdvrcuoSdcJQq4uZenbDrlx2T+2BSjA1hTLqM8vVNPzKe8oHa/a55z0ESoys57pIsGp49nSy/xBK6BPTfPHf/k7+U6T+O2hXFYdQoAWOEJnox2HXRV4Ud424lbFe1PZJFly2drhmWV6krO2y/RGJ2/nlw+qvMTigOznrs+bZk2bMw9gHWaR/4C1VTHyBvm3q0qNxeFvMHEcnr3tcZFoMkgk1iogK4LcMg1Xay71A==
- Authentication-results: esa4.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
- Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>
- Delivery-date: Tue, 25 May 2021 14:12:38 +0000
- Ironport-data: A9a23:9ksSWaC4y2181RVW/0Ljw5YqxClBgxIJ4kV8jS/XYbTApDgh1GMHn GtKD2uGPP3eZjGjcop+aYixpE9XvJ/Vx9NgQQY4rX1jcSlH+JHPbTi7wuYcHM8wwunrFh8PA xA2M4GYRCwMZiaH4EjratANlFEkvU2ybuOU5NXsZ2YhH2eIdA970Ug6w7Nj39Yy6TSEK1jlV e3a8pW31GCNg1aYAkpMg05UgEoy1BhakGpwUm0WPZinjneH/5UmJMt3yZWKB2n5WuFp8tuSH I4v+l0bElTxpH/BAvv9+lryn9ZjrrT6ZWBigVIOM0Sub4QrSoXfHc/XOdJFAXq7hQllkPhU6 Mlmk8GVcDw7O4eVwdYnczBoSCpxaPguFL/veRBTsOSWxkzCNXDt3+9vHAc9OohwFuRfWD8Us 6ZCcXZUM0DF3bveLLGTE4GAguw5K8bmJsUHs2xIxjDFF/c2B5vERs0m4PcEgm5q2JERRJ4yY eJHcAFvdhKfYiRiJ3UWS8oklc6toEbgJmgwRFW9+vNsvjm7IBZK+KfpGMrYfJqNX8o9tkeHp ErW8mLhGBYYOdeDjz2f/RqEhOXCgCf6U4I6D6Cj+7hhh1j77nweDlgaWEW2pdG9i1WiQJRPJ koM4C0soKMuskuxQbHAswaQ+SDe+ERGApwJTr18sljlJrfoDxixI0gYZRgcTeUdpsocHGUY7 H+gr4jiCmk62FGKck5x5ot4vBvrZ3JMfDVYO35aJecW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HobbK8sREa+DG7+hhyjgzA8RTaUfJUX4fNGKrRkzl540JjRt4CpF vZxQmnMKYh8+W5iOkbIBkX9FM0vg0cx/Kg/G9yuHwyfWf4LG2AWn+9lpIkH/ChNHt8AKpsggHx t3s=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Fri, Apr 30, 2021 at 04:43:59PM +0200, Jan Beulich wrote:
> Some intermediate files weren't considered at all at the time. Also
> after its introduction, various changes to the build environment have
> rendered the exclusion sets stale. For example, we now have some .*.cmd
> files in the build tree. Combine all respective patterns into a single
> .* one, seeing that we don't have any actual source files matching this
> pattern in the tree. Add other patterns as well as individual files.
> Also introduce LINK_EXCLUDE_PATHS to deal with entire directories full
> of generated headers as well as a few specific files the names of which
> are too generic to list under LINK_EXCLUDES.
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Acked-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
>
> --- a/tools/firmware/xen-dir/Makefile
> +++ b/tools/firmware/xen-dir/Makefile
> @@ -15,9 +15,19 @@ DEP_DIRS=$(foreach i, $(LINK_DIRS), $(XE
> DEP_FILES=$(foreach i, $(LINK_FILES), $(XEN_ROOT)/$(i))
>
> # Exclude some intermediate files and final build products
> -LINK_EXCLUDES := '*.[isoa]' '.*.d' '.*.d2' '.config'
> -LINK_EXCLUDES += '*.map' 'xen' 'xen.gz' 'xen.efi' 'xen-syms'
> -LINK_EXCLUDES += '.*.tmp'
> +LINK_EXCLUDES := '*.[isoa]' '*.bin' '*.chk' '*.lnk' '*.gz' '.*'
> +LINK_EXCLUDES += lexer.lex.? parser.tab.? conf
> +LINK_EXCLUDES += asm-offsets.h asm-macros.h compile.h '*-autogen.h'
> +LINK_EXCLUDES += mkelf32 mkreloc symbols config_data.S xen.lds efi.lds
> +LINK_EXCLUDES += '*.map' xen xen.gz xen.efi xen-syms check.efi
> +
> +# To exclude full subtrees or individual files of not sufficiently specific
> +# names, regular expressions are used:
> +LINK_EXCLUDE_PATHS := xen/include/compat/.*
> +LINK_EXCLUDE_PATHS += xen/include/config/.*
> +LINK_EXCLUDE_PATHS += xen/include/generated/.*
> +LINK_EXCLUDE_PATHS += xen/arch/x86/boot/reloc[.]S
> +LINK_EXCLUDE_PATHS += xen/arch/x86/boot/cmdline[.]S
>
> # This is all a giant mess and doesn't really work.
> #
> @@ -32,9 +42,10 @@ LINK_EXCLUDES += '.*.tmp'
> # support easy development of the shim, but has a side effect of clobbering
> # the already-built shim.
> #
> -# $(LINK_EXCLUDES) should be set such that a parallel build of shim and xen/
> -# doesn't cause a subsequent `make install` to decide to regenerate the
> -# linkfarm. This means that all final build artefacts must be excluded.
> +# $(LINK_EXCLUDES) and $(LINK_EXCLUDE_DIRS) should be set such that a
> parallel
> +# build of shim and xen/ doesn't cause a subsequent `make install` to decide
> to
> +# to regenerate the linkfarm. This means that all intermediate and final
> build
^ duplicated 'to'
Thanks, Roger.
|