[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging-4.15] x86: fix build race when generating temporary object files (take 2)



commit eae0dfac891f521ceb6c4733e22a0cd718f336c0
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Fri Jun 4 14:49:40 2021 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Jun 4 14:49:40 2021 +0200

    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@xxxxxxxx>
    master commit: 8c90dbb99907f3b471d558775777a84daec7c3f6
    master date: 2021-05-28 09:12:24 +0200
---
 xen/arch/x86/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/arch/x86/Makefile b/xen/arch/x86/Makefile
index b6567c4127..b560c12a58 100644
--- a/xen/arch/x86/Makefile
+++ b/xen/arch/x86/Makefile
@@ -286,5 +286,5 @@ clean::
 # Suppress loading of DEPS files for internal, temporary target files.  This
 # then also suppresses re-generation of the respective .*.d2 files.
 ifeq ($(filter-out .xen%.o,$(notdir $(MAKECMDGOALS))),)
-DEPS:=
+DEPS_INCLUDE:=
 endif
--
generated by git-patchbot for /home/xen/git/xen.git#staging-4.15



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.