xref: /openbmc/linux/kernel/gcov/Makefile (revision 03f1076f)
1# SPDX-License-Identifier: GPL-2.0
2ccflags-y := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"'
3
4obj-y := base.o fs.o
5obj-$(CONFIG_CC_IS_GCC) += gcc_base.o gcc_4_7.o
6obj-$(CONFIG_CC_IS_CLANG) += clang.o
7