a75f8b8dab
CONFIG_GCOV_FORMAT_3_4 / _4_7 / _AUTODETECT are exclusive. Compare the CC version only when _AUTODETECT is enabled. This change should have no impact. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Peter Oberparleiter <oberpar@linux.vnet.ibm.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
8 lines
274 B
Makefile
8 lines
274 B
Makefile
ccflags-y := -DSRCTREE='"$(srctree)"' -DOBJTREE='"$(objtree)"'
|
|
|
|
obj-y := base.o fs.o
|
|
obj-$(CONFIG_GCOV_FORMAT_3_4) += gcc_3_4.o
|
|
obj-$(CONFIG_GCOV_FORMAT_4_7) += gcc_4_7.o
|
|
obj-$(CONFIG_GCOV_FORMAT_AUTODETECT) += $(call cc-ifversion, -lt, 0407, \
|
|
gcc_3_4.o, gcc_4_7.o)
|