nds32: vdso: fix and clean-up Makefile
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 3 Apr 2019 08:37:13 +0000 (17:37 +0900)
committerGreentime Hu <greentime@andestech.com>
Tue, 7 May 2019 09:52:09 +0000 (17:52 +0800)
commit0ff8e00f2c1e939a44410b1b33f62e1932384531
treeea426e918f2927b05d341622b4eaa41fee30e73d
parent5b633e517b8c02d0391f3f87e1af35cc38168b40
nds32: vdso: fix and clean-up Makefile

- $(call if_changed,...) must have FORCE as a prerequisite

- vdso.lds is a generated file, so it should be prefixed with
  $(obj)/ instead of $(src)/.

- cmd_vdsosym is a one-liner rule, so the assignment with '='
  is simpler.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
arch/nds32/kernel/vdso/Makefile