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: simplify obj-y addition

Add objects to obj-y in a more straightforward way.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>

+2 -9
+2 -9
arch/sparc/vdso/Makefile
··· 3 3 # Building vDSO images for sparc. 4 4 # 5 5 6 - VDSO64-$(CONFIG_SPARC64) := y 7 - VDSOCOMPAT-$(CONFIG_COMPAT) := y 8 - 9 6 # files to link into the vdso 10 7 vobjs-y := vdso-note.o vclock_gettime.o 11 8 ··· 10 13 obj-y += vma.o 11 14 12 15 # vDSO images to build 13 - vdso_img-$(VDSO64-y) += 64 14 - vdso_img-$(VDSOCOMPAT-y) += 32 16 + obj-$(CONFIG_SPARC64) += vdso-image-64.o 17 + obj-$(CONFIG_COMPAT) += vdso-image-32.o 15 18 16 19 vobjs := $(foreach F,$(vobjs-y),$(obj)/$F) 17 20 18 21 $(obj)/vdso.o: $(obj)/vdso.so 19 22 20 23 targets += vdso.lds $(vobjs-y) 21 - 22 - # Build the vDSO image C files and link them in. 23 - vdso_img_objs := $(vdso_img-y:%=vdso-image-%.o) 24 - obj-y += $(vdso_img_objs) 25 24 targets += $(foreach x, 32 64, vdso-image-$(x).c vdso$(x).so vdso$(x).so.dbg) 26 25 27 26 CPPFLAGS_vdso.lds += -P -C