linux-next/arch/um/Makefile-skas

18 lines
425 B
Plaintext
Raw Permalink Normal View History

#
# 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)