diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-12-03 11:14:18 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-12-10 07:34:37 +0100 |
commit | d821f8a26efb6789666d70ce7a8f27df6c33c12e (patch) | |
tree | 14a2429535d3af122ead3585db874e11a30b4ea6 /arch/sparc | |
parent | sparc: vdso: simplify obj-y addition (diff) | |
download | linux-d821f8a26efb6789666d70ce7a8f27df6c33c12e.tar.xz linux-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')
-rw-r--r-- | arch/sparc/vdso/Makefile | 2 |
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 |