]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
parisc: add vdso linker script to 'targets' instead of extra-y
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 21 Dec 2024 06:16:18 +0000 (15:16 +0900)
committerHelge Deller <deller@gmx.de>
Mon, 20 Jan 2025 20:03:44 +0000 (21:03 +0100)
The vdso linker script is preprocessed on demand.
Adding it to 'targets' is enough to include the .cmd file.

This commit applies the previous change to parisc, which added the
vdso support after commit 887af6d7c99e ("arch: vdso: add vdso linker
script to 'targets' instead of extra-y").

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/vdso32/Makefile
arch/parisc/kernel/vdso64/Makefile

index 2b36d25ada6e3f2d259cb0a364dcaa07570cf7c4..288f8b85978fb20acd5d95ca9f44edf3e6f93d6c 100644 (file)
@@ -33,7 +33,7 @@ KBUILD_CFLAGS += -DBUILD_VDSO -DDISABLE_BRANCH_PROFILING
 VDSO_LIBGCC := $(shell $(CROSS32CC) -print-libgcc-file-name)
 
 obj-y += vdso32_wrapper.o
-extra-y += vdso32.lds
+targets += vdso32.lds
 CPPFLAGS_vdso32.lds += -P -C  #  -U$(ARCH)
 
 $(obj)/vdso32_wrapper.o : $(obj)/vdso32.so FORCE
index bd87bd6a6659d3af91d599d356cc48a7248c5282..bc5d9553f3112a4bcb218d6e351159b55feea17f 100644 (file)
@@ -32,7 +32,7 @@ KBUILD_CFLAGS += -DBUILD_VDSO -DDISABLE_BRANCH_PROFILING
 VDSO_LIBGCC := $(shell $(CC) -print-libgcc-file-name)
 
 obj-y += vdso64_wrapper.o
-extra-y += vdso64.lds
+targets += vdso64.lds
 CPPFLAGS_vdso64.lds += -P -C -U$(ARCH)
 
 $(obj)/vdso64_wrapper.o : $(obj)/vdso64.so FORCE