Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 -4
+1 -4
arch/sparc/vdso/Makefile
··· 24 24 25 25 # Build the vDSO image C files and link them in. 26 26 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) 29 27 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) 32 29 33 30 CPPFLAGS_vdso.lds += -P -C 34 31