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