OSDN Git Service

scripts/gdb: refactor rules for symlink creation
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 19 Feb 2019 09:33:06 +0000 (18:33 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 27 Feb 2019 12:41:04 +0000 (21:41 +0900)
commitb513adf45c9bca9222a0533e0c412b66350a8ab5
tree5aab4a0958fede3ef26f161e1b1013d7227ea4f6
parent8d2e52003adf45035bc6e94056c68dacf517236b
scripts/gdb: refactor rules for symlink creation

gdb-scripts is not a real object, but (ab)used like a phony target.

Rewrite the code in a more Kbuild-ish way. Add symlinks to extra-y
and use if_changed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
scripts/gdb/linux/Makefile