Skip to content

Commit 36b2f3a

Browse files
masahir0yhdeller
authored andcommitted
parisc: 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. This commit applies the previous change to parisc, which added the vdso support after commit 887af6d ("arch: vdso: add vdso linker script to 'targets' instead of extra-y"). Signed-off-by: Masahiro Yamada <[email protected]> Acked-by: Helge Deller <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent df195d9 commit 36b2f3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/parisc/kernel/vdso32/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ KBUILD_CFLAGS += -DBUILD_VDSO -DDISABLE_BRANCH_PROFILING
3333
VDSO_LIBGCC := $(shell $(CROSS32CC) -print-libgcc-file-name)
3434

3535
obj-y += vdso32_wrapper.o
36-
extra-y += vdso32.lds
36+
targets += vdso32.lds
3737
CPPFLAGS_vdso32.lds += -P -C # -U$(ARCH)
3838

3939
$(obj)/vdso32_wrapper.o : $(obj)/vdso32.so FORCE

arch/parisc/kernel/vdso64/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ KBUILD_CFLAGS += -DBUILD_VDSO -DDISABLE_BRANCH_PROFILING
3232
VDSO_LIBGCC := $(shell $(CC) -print-libgcc-file-name)
3333

3434
obj-y += vdso64_wrapper.o
35-
extra-y += vdso64.lds
35+
targets += vdso64.lds
3636
CPPFLAGS_vdso64.lds += -P -C -U$(ARCH)
3737

3838
$(obj)/vdso64_wrapper.o : $(obj)/vdso64.so FORCE

0 commit comments

Comments
 (0)