Skip to content

Commit 95f4d9c

Browse files
ihalippaul-walmsley-sifive
authored andcommitted
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. Signed-off-by: Ilie Halip <[email protected]> Signed-off-by: Paul Walmsley <[email protected]>
1 parent 20d2292 commit 95f4d9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/riscv/kernel/vdso/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ quiet_cmd_vdsold = VDSOLD $@
5858
cmd_vdsold = $(CC) $(KBUILD_CFLAGS) $(call cc-option, -no-pie) -nostdlib -nostartfiles $(SYSCFLAGS_$(@F)) \
5959
-Wl,-T,$(filter-out FORCE,$^) -o $@.tmp && \
6060
$(CROSS_COMPILE)objcopy \
61-
$(patsubst %, -G __vdso_%, $(vdso-syms)) $@.tmp $@
61+
$(patsubst %, -G __vdso_%, $(vdso-syms)) $@.tmp $@ && \
62+
rm $@.tmp
6263

6364
# install commands for the unstripped file
6465
quiet_cmd_vdso_install = INSTALL $@

0 commit comments

Comments
 (0)