summaryrefslogtreecommitdiff
path: root/arch/um/Makefile-skas
blob: 67323b02899990b58c9f008565e7df2b7f7dcbda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 
# Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
# Licensed under the GPL
#

GPROF_OPT += -pg

ifdef CONFIG_CC_IS_CLANG
GCOV_OPT += -fprofile-instr-generate -fcoverage-mapping
else
GCOV_OPT += -fprofile-arcs -ftest-coverage
endif

CFLAGS-$(CONFIG_GCOV) += $(GCOV_OPT)
CFLAGS-$(CONFIG_GPROF) += $(GPROF_OPT)
LINK-$(CONFIG_GCOV) += $(GCOV_OPT)
LINK-$(CONFIG_GPROF) += $(GPROF_OPT)