mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Masahiro Yamada](/assets/img/avatar_default.png)
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>
7 lines
274 B
Makefile
7 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)
|