kconfig/gcov: remove gcc version choice from kconfig

Use autodetect only.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Roger Pau Monne authored and Jan Beulich committed 2017-12-15 11:27:35 +01:00
1 parent 3c88e927b2
commit 767e6c5fd5
2 files changed
+1 -52

No files matched your search

-46
View File
@@ -37,52 +37,6 @@ config GCOV
If unsure, say N here.
choice
prompt "Specify Gcov format"
depends on GCOV
default GCOV_FORMAT_AUTODETECT
---help---
The gcov format is determined by gcc version.
If unsure, choose "Autodetect".
config GCOV_FORMAT_AUTODETECT
bool "Autodetect"
---help---
Automatically select gcov format based on gcc version.
config GCOV_FORMAT_7
bool "GCC 7 format"
---help---
Select this option to use the format specified in GCC 7.
Works in gcc version range [7, ...).
config GCOV_FORMAT_5
bool "GCC 5 format"
---help---
Select this option to use the format specified in GCC 5.
Works in gcc version range [5, 7).
config GCOV_FORMAT_4_9
bool "GCC 4.9 format"
---help---
Select this option to use the format specified in GCC 4.9.
Works in gcc version range [4.9, 5).
config GCOV_FORMAT_4_7
bool "GCC 4.7 format"
---help---
Select this option to use the format specified in GCC 4.7.
Works in gcc version range [4.7, 4.9).
config GCOV_FORMAT_3_4
bool "GCC 3.4 format"
---help---
Select this option to use the format specified in GCC 3.4.
Works in gcc version range [3.4, 4.7).
endchoice
config LOCK_PROFILE
bool "Lock Profiling"
---help---
+1 -6
View File
@@ -1,10 +1,5 @@
obj-y += gcov_base.o gcov.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_4_9) += gcc_4_9.o
obj-$(CONFIG_GCOV_FORMAT_5) += gcc_5.o
obj-$(CONFIG_GCOV_FORMAT_7) += gcc_7.o
obj-$(CONFIG_GCOV_FORMAT_AUTODETECT) += $(call cc-ifversion,lt,0x040700, \
obj-y += $(call cc-ifversion,lt,0x040700, \
gcc_3_4.o, $(call cc-ifversion,lt,0x040900, \
gcc_4_7.o, $(call cc-ifversion,lt,0x050000, \
gcc_4_9.o, $(call cc-ifversion,lt,0x070000, \
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.