Skip to contentSkip to conversation

riscv: delete temporary files

PATCH In review Ilie Halip 2 participants 2 messages Jan 15, 2020 – Jan 17, 2020 RISC-V

lore
Share & tools
lore

Ilie Halip

author
#0 lore raw

PATCH 1/1 riscv: delete temporary files

Temporary files used in the VDSO build process linger on even after make
mrproper: vdso-dummy.o.tmp, vdso.so.dbg.tmp.

Delete them once they're no longer needed.

---
 arch/riscv/kernel/vdso/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/riscv/kernel/vdso/Makefile +2 -1
index 49a5852fd07d..33b16f4212f7 100644
@@ -58,7 +58,8 @@ quiet_cmd_vdsold = VDSOLD  $@
       cmd_vdsold = $(CC) $(KBUILD_CFLAGS) $(call cc-option, -no-pie) -nostdlib -nostartfiles $(SYSCFLAGS_$(@F)) \
                            -Wl,-T,$(filter-out FORCE,$^) -o [email protected] && \
                    $(CROSS_COMPILE)objcopy \
-                           $(patsubst %, -G __vdso_%, $(vdso-syms)) [email protected] $@
+                           $(patsubst %, -G __vdso_%, $(vdso-syms)) [email protected] $@ && \
+                   rm [email protected]
 
 # install commands for the unstripped file
 quiet_cmd_vdso_install = INSTALL $@

base-commit: dc6fcba72f0435b7884f2e92fd634bb9f78a2c60

Signature · 1 line
2.17.1
#1 lore raw
Quoted 6 lines · Ilie Halip

Temporary files used in the VDSO build process linger on even after make
mrproper: vdso-dummy.o.tmp, vdso.so.dbg.tmp.

Delete them once they're no longer needed.

Thanks, queued for v5.5-rc.

- Paul