arch: Add config for downstream toolchains to support local ISR tables
Add config for local toolchains to indicate support for local declaration of ISR tables. Signed-off-by: Al Semjonovs <asemjonovs@google.com>
This commit is contained in:
parent
ec01159440
commit
452fe47765
1 changed files with 7 additions and 1 deletions
|
@ -440,6 +440,12 @@ config ARCH_STACKWALK_MAX_FRAMES
|
||||||
|
|
||||||
menu "Interrupt Configuration"
|
menu "Interrupt Configuration"
|
||||||
|
|
||||||
|
config TOOLCHAIN_SUPPORTS_ISR_TABLES_LOCAL_DECLARATION
|
||||||
|
bool
|
||||||
|
help
|
||||||
|
Hidden option to signal that toolchain supports local declaration of
|
||||||
|
interrupt tables.
|
||||||
|
|
||||||
config ISR_TABLES_LOCAL_DECLARATION_SUPPORTED
|
config ISR_TABLES_LOCAL_DECLARATION_SUPPORTED
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
@ -448,7 +454,7 @@ config ISR_TABLES_LOCAL_DECLARATION_SUPPORTED
|
||||||
# List of currently supported architectures
|
# List of currently supported architectures
|
||||||
depends on ARM || ARM64
|
depends on ARM || ARM64
|
||||||
# List of currently supported toolchains
|
# List of currently supported toolchains
|
||||||
depends on "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr" || "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "gnuarmemb" || "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "llvm"
|
depends on "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr" || "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "gnuarmemb" || "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "llvm" || TOOLCHAIN_SUPPORTS_ISR_TABLES_LOCAL_DECLARATION
|
||||||
|
|
||||||
config ISR_TABLES_LOCAL_DECLARATION
|
config ISR_TABLES_LOCAL_DECLARATION
|
||||||
bool "ISR tables created locally and placed by linker"
|
bool "ISR tables created locally and placed by linker"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue