projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7e9614
)
xtensa: enable plugin support
author
Max Filippov
<jcmvbkbc@gmail.com>
Sat, 19 Mar 2022 12:49:24 +0000
(
05:49
-0700)
committer
Max Filippov
<jcmvbkbc@gmail.com>
Sat, 19 Mar 2022 20:08:50 +0000
(13:08 -0700)
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>
arch/xtensa/Kconfig
patch
|
blob
|
history
diff --git
a/arch/xtensa/Kconfig
b/arch/xtensa/Kconfig
index a02c3388f52105d84c69c8d2ccf21c34bb13968a..ad91836ce7a8b0125ab36531f3651bcad934df0a 100644
(file)
--- 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