mirror of https://gitee.com/openkylin/linux.git
13 lines
290 B
Plaintext
13 lines
290 B
Plaintext
|
#
|
||
|
# 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)
|