Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
matt mooney | ed3cd4a | 2011-01-14 06:12:24 -0800 | [diff] [blame] | 2 | ccflags-y := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"' |
Peter Oberparleiter | 2521f2c | 2009-06-17 16:28:08 -0700 | [diff] [blame] | 3 | |
Masahiro Yamada | 3df8094 | 2014-12-25 14:31:26 +0900 | [diff] [blame] | 4 | obj-y := base.o fs.o |
Masahiro Yamada | a75f8b8 | 2014-12-25 14:31:28 +0900 | [diff] [blame] | 5 | obj-$(CONFIG_GCOV_FORMAT_3_4) += gcc_3_4.o |
| 6 | obj-$(CONFIG_GCOV_FORMAT_4_7) += gcc_4_7.o |
| 7 | obj-$(CONFIG_GCOV_FORMAT_AUTODETECT) += $(call cc-ifversion, -lt, 0407, \ |
| 8 | gcc_3_4.o, gcc_4_7.o) |