[ca680bc5] | 1 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
| 2 | |
---|
| 3 | include $(top_srcdir)/../../../../automake/compile.am |
---|
| 4 | |
---|
[c06b3fa] | 5 | include_bspdir = $(includedir)/bsp |
---|
[ddd5640] | 6 | include_bestcommdir = $(include_bspdir)/bestcomm |
---|
| 7 | include_bestcomm_includedir = $(include_bestcommdir)/include |
---|
| 8 | include_bestcomm_include_mgt5200dir = $(include_bestcomm_includedir)/mgt5200 |
---|
| 9 | include_bestcomm_task_apidir = $(include_bestcommdir)/task_api |
---|
[c06b3fa] | 10 | |
---|
[ca680bc5] | 11 | dist_project_lib_DATA = bsp_specs |
---|
| 12 | |
---|
[5cace18] | 13 | include_HEADERS = include/bsp.h include/i2cdrv.h \ |
---|
[d8b2e89c] | 14 | include/i2c.h |
---|
[ca680bc5] | 15 | include_HEADERS += include/tm27.h |
---|
| 16 | |
---|
| 17 | nodist_include_HEADERS = include/bspopts.h |
---|
| 18 | DISTCLEANFILES = include/bspopts.h |
---|
| 19 | |
---|
| 20 | noinst_PROGRAMS = |
---|
| 21 | |
---|
| 22 | |
---|
[81ec5044] | 23 | noinst_LIBRARIES = libbspstart.a |
---|
| 24 | libbspstart_a_SOURCES = start/start.S |
---|
[ca680bc5] | 25 | project_lib_DATA = start.$(OBJEXT) |
---|
| 26 | |
---|
[81ec5044] | 27 | libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S |
---|
[6c053cb] | 28 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
| 29 | |
---|
[12c09c76] | 30 | dist_project_lib_DATA += startup/linkcmds.base |
---|
| 31 | project_lib_DATA += startup/linkcmds |
---|
| 32 | EXTRA_DIST = startup/linkcmds.brs5l |
---|
[92d8038] | 33 | EXTRA_DIST += startup/linkcmds.brs6l |
---|
[12c09c76] | 34 | EXTRA_DIST += startup/linkcmds.icecube |
---|
| 35 | EXTRA_DIST += startup/linkcmds.pm520_cr825 |
---|
| 36 | EXTRA_DIST += startup/linkcmds.pm520_ze30 |
---|
[ddd5640] | 37 | EXTRA_DIST += startup/linkcmds.dp2 |
---|
[e94666d] | 38 | |
---|
[81ec5044] | 39 | noinst_LIBRARIES += libbsp.a |
---|
[64eb0c7] | 40 | libbsp_a_SOURCES = |
---|
[ca680bc5] | 41 | |
---|
[64eb0c7] | 42 | # bestcomm |
---|
| 43 | libbsp_a_SOURCES += bestcomm/include/ppctypes.h \ |
---|
[c5f64d2] | 44 | bestcomm/include/mgt5200/mgt5200.h bestcomm/include/mgt5200/sdma.h \ |
---|
| 45 | bestcomm/bestcomm_api.c bestcomm/bestcomm_api.h bestcomm/bestcomm_glue.c \ |
---|
| 46 | bestcomm/bestcomm_glue.h bestcomm/dma_image.c bestcomm/dma_image.capi.h \ |
---|
| 47 | bestcomm/dma_image.h bestcomm/dma_image.reloc.c bestcomm/load_task.c \ |
---|
| 48 | bestcomm/tasksetup_ata.c bestcomm/tasksetup_bdtable.c \ |
---|
| 49 | bestcomm/tasksetup_crc16_dp_0.c bestcomm/tasksetup_crc16_dp_1.c \ |
---|
| 50 | bestcomm/tasksetup_fec_rx_bd.c bestcomm/tasksetup_fec_tx_bd.c \ |
---|
| 51 | bestcomm/tasksetup_gen_dp_0.c bestcomm/tasksetup_gen_dp_1.c \ |
---|
| 52 | bestcomm/tasksetup_gen_dp_2.c bestcomm/tasksetup_gen_dp_3.c \ |
---|
| 53 | bestcomm/tasksetup_gen_dp_bd_0.c bestcomm/tasksetup_gen_dp_bd_1.c \ |
---|
| 54 | bestcomm/tasksetup_gen_rx_bd.c bestcomm/tasksetup_gen_tx_bd.c \ |
---|
| 55 | bestcomm/tasksetup_lpc.c bestcomm/tasksetup_pci_rx.c \ |
---|
| 56 | bestcomm/tasksetup_pci_tx.c bestcomm/bestcomm_priv.h \ |
---|
| 57 | bestcomm/task_api/bestcomm_api_mem.h bestcomm/task_api/bestcomm_cntrl.h \ |
---|
| 58 | bestcomm/task_api/tasksetup_bdtable.h \ |
---|
| 59 | bestcomm/task_api/tasksetup_general.h |
---|
[ddd5640] | 60 | include_bestcomm_HEADERS = bestcomm/bestcomm_priv.h \ |
---|
| 61 | bestcomm/dma_image.h \ |
---|
| 62 | bestcomm/dma_image.capi.h \ |
---|
| 63 | bestcomm/bestcomm_api.h \ |
---|
| 64 | bestcomm/bestcomm_glue.h |
---|
| 65 | include_bestcomm_include_HEADERS = bestcomm/include/ppctypes.h \ |
---|
| 66 | bestcomm/include/mgt5200/sdma.h \ |
---|
| 67 | bestcomm/include/mgt5200/mgt5200.h |
---|
| 68 | include_bestcomm_include_mgt5200_HEADERS = bestcomm/include/mgt5200/mgt5200.h \ |
---|
| 69 | bestcomm/include/mgt5200/sdma.h |
---|
| 70 | include_bestcomm_task_api_HEADERS = bestcomm/task_api/tasksetup_general.h \ |
---|
| 71 | bestcomm/task_api/tasksetup_bdtable.h \ |
---|
| 72 | bestcomm/task_api/bestcomm_cntrl.h \ |
---|
| 73 | bestcomm/task_api/bestcomm_api_mem.h |
---|
[ca680bc5] | 74 | |
---|
[64eb0c7] | 75 | # clock |
---|
[e95368e8] | 76 | # clock |
---|
| 77 | libbsp_a_SOURCES += ../shared/clock/clock.c |
---|
[64eb0c7] | 78 | # console |
---|
| 79 | libbsp_a_SOURCES += console/console.c |
---|
| 80 | # i2c |
---|
| 81 | libbsp_a_SOURCES += i2c/i2c.c i2c/i2cdrv.c i2c/mpc5200mbus.c i2c/mpc5200mbus.h |
---|
| 82 | # ide |
---|
| 83 | libbsp_a_SOURCES += ide/idecfg.c ide/pcmcia_ide.c ide/pcmcia_ide.h |
---|
[57bcb88e] | 84 | libbsp_a_SOURCES += ide/ata.c |
---|
| 85 | libbsp_a_SOURCES += ide/ata-instance.c |
---|
| 86 | libbsp_a_SOURCES += ide/ata-dma-pio-single.c |
---|
| 87 | |
---|
| 88 | include_bsp_HEADERS = |
---|
| 89 | include_bsp_HEADERS += ../../shared/include/bootcard.h |
---|
| 90 | include_bsp_HEADERS += ../../shared/include/irq-generic.h |
---|
| 91 | include_bsp_HEADERS += ../../shared/include/irq-info.h |
---|
| 92 | include_bsp_HEADERS += ../../shared/include/u-boot.h |
---|
| 93 | include_bsp_HEADERS += ../../shared/include/utility.h |
---|
| 94 | include_bsp_HEADERS += ../shared/include/u-boot-board-info.h |
---|
| 95 | include_bsp_HEADERS += include/ata.h |
---|
| 96 | include_bsp_HEADERS += include/bestcomm.h |
---|
| 97 | include_bsp_HEADERS += include/bestcomm_ops.h |
---|
| 98 | include_bsp_HEADERS += include/i2cdrv.h |
---|
| 99 | include_bsp_HEADERS += include/i2c.h |
---|
| 100 | include_bsp_HEADERS += include/irq.h |
---|
| 101 | include_bsp_HEADERS += include/mpc5200.h |
---|
| 102 | include_bsp_HEADERS += include/mscan-base.h |
---|
| 103 | include_bsp_HEADERS += include/u-boot-config.h |
---|
| 104 | include_bsp_HEADERS += mscan/mscan.h |
---|
[d8b2e89c] | 105 | |
---|
[64eb0c7] | 106 | # irq |
---|
| 107 | libbsp_a_SOURCES += include/irq.h \ |
---|
[d8b2e89c] | 108 | irq/irq.c \ |
---|
| 109 | ../../shared/src/irq-generic.c \ |
---|
[1202742] | 110 | ../../shared/src/irq-legacy.c \ |
---|
| 111 | ../../shared/src/irq-info.c \ |
---|
| 112 | ../../shared/src/irq-shell.c \ |
---|
| 113 | ../../shared/src/irq-server.c |
---|
[d8b2e89c] | 114 | |
---|
[64eb0c7] | 115 | # mscan |
---|
| 116 | libbsp_a_SOURCES += mscan/mscan.c mscan/mscan-base.c mscan/mscan.h mscan/mscan_int.h |
---|
[ca680bc5] | 117 | |
---|
[c9b005a9] | 118 | include_bsp_HEADERS += nvram/nvram.h |
---|
[64eb0c7] | 119 | # nvram |
---|
| 120 | libbsp_a_SOURCES += nvram/nvram.c nvram/nvram.h nvram/m93cxx.h |
---|
[ca680bc5] | 121 | |
---|
[c9b005a9] | 122 | include_bsp_HEADERS += slicetimer/slicetimer.h |
---|
[64eb0c7] | 123 | # slicetimer |
---|
| 124 | libbsp_a_SOURCES += slicetimer/slicetimer.c slicetimer/slicetimer.h |
---|
[ca680bc5] | 125 | |
---|
[64eb0c7] | 126 | # tod |
---|
| 127 | libbsp_a_SOURCES += tod/todcfg.c tod/pcf8563.c tod/pcf8563.h \ |
---|
[0a7ea49] | 128 | ../../shared/tod.c |
---|
[ca680bc5] | 129 | |
---|
[64eb0c7] | 130 | # startup |
---|
[57bcb88e] | 131 | libbsp_a_SOURCES += ../../shared/bootcard.c |
---|
[ca4895c] | 132 | libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c |
---|
[57bcb88e] | 133 | libbsp_a_SOURCES += ../../shared/bspclean.c |
---|
| 134 | libbsp_a_SOURCES += ../../shared/bspgetworkarea.c |
---|
| 135 | libbsp_a_SOURCES += ../../shared/bsppredriverhook.c |
---|
| 136 | libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c |
---|
| 137 | libbsp_a_SOURCES += ../../shared/sbrk.c |
---|
| 138 | libbsp_a_SOURCES += ../../shared/src/bsp-uboot-board-info.c |
---|
| 139 | libbsp_a_SOURCES += ../shared/showbats.c |
---|
| 140 | libbsp_a_SOURCES += ../shared/src/memcpy.c |
---|
| 141 | libbsp_a_SOURCES += ../shared/startup/bspidle.c |
---|
| 142 | libbsp_a_SOURCES += ../shared/uboot_dump_bdinfo.c |
---|
| 143 | libbsp_a_SOURCES += ../shared/uboot_getenv.c |
---|
| 144 | libbsp_a_SOURCES += startup/bspreset.c |
---|
| 145 | libbsp_a_SOURCES += startup/bspstart.c |
---|
| 146 | libbsp_a_SOURCES += startup/cpuinit.c |
---|
| 147 | libbsp_a_SOURCES += startup/uboot_support.c |
---|
| 148 | libbsp_a_SOURCES += startup/bestcomm.c |
---|
[ca680bc5] | 149 | |
---|
| 150 | if HAS_NETWORKING |
---|
[25ed11d0] | 151 | libbsp_a_SOURCES += network_5200/network.c |
---|
[ca680bc5] | 152 | endif |
---|
| 153 | |
---|
[a4bacff4] | 154 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
| 155 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
| 156 | ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \ |
---|
| 157 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
| 158 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
| 159 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \ |
---|
| 160 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel |
---|
[ca680bc5] | 161 | |
---|
[7cc4f59] | 162 | include $(srcdir)/preinstall.am |
---|
[ca680bc5] | 163 | include $(top_srcdir)/../../../../automake/local.am |
---|