Skip to content

Commit

Permalink
arch: arm, arm64: Disable swi_tables.ld file when not required
Browse files Browse the repository at this point in the history
This commit removes the need of swi_tables.ld file if the
ISR table generator is not configured to use it.

Signed-off-by: Radosław Koppel <[email protected]>
  • Loading branch information
rakons committed Feb 5, 2024
1 parent 1ff24b3 commit 9fc4528
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/core/swi_tables.ld
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#if LINKER_ZEPHYR_FINAL
#if LINKER_ZEPHYR_FINAL && CONFIG_ISR_TABLES_LOCAL_DECLARATION
INCLUDE zephyr/isr_tables_swi.ld
#endif
2 changes: 1 addition & 1 deletion arch/arm64/core/swi_tables.ld
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
#if LINKER_ZEPHYR_FINAL
#if LINKER_ZEPHYR_FINAL && CONFIG_ISR_TABLES_LOCAL_DECLARATION
INCLUDE zephyr/isr_tables_swi.ld
#endif

0 comments on commit 9fc4528

Please sign in to comment.