non-x86: sync tidying logic at end of linking
PATCH 1/1 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.
xen/arch/arm/Makefile +1 -1
@@ -117,7 +117,7 @@ $(TARGET)-syms: $(objtree)/prelink.o $(o $(NM) -pa --format=sysv $@ \ | $(objtree)/tools/symbols --all-symbols --xensyms --sysv --sort \ > [email protected] - rm -f $(@D)/.$(@F).[0-9]* + rm -f $(dot-target).[0-9]* $(@D)/..$(@F).[0-9]* .PHONY: include include:
xen/arch/ppc/Makefile +1 -1
@@ -32,7 +32,7 @@ $(TARGET)-syms: $(objtree)/prelink.o $(o $(NM) -pa --format=sysv $@ \ | $(objtree)/tools/symbols --all-symbols --xensyms --sysv --sort \ > [email protected] - 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)
xen/arch/riscv/Makefile +1 -1
@@ -52,7 +52,7 @@ $(TARGET)-syms: $(objtree)/prelink.o $(o $(NM) -pa --format=sysv $@ \ | $(objtree)/tools/symbols --all-symbols --xensyms --sysv --sort \ > [email protected] - 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)
Quoted 31 lines · Jan Beulich
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 <[email protected]>xen/arch/arm/Makefile +1
-1@@ -117,7 +117,7 @@ $(TARGET)-syms: $(objtree)/prelink.o $(o $(NM) -pa --format=sysv $@ \ | $(objtree)/tools/symbols --all-symbols --xensyms --sysv --sort \ > [email protected] - rm -f $(@D)/.$(@F).[0-9]* + rm -f $(dot-target).[0-9]* $(@D)/..$(@F).[0-9]* .PHONY: include include:xen/arch/ppc/Makefile +1
-1@@ -32,7 +32,7 @@ $(TARGET)-syms: $(objtree)/prelink.o $(o $(NM) -pa --format=sysv $@ \ | $(objtree)/tools/symbols --all-symbols --xensyms --sysv --sort \ > [email protected] - 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)
xen/arch/riscv/Makefile $(TARGET)-syms: $(objtree)/prelink.o $(o · line 58
Quoted 8 lines
xen/arch/riscv/Makefile +1
-1@@ -52,7 +52,7 @@ $(TARGET)-syms: $(objtree)/prelink.o $(o $(NM) -pa --format=sysv $@ \ | $(objtree)/tools/symbols --all-symbols --xensyms --sysv --sort \ > [email protected] - 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)
LGTM:
Thanks.
~ Oleksii
Quoted 5 lines · Jan Beulich
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 <[email protected]>
Quoted 5 lines · Jan Beulich
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 <[email protected]>
~Michal