[df49c60] | 1 | ## |
---|
[7cc4f59] | 2 | ## $Id$ |
---|
[df49c60] | 3 | ## |
---|
[4e36a2f] | 4 | |
---|
[fe8bc62f] | 5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
[4e36a2f] | 6 | |
---|
[66ae7d0] | 7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
[42b6dd2a] | 8 | include $(top_srcdir)/../../bsp.am |
---|
[c06b3fa] | 9 | |
---|
[cd94be4] | 10 | include_bspdir = $(includedir)/bsp |
---|
| 11 | |
---|
[2a7f9a28] | 12 | dist_project_lib_DATA = bsp_specs |
---|
| 13 | |
---|
| 14 | include_HEADERS = include/bsp.h |
---|
[3defec6] | 15 | include_HEADERS += include/tm27.h |
---|
[71cbb66] | 16 | |
---|
[2a7f9a28] | 17 | nodist_include_HEADERS = include/bspopts.h |
---|
[c06b3fa] | 18 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
[71cbb66] | 19 | DISTCLEANFILES = include/bspopts.h |
---|
[2a7f9a28] | 20 | |
---|
[ced98aa] | 21 | include_HEADERS += ../../shared/tod.h |
---|
[d59e9b9] | 22 | include_HEADERS += ../../shared/include/coverhd.h include/gen2.h |
---|
[db0b369] | 23 | |
---|
[bb41881e] | 24 | ### |
---|
[66ae7d0] | 25 | dist_project_lib_DATA += startup/linkcmds |
---|
| 26 | |
---|
[42b6dd2a] | 27 | startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
[387a69a] | 28 | startup/bspstart.c ../../powerpc/shared/startup/bspgetworkarea.c \ |
---|
[42b6dd2a] | 29 | ../../shared/bsppost.c \ |
---|
| 30 | ../../shared/bootcard.c ../../shared/bsppretaskinghook.c \ |
---|
| 31 | startup/Hwr_init.c \ |
---|
| 32 | ../../powerpc/shared/startup/sbrk.c ../../shared/gnatinstallhandler.c \ |
---|
| 33 | ../../powerpc/shared/showbats.c |
---|
| 34 | |
---|
| 35 | pclock_SOURCES = ../../powerpc/shared/clock/p_clock.c |
---|
| 36 | console_SOURCES = console/85c30.c console/85c30.h console/console.c \ |
---|
[fedc835c] | 37 | console/tbl85c30.c console/consolebsp.h |
---|
[66ae7d0] | 38 | |
---|
[7cc4f59] | 39 | include_bsp_HEADERS = ../../powerpc/shared/pci/pci.h \ |
---|
[42b6dd2a] | 40 | PCI_bus/PCI.h \ |
---|
| 41 | ../../powerpc/shared/residual/residual.h \ |
---|
| 42 | ../../powerpc/shared/residual/pnp.h \ |
---|
| 43 | ../../powerpc/shared/console/consoleIo.h |
---|
| 44 | |
---|
| 45 | pci_SOURCES = PCI_bus/flash.c ../../powerpc/shared/pci/pci.c \ |
---|
[40e7ae2] | 46 | ../../powerpc/shared/pci/pcifinddevice.c PCI_bus/PCI.c PCI_bus/universe.c |
---|
[66ae7d0] | 47 | |
---|
[40e7ae2] | 48 | include_bsp_HEADERS += irq/irq.h \ |
---|
[42b6dd2a] | 49 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h \ |
---|
| 50 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \ |
---|
| 51 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h |
---|
| 52 | |
---|
| 53 | irq_SOURCES = irq/no_pic.c irq/irq_init.c \ |
---|
| 54 | irq/FPGA.c |
---|
| 55 | |
---|
| 56 | vectors_SOURCES = |
---|
| 57 | |
---|
| 58 | EXTRA_DIST = start/start.S |
---|
| 59 | start.$(OBJEXT): start/start.S |
---|
| 60 | $(CPPASCOMPILE) -o $@ -c $< |
---|
| 61 | project_lib_DATA = start.$(OBJEXT) |
---|
| 62 | |
---|
| 63 | EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S |
---|
| 64 | rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S |
---|
| 65 | $(CPPASCOMPILE) -o $@ -c $< |
---|
| 66 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
| 67 | |
---|
| 68 | noinst_LIBRARIES = libbsp.a |
---|
| 69 | libbsp_a_SOURCES = $(pclock_SOURCES) $(console_SOURCES) $(irq_SOURCES) \ |
---|
| 70 | $(pci_SOURCES) $(vectors_SOURCES) $(startup_SOURCES) |
---|
[9b28179d] | 71 | |
---|
[1d0ee80e] | 72 | libbsp_a_LIBADD = \ |
---|
| 73 | ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
[bb41881e] | 74 | ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \ |
---|
| 75 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
| 76 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \ |
---|
[40e7ae2] | 77 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
[42b6dd2a] | 78 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \ |
---|
[78f96ab] | 79 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \ |
---|
[40e7ae2] | 80 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \ |
---|
[bb41881e] | 81 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel |
---|
[5133bd6] | 82 | |
---|
[7cc4f59] | 83 | include $(srcdir)/preinstall.am |
---|
[99c31f85] | 84 | include $(top_srcdir)/../../../../automake/local.am |
---|