summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/vdso64/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-09-01 03:22:39 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2020-09-07 21:41:27 +0900
commit887af6d7c99e963c6f92af8e985f9aa6f4f9eac2 (patch)
tree7758d32e3d5f20a02f8633cc1f06fe3432241412 /arch/powerpc/kernel/vdso64/Makefile
parent6ad7cbc01527223f3f92baac9b122f15651cf76b (diff)
arch: vdso: add vdso linker script to 'targets' instead of extra-y
The vdso linker script is preprocessed on demand. Adding it to 'targets' is enough to include the .cmd file. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Greentime Hu <green.hu@gmail.com>
Diffstat (limited to 'arch/powerpc/kernel/vdso64/Makefile')
-rw-r--r--arch/powerpc/kernel/vdso64/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/vdso64/Makefile b/arch/powerpc/kernel/vdso64/Makefile
index 38c317f25141..c737b3ea3207 100644
--- a/arch/powerpc/kernel/vdso64/Makefile
+++ b/arch/powerpc/kernel/vdso64/Makefile
@@ -17,7 +17,7 @@ ccflags-y := -shared -fno-common -fno-builtin -nostdlib \
asflags-y := -D__VDSO64__ -s
obj-y += vdso64_wrapper.o
-extra-y += vdso64.lds
+targets += vdso64.lds
CPPFLAGS_vdso64.lds += -P -C -U$(ARCH)
# Force dependency (incbin is bad)