Skip to content

Commit 53c5adf

Browse files
committed
sparc: vdso: clean up build artifacts in arch/sparc/vdso/
Currently, vdso-image-*.c, vdso*.so, vdso*.so.dbg are not cleaned because 'make clean' does not include include/config/auto.conf, resulting in $(vdso_img-y) being empty. Add the build artifacts to 'targets' unconditionally. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Sam Ravnborg <sam@ravnborg.org>
1 parent c9f2b8d commit 53c5adf

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

arch/sparc/vdso/Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,8 @@ targets += vdso.lds $(vobjs-y)
2424

2525
# Build the vDSO image C files and link them in.
2626
vdso_img_objs := $(vdso_img-y:%=vdso-image-%.o)
27-
vdso_img_cfiles := $(vdso_img-y:%=vdso-image-%.c)
28-
vdso_img_sodbg := $(vdso_img-y:%=vdso%.so.dbg)
2927
obj-y += $(vdso_img_objs)
30-
targets += $(vdso_img_cfiles)
31-
targets += $(vdso_img_sodbg) $(vdso_img-y:%=vdso%.so)
28+
targets += $(foreach x, 32 64, vdso-image-$(x).c vdso$(x).so vdso$(x).so.dbg)
3229

3330
CPPFLAGS_vdso.lds += -P -C
3431

0 commit comments

Comments
 (0)