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

[xen staging] non-x86: sync tidying logic at end of linking



commit 388497e5f94f8bee1ba49515ed64bb0fcf8ac621
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Wed Jul 22 09:26:36 2026 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Wed Jul 22 09:26:36 2026 +0200

    non-x86: sync tidying logic at end of linking
    
    Mirror what 761bb575ce97 ("x86: fix build race when generating temporary
    object files") did there to other ports: These ..*.cmd files aren't useful
    to have/keep.
    
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Reviewed-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx> # riscv
    Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
    Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
---
 xen/arch/arm/Makefile   | 2 +-
 xen/arch/ppc/Makefile   | 2 +-
 xen/arch/riscv/Makefile | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile
index 84c4062b30..b7afd3e58c 100644
--- a/xen/arch/arm/Makefile
+++ b/xen/arch/arm/Makefile
@@ -117,7 +117,7 @@ $(TARGET)-syms: $(objtree)/prelink.o $(obj)/xen.lds
        $(NM) -pa --format=sysv $@ \
                | $(objtree)/tools/symbols --all-symbols --xensyms --sysv 
--sort \
                > $@.map
-       rm -f $(@D)/.$(@F).[0-9]*
+       rm -f $(dot-target).[0-9]* $(@D)/..$(@F).[0-9]*
 
 .PHONY: include
 include:
diff --git a/xen/arch/ppc/Makefile b/xen/arch/ppc/Makefile
index fea39ae732..75215e07a8 100644
--- a/xen/arch/ppc/Makefile
+++ b/xen/arch/ppc/Makefile
@@ -32,7 +32,7 @@ $(TARGET)-syms: $(objtree)/prelink.o $(obj)/xen.lds
        $(NM) -pa --format=sysv $@ \
                | $(objtree)/tools/symbols --all-symbols --xensyms --sysv 
--sort \
                > $@.map
-       rm -f $(@D)/.$(@F).[0-9]*
+       rm -f $(dot-target).[0-9]* $(@D)/..$(@F).[0-9]*
 
 $(obj)/xen.lds: $(src)/xen.lds.S FORCE
        $(call if_changed_dep,cpp_lds_S)
diff --git a/xen/arch/riscv/Makefile b/xen/arch/riscv/Makefile
index 4c7d4e5af5..4fcdcf9e24 100644
--- a/xen/arch/riscv/Makefile
+++ b/xen/arch/riscv/Makefile
@@ -64,7 +64,7 @@ $(TARGET)-syms: $(objtree)/prelink.o $(obj)/xen.lds
        $(NM) -pa --format=sysv $@ \
                | $(objtree)/tools/symbols --all-symbols --xensyms --sysv 
--sort \
                > $@.map
-       rm -f $(@D)/.$(@F).[0-9]*
+       rm -f $(dot-target).[0-9]* $(@D)/..$(@F).[0-9]*
 
 $(obj)/xen.lds: $(src)/xen.lds.S FORCE
        $(call if_changed_dep,cpp_lds_S)
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

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