Skip to content

Commit

Permalink
sparc: vdso: use $(addprefix ) instead of $(foreach )
Browse files Browse the repository at this point in the history
$(addprefix ) is slightly shorter and more intuitive.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
  • Loading branch information
Masahiro Yamada committed Dec 10, 2023
1 parent 918d8f9 commit d821f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc/vdso/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d821f8a

Please sign in to comment.