mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
13 lines
290 B
Text
13 lines
290 B
Text
![]() |
#
|
||
|
# Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
|
||
|
# Licensed under the GPL
|
||
|
#
|
||
|
|
||
|
GPROF_OPT += -pg
|
||
|
GCOV_OPT += -fprofile-arcs -ftest-coverage
|
||
|
|
||
|
CFLAGS-$(CONFIG_GCOV) += $(GCOV_OPT)
|
||
|
CFLAGS-$(CONFIG_GPROF) += $(GPROF_OPT)
|
||
|
LINK-$(CONFIG_GCOV) += $(GCOV_OPT)
|
||
|
LINK-$(CONFIG_GPROF) += $(GPROF_OPT)
|