summaryrefslogtreecommitdiffstats
path: root/arch/sparc/vdso/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-12-03 19:14:18 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2023-12-10 15:34:37 +0900
commitd821f8a26efb6789666d70ce7a8f27df6c33c12e (patch)
tree14a2429535d3af122ead3585db874e11a30b4ea6 /arch/sparc/vdso/Makefile
parent918d8f94720a103a48ffb5a3ec10c0f680ba78ad (diff)
downloadlinux-stable-d821f8a26efb6789666d70ce7a8f27df6c33c12e.tar.gz
linux-stable-d821f8a26efb6789666d70ce7a8f27df6c33c12e.tar.bz2
linux-stable-d821f8a26efb6789666d70ce7a8f27df6c33c12e.zip
sparc: vdso: use $(addprefix ) instead of $(foreach )
$(addprefix ) is slightly shorter and more intuitive. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/sparc/vdso/Makefile')
-rw-r--r--arch/sparc/vdso/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/vdso/Makefile b/arch/sparc/vdso/Makefile
index 03a32b6156ee..7f5eedf1f5e0 100644
--- a/arch/sparc/vdso/Makefile
+++ b/arch/sparc/vdso/Makefile
@@ -13,7 +13,7 @@ obj-y += vma.o
obj-$(CONFIG_SPARC64) += vdso-image-64.o
obj-$(CONFIG_COMPAT) += vdso-image-32.o
-vobjs := $(foreach F,$(vobjs-y),$(obj)/$F)
+vobjs := $(addprefix $(obj)/, $(vobjs-y))
$(obj)/vdso.o: $(obj)/vdso.so