summaryrefslogtreecommitdiffstats
path: root/arch/um/Makefile-skas
blob: 1a27e65bcb9c15b97041c891d0df14a578bfd4f0 (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
#

export UM_GPROF_OPT += -pg

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

CFLAGS-$(CONFIG_GCOV) += $(UM_GCOV_OPT)
CFLAGS-$(CONFIG_GPROF) += $(UM_GPROF_OPT)
LINK-$(CONFIG_GCOV) += $(UM_GCOV_OPT)
LINK-$(CONFIG_GPROF) += $(UM_GPROF_OPT)