x86/build: correctly record dependencies of asm-offsets.s
authorJan Beulich <jbeulich@suse.com>
Tue, 2 Feb 2021 10:36:50 +0000 (11:36 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 2 Feb 2021 10:36:50 +0000 (11:36 +0100)
commit5e7aa904405fa2f268c3af213516bae271de3265
tree3404702f946f3b68e36dbd98226c979a41786dca
parent7978d05dbc35373a2e50472f775c9995897fe6c1
x86/build: correctly record dependencies of asm-offsets.s

Going through an intermediate *.new file requires telling the compiler
what the real target is, so that the inclusion of the resulting .*.d
file will actually be useful.

Fixes: 7d2d7a43d014 ("x86/build: limit rebuilding of asm-offsets.h")
Reported-by: Julien Grall <julien@xen.org>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
xen/arch/x86/Makefile