x86: fix build race when generating temporary object files (take 2)
authorJan Beulich <jbeulich@suse.com>
Fri, 28 May 2021 07:12:24 +0000 (09:12 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 28 May 2021 07:12:24 +0000 (09:12 +0200)
commit8c90dbb99907f3b471d558775777a84daec7c3f6
tree2c08bc9279dbfc828735440904c49d83769aeb31
parent9fdcf851689cb2a9501d3947cb5d767d9c7797e8
x86: fix build race when generating temporary object files (take 2)

The original commit wasn't quite sufficient: Emptying DEPS is helpful
only when nothing will get added to it subsequently. xen/Rules.mk will,
after including the local Makefile, amend DEPS by dependencies for
objects living in sub-directories though. For the purpose of suppressing
dependencies of the makefiles on the .*.d2 files (and thus to avoid
their re-generation) it is, however, not necessary at all to play with
DEPS. Instead we can override DEPS_INCLUDE (which generally is a late-
expansion variable).

Fixes: 761bb575ce97 ("x86: fix build race when generating temporary object files")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/Makefile