sparc: vdso: clean-up vdso Makefile
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 12 Sep 2018 03:39:13 +0000 (12:39 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 05:42:01 +0000 (22:42 -0700)
commit8cf7765d33ae894cd7722502fbb737efad0eaa9b
tree3b647114528293db2ee27879f7f4877aef8ed34f
parent16e2a9d396c140d9a47d6b22e2a631f36c31e844
sparc: vdso: clean-up vdso Makefile

arch/sparc/vdso/Makefile is a replica of arch/x86/entry/vdso/Makefile.

Clean-up the Makefile in the same way as I did for x86:

 - Remove unnecessary export
 - Put the generated linker script to $(obj)/ instead of $(src)/
 - Simplify cmd_vdso2c

The corresponding x86 commits are:

 - 61615faf0a89 ("x86/build/vdso: Remove unnecessary export in Makefile")
 - 1742ed2088cc ("x86/build/vdso: Put generated linker scripts to $(obj)/")
 - c5fcdbf15523 ("x86/build/vdso: Simplify 'cmd_vdso2c'")

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/vdso/Makefile