mips: fix dynamic ftrace
authorVincent Wiemann <webmaster@codefetch.de>
Sat, 9 Jun 2018 20:56:47 +0000 (22:56 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 18 Jun 2018 18:29:26 +0000 (20:29 +0200)
commit076d2ea6829855ee14ebd65230146eb27ee16750
tree8aa3ff6152de5e5b3e6929e55a13c8de40cf6922
parent5297a759aee34952299d1d42f677f31781026c67
mips: fix dynamic ftrace

The kernel patch *-mips_module_reloc.patch breaks dynamic ftrace as
dynamic ftrace depends on -mlong-calls.
See http://patchwork.linux-mips.org/patch/675/
Thus we always set -mlong-calls if the kernel is being
compiled with dynamic ftrace support.

Signed-off-by: Vincent Wiemann <webmaster@codefetch.de>
target/linux/generic/pending-4.9/305-mips_module_reloc.patch