MIPS: Makefile: Replace -pg with CC_FLAGS_FTRACE
authorzhaoxiao <zhaoxiao@uniontech.com>
Tue, 20 Apr 2021 07:00:52 +0000 (15:00 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 21 Apr 2021 11:44:35 +0000 (13:44 +0200)
commit1b6bc35a01bd6b874165379255929b7badfdecb5
treed015171ad07cc697cc37e738c4d6e18e9da5afda
parent987b42074b66cc5ca31e70cec89d3d0d14ad0ff3
MIPS: Makefile: Replace -pg with CC_FLAGS_FTRACE

This patch replaces the "open-coded" -pg compile flag with a CC_FLAGS_FTRACE
makefile variable which architectures can override if a different option
should be used for code generation.

Signed-off-by: zhaoxiao <zhaoxiao@uniontech.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/compressed/Makefile
arch/mips/kernel/Makefile
arch/mips/vdso/Makefile