summaryrefslogtreecommitdiffstats
path: root/kernel/gcov/Makefile
blob: ccd02afaeffb45d3788a6cf4846fc34f9a481208 (plain)
1
2
3
4
5
6
7
8
# SPDX-License-Identifier: GPL-2.0
ccflags-y := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"'

obj-y := base.o fs.o
obj-$(CONFIG_CC_IS_GCC) += gcc_base.o gcc_4_7.o
CFLAGS_gcc_base.o += -Wno-missing-prototypes -Wno-missing-declarations
obj-$(CONFIG_CC_IS_CLANG) += clang.o
CFLAGS_clang.o += -Wno-missing-prototypes -Wno-missing-declarations