diff options
Diffstat (limited to 'c/src/lib/libcpu/bfin/Makefile.am')
-rw-r--r-- | c/src/lib/libcpu/bfin/Makefile.am | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/bfin/Makefile.am b/c/src/lib/libcpu/bfin/Makefile.am index 3eb65cce94..6e9fb3ec32 100644 --- a/c/src/lib/libcpu/bfin/Makefile.am +++ b/c/src/lib/libcpu/bfin/Makefile.am @@ -10,9 +10,31 @@ EXTRA_DIST = noinst_PROGRAMS = +include_bspdir = $(includedir)/bsp include_libcpudir = $(includedir)/libcpu + +include_bsp_HEADERS = include_libcpu_HEADERS = + +############ +# Start of bf52x files +if bf52x + +include_HEADERS = bf52x/include/bf52x.h + +## INTERRUPT +include_bsp_HEADERS += bf52x/interrupt/interrupt.h +noinst_PROGRAMS += bf52x/interrupt.rel +bf52x_interrupt_rel_SOURCES = bf52x/interrupt/interrupt.c \ + bf52x/interrupt/interrupt.h +bf52x_interrupt_rel_CPPFLAGS = $(AM_CPPFLAGS) +bf52x_interrupt_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) + +endif +# endof bf52x +############ + include_libcpu_HEADERS += include/bf533.h include_libcpu_HEADERS += include/bf537.h include_libcpu_HEADERS += include/cecRegs.h @@ -47,12 +69,17 @@ mmu_rel_SOURCES = mmu/mmu.c mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) +if bf52x + +else include_libcpu_HEADERS += interrupt/interrupt.h noinst_PROGRAMS += interrupt.rel interrupt_rel_SOURCES = interrupt/interrupt.c interrupt_rel_CPPFLAGS = $(AM_CPPFLAGS) interrupt_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) +endif + noinst_PROGRAMS += clock.rel clock_rel_SOURCES = clock/clock.c clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |