[3c6fe2e] | 1 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
[33a2faa] | 2 | EXTRA_DIST = |
---|
[3c6fe2e] | 3 | |
---|
| 4 | include $(top_srcdir)/../../../../automake/compile.am |
---|
[f3ce8f41] | 5 | include $(top_srcdir)/../../bsp.am |
---|
[3c6fe2e] | 6 | |
---|
[c06b3fa] | 7 | include_bspdir = $(includedir)/bsp |
---|
| 8 | |
---|
[3c6fe2e] | 9 | dist_project_lib_DATA = bsp_specs |
---|
| 10 | |
---|
[309dbd0] | 11 | include_HEADERS = include/bsp.h |
---|
[502609c8] | 12 | include_HEADERS += include/mmu_405.h |
---|
[642ef00] | 13 | include_HEADERS += include/tm27.h |
---|
[3c6fe2e] | 14 | |
---|
| 15 | nodist_include_HEADERS = include/bspopts.h |
---|
[c06b3fa] | 16 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
[3c6fe2e] | 17 | DISTCLEANFILES = include/bspopts.h |
---|
| 18 | |
---|
| 19 | |
---|
[ec32100] | 20 | EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S |
---|
| 21 | rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S |
---|
| 22 | $(CPPASCOMPILE) -o $@ -c $< |
---|
[3c6fe2e] | 23 | project_lib_DATA = rtems_crti.$(OBJEXT) |
---|
| 24 | |
---|
| 25 | dist_project_lib_DATA += startup/linkcmds |
---|
| 26 | |
---|
[ec32100] | 27 | noinst_LIBRARIES = libbsp.a |
---|
[64eb0c7] | 28 | libbsp_a_SOURCES = |
---|
[e94666d] | 29 | |
---|
[64eb0c7] | 30 | # startup |
---|
[ca4602e] | 31 | libbsp_a_SOURCES += ../../shared/bspclean.c \ |
---|
| 32 | ../../shared/bspreset_loop.c \ |
---|
[1762375] | 33 | startup/bspstart.c ../../shared/bootcard.c \ |
---|
[ca4895c] | 34 | ../../shared/getentropy-cpucounter.c \ |
---|
[284ed06a] | 35 | ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \ |
---|
[2858939a] | 36 | ../../shared/sbrk.c \ |
---|
[502609c8] | 37 | ../../shared/gnatinstallhandler.c mmu/mmu_405.c mmu/mmu_405asm.S |
---|
[3c6fe2e] | 38 | |
---|
[64eb0c7] | 39 | # dlentry |
---|
| 40 | libbsp_a_SOURCES += dlentry/dlentry.S |
---|
[3c6fe2e] | 41 | |
---|
[e483dc3] | 42 | include_bsp_HEADERS = ../../powerpc/shared/console/uart.h \ |
---|
| 43 | ../../powerpc/shared/console/consoleIo.h |
---|
[64eb0c7] | 44 | # console |
---|
| 45 | libbsp_a_SOURCES += ../../powerpc/shared/console/uart.c \ |
---|
[3c6fe2e] | 46 | ../../powerpc/shared/console/console.c |
---|
| 47 | |
---|
[010bf86] | 48 | include_bsp_HEADERS += irq/irq.h |
---|
[3c6fe2e] | 49 | |
---|
[64eb0c7] | 50 | # irq |
---|
| 51 | libbsp_a_SOURCES += irq/irq_init.c irq/irq.c |
---|
[3c6fe2e] | 52 | |
---|
[502609c8] | 53 | if HAS_NETWORKING |
---|
| 54 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
| 55 | noinst_PROGRAMS = network.rel |
---|
| 56 | network_rel_SOURCES = network/network.c |
---|
| 57 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
| 58 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 59 | endif |
---|
| 60 | |
---|
[e483dc3] | 61 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
| 62 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
| 63 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \ |
---|
[2d2de4eb] | 64 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
[e483dc3] | 65 | ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
| 66 | ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \ |
---|
[309dbd0] | 67 | ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel |
---|
[3c6fe2e] | 68 | |
---|
[502609c8] | 69 | if HAS_NETWORKING |
---|
| 70 | libbsp_a_LIBADD += network.rel |
---|
| 71 | endif |
---|
| 72 | |
---|
[3c6fe2e] | 73 | include $(srcdir)/preinstall.am |
---|
| 74 | include $(top_srcdir)/../../../../automake/local.am |
---|