diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2022-03-19 15:49:24 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2022-03-19 23:08:50 +0300 |
commit | 7dc0eb0b6d9f3e2b6a560a04f86ef065a4531a9f (patch) | |
tree | 98d8e4b8cfe928bb8262285580b42213e941853d /arch/xtensa/Kconfig | |
parent | e7e9614b6b3a4fb897d9766337858e3f5e1e1855 (diff) | |
download | linux-7dc0eb0b6d9f3e2b6a560a04f86ef065a4531a9f.tar.xz |
xtensa: enable plugin support
Compiler plugins can be built starting with xtensa gcc 12. Enable plugin
support for xtensa when gcc-12 or newer is used.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/Kconfig')
-rw-r--r-- | arch/xtensa/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index a02c3388f521..ad91836ce7a8 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig @@ -34,6 +34,7 @@ config XTENSA select HAVE_DMA_CONTIGUOUS select HAVE_EXIT_THREAD select HAVE_FUNCTION_TRACER + select HAVE_GCC_PLUGINS if GCC_VERSION >= 120000 select HAVE_HW_BREAKPOINT if PERF_EVENTS select HAVE_IRQ_TIME_ACCOUNTING select HAVE_PCI |