summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc/Makefile.am
diff options
context:
space:
mode:
authorDaniel Cederman <cederman@gaisler.com>2015-01-09 09:03:59 +0100
committerDaniel Hellstrom <daniel@gaisler.com>2015-02-11 15:35:23 +0100
commit0c94a46fa3938922481f06e8c64d8caba6d753b3 (patch)
treebface1d6d879d04003f0b75d4dbca788c6ad8609 /c/src/lib/libbsp/sparc/Makefile.am
parentor1k/cpu.c: Eliminate dependency on BSP provided header (diff)
downloadrtems-0c94a46fa3938922481f06e8c64d8caba6d753b3.tar.bz2
bsp/sparc: Move BSP_ISR_handler to a separate file and rename it
This allows it to be wrapped by another function at link-time and can be used to trace interrupts. If not placed in a separate file, the function pointer address used in BSP_shared_interrupt_init will be resolved at compile-time, and the function will not be wrappable.
Diffstat (limited to 'c/src/lib/libbsp/sparc/Makefile.am')
-rw-r--r--c/src/lib/libbsp/sparc/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/sparc/Makefile.am b/c/src/lib/libbsp/sparc/Makefile.am
index 3d433fb981..615aea7ea0 100644
--- a/c/src/lib/libbsp/sparc/Makefile.am
+++ b/c/src/lib/libbsp/sparc/Makefile.am
@@ -11,6 +11,7 @@ EXTRA_DIST += shared/start/start.S
# Interrupt
EXTRA_DIST += shared/irq/irq-shared.c
+EXTRA_DIST += shared/irq/bsp_isr_handler.c
# AMBA Plug&Play bus
EXTRA_DIST += shared/include/ambapp.h