mirror of https://github.com/torvalds/linux.git
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 887af6d7c9 ("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>
This commit is contained in:
parent
df195d931a
commit
36b2f3aefc
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue