mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
sh: vsyscall: Remove unnecessary $(foreach ...)
There is no need to use $(foreach ...) for iterating over just one parameter. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Link: https://lore.kernel.org/r/20231120235423.4103310-1-masahiroy@kernel.org Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
This commit is contained in:
parent
d87123aa9a
commit
99fe83ab3b
@ -1,11 +1,10 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
obj-y += vsyscall.o vsyscall-syscall.o vsyscall-syms.o
|
||||
|
||||
$(obj)/vsyscall-syscall.o: \
|
||||
$(foreach F,trapa,$(obj)/vsyscall-$F.so)
|
||||
$(obj)/vsyscall-syscall.o: $(obj)/vsyscall-trapa.so
|
||||
|
||||
# Teach kbuild about targets
|
||||
targets += $(foreach F,trapa,vsyscall-$F.o vsyscall-$F.so)
|
||||
targets += vsyscall-trapa.o vsyscall-traps.so
|
||||
targets += vsyscall-note.o vsyscall.lds vsyscall-dummy.o
|
||||
|
||||
# The DSO images are built using a special linker script
|
||||
|
Loading…
Reference in New Issue
Block a user