mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-12 12:30:17 +01:00
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 <[email protected]> Cc: Peter Oberparleiter <[email protected]> Signed-off-by: Michal Marek <[email protected]>
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)
|