diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-05-14 22:52:23 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-05-15 01:32:42 -0400 |
commit | 61615faf0a8968b604bd279fec5cb834ba59ed58 (patch) | |
tree | 2d774303485cbfeaf235630c49c31ec3f3d65a9f | |
parent | b3656612118f8961182f988168c835f023f0408a (diff) |
x86/build/vdso: Remove unnecessary export in Makefile
CPPFLAGS_vdso.lds is assigned and referenced internally in each
Makefile. No need to export it.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: user-mode-linux-devel@lists.sourceforge.net
Cc: user-mode-linux-user@lists.sourceforge.net
Link: http://lkml.kernel.org/r/1526352744-28229-3-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | arch/x86/entry/vdso/Makefile | 2 | ||||
-rw-r--r-- | arch/x86/um/vdso/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/entry/vdso/Makefile b/arch/x86/entry/vdso/Makefile index 298850683ee2..690df4c6b40a 100644 --- a/arch/x86/entry/vdso/Makefile +++ b/arch/x86/entry/vdso/Makefile | |||
@@ -44,7 +44,7 @@ obj-y += $(vdso_img_objs) | |||
44 | targets += $(vdso_img_cfiles) | 44 | targets += $(vdso_img_cfiles) |
45 | targets += $(vdso_img_sodbg) $(vdso_img-y:%=vdso%.so) | 45 | targets += $(vdso_img_sodbg) $(vdso_img-y:%=vdso%.so) |
46 | 46 | ||
47 | export CPPFLAGS_vdso.lds += -P -C | 47 | CPPFLAGS_vdso.lds += -P -C |
48 | 48 | ||
49 | VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ | 49 | VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ |
50 | -Wl,--no-undefined \ | 50 | -Wl,--no-undefined \ |
diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile index 10003359e633..e51d95c9098c 100644 --- a/arch/x86/um/vdso/Makefile +++ b/arch/x86/um/vdso/Makefile | |||
@@ -23,7 +23,7 @@ $(obj)/vdso.o: $(obj)/vdso.so | |||
23 | 23 | ||
24 | targets += vdso.so vdso.so.dbg vdso.lds $(vobjs-y) | 24 | targets += vdso.so vdso.so.dbg vdso.lds $(vobjs-y) |
25 | 25 | ||
26 | export CPPFLAGS_vdso.lds += -P -C | 26 | CPPFLAGS_vdso.lds += -P -C |
27 | 27 | ||
28 | VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ | 28 | VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \ |
29 | -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096 | 29 | -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096 |