xref: /linux/kernel/gcov/Makefile (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
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