[574fb67] | 1 | # |
---|
| 2 | # $Id$ |
---|
| 3 | # |
---|
| 4 | |
---|
[fe8bc62f] | 5 | ACLOCAL_AMFLAGS = -I ../../../aclocal |
---|
[400c552] | 6 | |
---|
[eb27a98] | 7 | include $(top_srcdir)/../../../automake/compile.am |
---|
| 8 | |
---|
[a9c795b9] | 9 | include_rtems_powerpcdir = $(includedir)/rtems/powerpc |
---|
| 10 | include_rtems_powerpc_HEADERS = rtems/powerpc/cache.h \ |
---|
[eb27a98] | 11 | rtems/powerpc/debugmod.h rtems/powerpc/powerpc.h |
---|
[1c07f582] | 12 | |
---|
[eb27a98] | 13 | include_rtems_scoredir = $(includedir)/rtems/score |
---|
[6ea038a] | 14 | include_libcpudir = $(includedir)/libcpu |
---|
[eb27a98] | 15 | |
---|
[25a92bc1] | 16 | include_libcpu_HEADERS = shared/include/powerpc-utility.h |
---|
[7c5c667e] | 17 | |
---|
[2d2de4eb] | 18 | include_bspdir = $(includedir)/bsp |
---|
| 19 | |
---|
| 20 | include_bsp_HEADERS = |
---|
| 21 | |
---|
[cd12be09] | 22 | EXTRA_DIST = |
---|
| 23 | |
---|
[eb27a98] | 24 | noinst_PROGRAMS = new-exceptions/rtems-cpu.rel |
---|
[2541237] | 25 | new_exceptions_rtems_cpu_rel_SOURCES = new-exceptions/cpu.c \ |
---|
[574fb67] | 26 | new-exceptions/cpu_asm.S |
---|
[eb27a98] | 27 | new_exceptions_rtems_cpu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 28 | new_exceptions_rtems_cpu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
[73cdeb6] | 29 | |
---|
| 30 | |
---|
[185da08] | 31 | if !mpc5xx |
---|
[2d2de4eb] | 32 | include_bsp_HEADERS += new-exceptions/bspsupport/vectors.h |
---|
[73cdeb6] | 33 | |
---|
[e1c30baf] | 34 | noinst_PROGRAMS += new-exceptions/exc_bspsupport.rel |
---|
| 35 | new_exceptions_exc_bspsupport_rel_SOURCES = \ |
---|
[2d2de4eb] | 36 | new-exceptions/bspsupport/ppc-code-copy.c \ |
---|
[e1c30baf] | 37 | new-exceptions/bspsupport/ppc_exc.S \ |
---|
[2d2de4eb] | 38 | new-exceptions/bspsupport/ppc_exc_naked.S \ |
---|
[e1c30baf] | 39 | new-exceptions/bspsupport/ppc_exc_hdl.c \ |
---|
[2d2de4eb] | 40 | new-exceptions/bspsupport/ppc_exc_initialize.c \ |
---|
| 41 | new-exceptions/bspsupport/ppc_exc_global_handler.c \ |
---|
| 42 | new-exceptions/bspsupport/ppc_exc_categories.c \ |
---|
| 43 | new-exceptions/bspsupport/ppc_exc_address.c \ |
---|
[88dcb841] | 44 | new-exceptions/bspsupport/ppc_exc_alignment.c \ |
---|
[2d2de4eb] | 45 | new-exceptions/bspsupport/ppc_exc_prologue.c |
---|
| 46 | |
---|
[e1c30baf] | 47 | new_exceptions_exc_bspsupport_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 48 | new_exceptions_exc_bspsupport_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
[aea5571] | 49 | |
---|
| 50 | noinst_PROGRAMS += new-exceptions/irq_bspsupport.rel |
---|
| 51 | |
---|
| 52 | new_exceptions_irq_bspsupport_rel_SOURCES = new-exceptions/bspsupport/irq.c |
---|
| 53 | new_exceptions_irq_bspsupport_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 54 | new_exceptions_irq_bspsupport_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
[e1c30baf] | 55 | endif |
---|
[cd12be09] | 56 | |
---|
[e1c30baf] | 57 | EXTRA_DIST += new-exceptions/bspsupport/vectors.h |
---|
| 58 | EXTRA_DIST += new-exceptions/bspsupport/irq_supp.h |
---|
| 59 | EXTRA_DIST += new-exceptions/bspsupport/README |
---|
| 60 | EXTRA_DIST += new-exceptions/bspsupport/ppc_exc_test.c |
---|
[1c07f582] | 61 | |
---|
[574fb67] | 62 | # shared/include |
---|
[63abe85] | 63 | if shared |
---|
[520a487] | 64 | include_libcpu_HEADERS += shared/include/io.h shared/include/mmu.h \ |
---|
| 65 | shared/include/page.h \ |
---|
[63abe85] | 66 | shared/include/byteorder.h shared/include/pgtable.h |
---|
| 67 | |
---|
| 68 | noinst_PROGRAMS += shared/cpuIdent.rel |
---|
| 69 | shared_cpuIdent_rel_SOURCES = shared/include/cpuIdent.c shared/include/cpuIdent.h |
---|
| 70 | shared_cpuIdent_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 71 | shared_cpuIdent_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 72 | |
---|
| 73 | include_libcpu_HEADERS += shared/include/cpuIdent.h |
---|
| 74 | |
---|
[574fb67] | 75 | # shared/cache |
---|
[63abe85] | 76 | noinst_PROGRAMS += shared/cache.rel |
---|
[68e60ddb] | 77 | shared_cache_rel_SOURCES = shared/src/cache_.h \ |
---|
[63abe85] | 78 | ../shared/src/cache_aligned_malloc.c ../shared/src/cache_manager.c \ |
---|
| 79 | ../shared/include/cache.h |
---|
| 80 | shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/src |
---|
| 81 | shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 82 | |
---|
| 83 | include_libcpu_HEADERS += ../shared/include/cache.h |
---|
| 84 | |
---|
[574fb67] | 85 | # shared/stack |
---|
[63abe85] | 86 | noinst_PROGRAMS += shared/stack.rel |
---|
| 87 | shared_stack_rel_SOURCES = shared/src/stack.c shared/include/spr.h shared/src/stackTrace.h |
---|
| 88 | shared_stack_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 89 | shared_stack_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 90 | |
---|
| 91 | include_libcpu_HEADERS += shared/include/spr.h |
---|
| 92 | include_libcpu_HEADERS += shared/src/stackTrace.h |
---|
| 93 | endif |
---|
| 94 | |
---|
[d3b8db7b] | 95 | EXTRA_DIST += ppc403/README ppc403/vectors/README |
---|
[8dcd7d10] | 96 | if ppc403 |
---|
[574fb67] | 97 | # ppc403/clock |
---|
[8dcd7d10] | 98 | noinst_PROGRAMS += ppc403/clock.rel |
---|
| 99 | ppc403_clock_rel_SOURCES = ppc403/clock/clock.c |
---|
| 100 | ppc403_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 101 | ppc403_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 102 | |
---|
[574fb67] | 103 | # ppc403/console |
---|
[8dcd7d10] | 104 | noinst_PROGRAMS += ppc403/console.rel |
---|
| 105 | if ppc405 |
---|
| 106 | ppc403_console_rel_SOURCES = ppc403/console/console405.c |
---|
| 107 | else |
---|
| 108 | ppc403_console_rel_SOURCES = ppc403/console/console.c |
---|
| 109 | endif |
---|
| 110 | ppc403_console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 111 | ppc403_console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 112 | |
---|
[309dbd0] | 113 | include_HEADERS = |
---|
| 114 | shared_cpuIdent_rel_SOURCES = shared/include/cpuIdent.c |
---|
[73cdeb6] | 115 | shared_cpuIdent_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 116 | shared_cpuIdent_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
[8dcd7d10] | 117 | |
---|
[574fb67] | 118 | # ppc403/timer |
---|
[8dcd7d10] | 119 | noinst_PROGRAMS += ppc403/timer.rel |
---|
| 120 | ppc403_timer_rel_SOURCES = ppc403/timer/timer.c |
---|
| 121 | ppc403_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 122 | ppc403_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 123 | |
---|
[574fb67] | 124 | # ppc403/tty_drv |
---|
[8dcd7d10] | 125 | if ppc405 |
---|
| 126 | include_HEADERS += ppc403/tty_drv/tty_drv.h |
---|
| 127 | |
---|
| 128 | noinst_PROGRAMS += ppc403/tty_drv.rel |
---|
| 129 | ppc403_tty_drv_rel_SOURCES = ppc403/tty_drv/tty_drv.c ppc403/tty_drv/tty_drv.h |
---|
| 130 | ppc403_tty_drv_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 131 | ppc403_tty_drv_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 132 | endif |
---|
| 133 | |
---|
[3c6fe2e] | 134 | endif # ppc403 |
---|
| 135 | |
---|
| 136 | if ppc405 |
---|
| 137 | |
---|
| 138 | ## ppc4xx/include |
---|
| 139 | include_ppc4xxdir = $(includedir)/ppc4xx |
---|
| 140 | include_ppc4xx_HEADERS = ppc403/include/ppc405gp.h \ |
---|
| 141 | ppc403/include/ppc405ex.h |
---|
[8dcd7d10] | 142 | |
---|
[3c6fe2e] | 143 | endif # ppc405 |
---|
| 144 | |
---|
| 145 | |
---|
| 146 | ## mpc5xx |
---|
[d3b8db7b] | 147 | EXTRA_DIST += mpc5xx/README |
---|
[6ea038a] | 148 | if mpc5xx |
---|
| 149 | include_mpc5xxdir = $(includedir)/mpc5xx |
---|
| 150 | |
---|
| 151 | include_HEADERS = mpc5xx/include/mpc5xx.h |
---|
| 152 | |
---|
[574fb67] | 153 | # mpc5xx/clock |
---|
[6ea038a] | 154 | noinst_PROGRAMS += mpc5xx/clock.rel |
---|
| 155 | mpc5xx_clock_rel_SOURCES = mpc5xx/clock/clock.c |
---|
| 156 | mpc5xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 157 | mpc5xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 158 | |
---|
[574fb67] | 159 | # mpc5xx/console-generic |
---|
[6ea038a] | 160 | include_mpc5xx_HEADERS = mpc5xx/include/console.h |
---|
| 161 | |
---|
| 162 | noinst_PROGRAMS += mpc5xx/console-generic.rel |
---|
| 163 | mpc5xx_console_generic_rel_SOURCES = mpc5xx/console-generic/console-generic.c |
---|
| 164 | mpc5xx_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 165 | mpc5xx_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 166 | |
---|
[574fb67] | 167 | # mpc5xx/exceptions |
---|
[7c5c667e] | 168 | include_libcpu_HEADERS += mpc5xx/exceptions/raw_exception.h |
---|
[6ea038a] | 169 | |
---|
| 170 | noinst_PROGRAMS += mpc5xx/exceptions.rel |
---|
| 171 | mpc5xx_exceptions_rel_SOURCES = mpc5xx/exceptions/raw_exception.c |
---|
| 172 | mpc5xx_exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 173 | mpc5xx_exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 174 | |
---|
[574fb67] | 175 | # mpc5xx/irq |
---|
[6ea038a] | 176 | include_libcpu_HEADERS += mpc5xx/irq/irq.h |
---|
| 177 | |
---|
| 178 | noinst_PROGRAMS += mpc5xx/irq.rel |
---|
| 179 | mpc5xx_irq_rel_SOURCES = mpc5xx/irq/irq.c mpc5xx/irq/irq_init.c mpc5xx/irq/irq_asm.S |
---|
| 180 | mpc5xx_irq_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 181 | mpc5xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 182 | |
---|
[574fb67] | 183 | # mpc5xx/timer |
---|
[6ea038a] | 184 | noinst_PROGRAMS += mpc5xx/timer.rel |
---|
| 185 | mpc5xx_timer_rel_SOURCES = mpc5xx/timer/timer.c |
---|
| 186 | mpc5xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 187 | mpc5xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 188 | |
---|
[574fb67] | 189 | # mpc5xx/vectors |
---|
[6ea038a] | 190 | include_libcpu_HEADERS += mpc5xx/vectors/vectors.h |
---|
| 191 | |
---|
| 192 | noinst_PROGRAMS += mpc5xx/vectors.rel |
---|
| 193 | mpc5xx_vectors_rel_SOURCES = mpc5xx/vectors/vectors_init.c mpc5xx/vectors/vectors.S |
---|
| 194 | mpc5xx_vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 195 | mpc5xx_vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 196 | endif |
---|
| 197 | |
---|
| 198 | if mpc505 |
---|
[574fb67] | 199 | # mpc505/ictrl |
---|
[6ea038a] | 200 | include_HEADERS = mpc505/ictrl/ictrl.h |
---|
| 201 | |
---|
| 202 | noinst_PROGRAMS += mpc505/ictrl.rel |
---|
| 203 | mpc505_ictrl_rel_SOURCES = mpc505/ictrl/ictrl.c |
---|
| 204 | mpc505_ictrl_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 205 | mpc505_ictrl_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 206 | |
---|
[574fb67] | 207 | # mpc505/timer |
---|
[6ea038a] | 208 | noinst_PROGRAMS += mpc505/timer.rel |
---|
| 209 | mpc505_timer_rel_SOURCES = mpc505/timer/timer.c |
---|
| 210 | mpc505_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 211 | mpc505_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 212 | |
---|
[574fb67] | 213 | # mpc505/vector |
---|
[6ea038a] | 214 | noinst_PROGRAMS += mpc505/vectors.rel |
---|
| 215 | mpc505_vectors_rel_SOURCES = mpc505/vectors/vectors.S |
---|
| 216 | mpc505_vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 217 | mpc505_vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 218 | endif |
---|
| 219 | |
---|
[c3f72cc] | 220 | if mpc6xx |
---|
| 221 | |
---|
[574fb67] | 222 | # mpc6xx/mmu |
---|
[c3f72cc] | 223 | include_libcpu_HEADERS += mpc6xx/mmu/bat.h mpc6xx/mmu/pte121.h |
---|
| 224 | |
---|
| 225 | noinst_PROGRAMS += mpc6xx/mmu.rel |
---|
| 226 | mpc6xx_mmu_rel_SOURCES = mpc6xx/mmu/bat.c mpc6xx/mmu/bat.h \ |
---|
| 227 | mpc6xx/mmu/pte121.c mpc6xx/mmu/pte121.h \ |
---|
| 228 | mpc6xx/mmu/mmuAsm.S |
---|
| 229 | mpc6xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 230 | mpc6xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 231 | |
---|
[574fb67] | 232 | # mpc6xx/clock |
---|
[c3f72cc] | 233 | include_libcpu_HEADERS += mpc6xx/clock/c_clock.h |
---|
| 234 | |
---|
| 235 | noinst_PROGRAMS += mpc6xx/clock.rel |
---|
| 236 | mpc6xx_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h |
---|
| 237 | mpc6xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 238 | mpc6xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 239 | |
---|
[574fb67] | 240 | # mpc6xx/timer |
---|
[c3f72cc] | 241 | noinst_PROGRAMS += mpc6xx/timer.rel |
---|
| 242 | mpc6xx_timer_rel_SOURCES = mpc6xx/timer/timer.c |
---|
| 243 | mpc6xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 244 | mpc6xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
[fbee4ff] | 245 | |
---|
| 246 | # mpc6xx/altivec |
---|
| 247 | noinst_PROGRAMS += mpc6xx/altivec.rel |
---|
| 248 | mpc6xx_altivec_rel_SOURCES = mpc6xx/altivec/vec_sup.c mpc6xx/altivec/vec_sup_asm.S |
---|
| 249 | mpc6xx_altivec_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 250 | mpc6xx_altivec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
[c3f72cc] | 251 | endif |
---|
[fbee4ff] | 252 | EXTRA_DIST += mpc6xx/altivec/README |
---|
[c3f72cc] | 253 | |
---|
[694c00cb] | 254 | if e500 |
---|
[574fb67] | 255 | # mpc6xx/clock |
---|
[694c00cb] | 256 | include_libcpu_HEADERS += mpc6xx/clock/c_clock.h |
---|
| 257 | |
---|
| 258 | noinst_PROGRAMS += e500/clock.rel |
---|
| 259 | e500_clock_rel_SOURCES = mpc6xx/clock/c_clock.c mpc6xx/clock/c_clock.h |
---|
| 260 | e500_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 261 | e500_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 262 | |
---|
[574fb67] | 263 | # mpc6xx/timer |
---|
[694c00cb] | 264 | noinst_PROGRAMS += e500/timer.rel |
---|
| 265 | e500_timer_rel_SOURCES = mpc6xx/timer/timer.c |
---|
| 266 | e500_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 267 | e500_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
[76d8cd0] | 268 | |
---|
[574fb67] | 269 | # e500/mmu |
---|
[76d8cd0] | 270 | include_libcpu_HEADERS += e500/mmu/e500_mmu.h |
---|
| 271 | noinst_PROGRAMS += e500/mmu.rel |
---|
| 272 | e500_mmu_rel_SOURCES = e500/mmu/mmu.c e500/mmu/e500_mmu.h |
---|
| 273 | e500_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 274 | e500_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
[694c00cb] | 275 | endif |
---|
| 276 | |
---|
[d3b8db7b] | 277 | EXTRA_DIST += mpc8xx/README |
---|
[4319fd9] | 278 | if mpc8xx |
---|
| 279 | include_mpc8xxdir = $(includedir)/mpc8xx |
---|
| 280 | |
---|
| 281 | include_HEADERS = mpc8xx/include/mpc8xx.h |
---|
| 282 | |
---|
[574fb67] | 283 | # mpc8xx/clock |
---|
[4319fd9] | 284 | noinst_PROGRAMS += mpc8xx/clock.rel |
---|
| 285 | mpc8xx_clock_rel_SOURCES = mpc8xx/clock/clock.c |
---|
| 286 | mpc8xx_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 287 | mpc8xx_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 288 | |
---|
[574fb67] | 289 | # mpc8xx/console-generic |
---|
[4319fd9] | 290 | include_mpc8xx_HEADERS = mpc8xx/include/console.h |
---|
| 291 | |
---|
| 292 | noinst_PROGRAMS += mpc8xx/console-generic.rel |
---|
| 293 | mpc8xx_console_generic_rel_SOURCES = mpc8xx/console-generic/console-generic.c |
---|
| 294 | mpc8xx_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 295 | mpc8xx_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 296 | |
---|
[574fb67] | 297 | # mpc8xx/cpm |
---|
[4319fd9] | 298 | include_mpc8xx_HEADERS += mpc8xx/include/cpm.h |
---|
| 299 | |
---|
| 300 | noinst_PROGRAMS += mpc8xx/cpm.rel |
---|
| 301 | mpc8xx_cpm_rel_SOURCES = mpc8xx/cpm/cp.c mpc8xx/cpm/dpram.c |
---|
| 302 | mpc8xx_cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 303 | mpc8xx_cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 304 | |
---|
[574fb67] | 305 | # mpc8xx/mmu |
---|
[4319fd9] | 306 | include_mpc8xx_HEADERS += mpc8xx/include/mmu.h |
---|
| 307 | |
---|
| 308 | noinst_PROGRAMS += mpc8xx/mmu.rel |
---|
| 309 | mpc8xx_mmu_rel_SOURCES = mpc8xx/mmu/mmu.c |
---|
| 310 | mpc8xx_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 311 | mpc8xx_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 312 | |
---|
[574fb67] | 313 | # mpc8xx/timer |
---|
[4319fd9] | 314 | noinst_PROGRAMS += mpc8xx/timer.rel |
---|
| 315 | mpc8xx_timer_rel_SOURCES = mpc8xx/timer/timer.c |
---|
| 316 | mpc8xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 317 | mpc8xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 318 | endif |
---|
| 319 | |
---|
[d3b8db7b] | 320 | EXTRA_DIST += mpc8260/README |
---|
[430609b] | 321 | if mpc8260 |
---|
| 322 | include_mpc8260dir = $(includedir)/mpc8260 |
---|
| 323 | |
---|
| 324 | include_HEADERS = mpc8260/include/mpc8260.h |
---|
| 325 | |
---|
[574fb67] | 326 | # mpc8260/console-generic |
---|
[430609b] | 327 | include_mpc8260_HEADERS = mpc8260/include/console.h |
---|
| 328 | |
---|
| 329 | noinst_PROGRAMS += mpc8260/console-generic.rel |
---|
| 330 | mpc8260_console_generic_rel_SOURCES = mpc8260/console-generic/console-generic.c \ |
---|
| 331 | mpc8260/include/console.h |
---|
| 332 | mpc8260_console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 333 | mpc8260_console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 334 | |
---|
[574fb67] | 335 | # mpc8260/cpm |
---|
[430609b] | 336 | include_mpc8260_HEADERS += mpc8260/include/cpm.h |
---|
| 337 | |
---|
| 338 | noinst_PROGRAMS += mpc8260/cpm.rel |
---|
| 339 | mpc8260_cpm_rel_SOURCES = mpc8260/cpm/cp.c mpc8260/cpm/dpram.c mpc8260/cpm/brg.c \ |
---|
| 340 | mpc8260/include/cpm.h |
---|
| 341 | mpc8260_cpm_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 342 | mpc8260_cpm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 343 | |
---|
[574fb67] | 344 | # mpc8260/mmu |
---|
[430609b] | 345 | include_mpc8260_HEADERS += mpc8260/include/mmu.h |
---|
| 346 | |
---|
| 347 | noinst_PROGRAMS += mpc8260/mmu.rel |
---|
[267c7c5] | 348 | mpc8260_mmu_rel_SOURCES = mpc8260/mmu/mmu.c \ |
---|
| 349 | mpc8260/include/mmu.h |
---|
[430609b] | 350 | mpc8260_mmu_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 351 | mpc8260_mmu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 352 | |
---|
[574fb67] | 353 | # mpc8260/timer |
---|
[430609b] | 354 | noinst_PROGRAMS += mpc8260/timer.rel |
---|
| 355 | mpc8260_timer_rel_SOURCES = mpc8260/timer/timer.c |
---|
| 356 | mpc8260_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 357 | mpc8260_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 358 | endif |
---|
| 359 | |
---|
[574fb67] | 360 | ############################################################################## |
---|
| 361 | # START: MPC83XX # |
---|
| 362 | ############################################################################## |
---|
[f610e83f] | 363 | if mpc83xx |
---|
[3c6fe2e] | 364 | |
---|
[574fb67] | 365 | # Includes |
---|
[f610e83f] | 366 | include_mpc83xxdir = $(includedir)/mpc83xx |
---|
[4a1eb75] | 367 | |
---|
[574fb67] | 368 | include_mpc83xx_HEADERS = mpc83xx/include/mpc83xx.h |
---|
| 369 | |
---|
| 370 | # Network |
---|
[4bb4925] | 371 | include_bsp_HEADERS += mpc83xx/network/tsec.h |
---|
[4a1eb75] | 372 | if HAS_NETWORKING |
---|
[f610e83f] | 373 | noinst_PROGRAMS += mpc83xx/tsec.rel |
---|
[574fb67] | 374 | mpc83xx_tsec_rel_SOURCES = mpc83xx/network/tsec.c |
---|
| 375 | mpc83xx_tsec_rel_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE |
---|
| 376 | mpc83xx_tsec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
[4a1eb75] | 377 | endif |
---|
[574fb67] | 378 | |
---|
| 379 | # i2c |
---|
[267c7c5] | 380 | include_mpc83xx_HEADERS += mpc83xx/i2c/mpc83xx_i2cdrv.h |
---|
| 381 | noinst_PROGRAMS += mpc83xx/i2c.rel |
---|
[574fb67] | 382 | mpc83xx_i2c_rel_SOURCES = mpc83xx/i2c/mpc83xx_i2cdrv.c \ |
---|
| 383 | mpc83xx/i2c/mpc83xx_i2cdrv.h |
---|
| 384 | mpc83xx_i2c_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
[267c7c5] | 385 | |
---|
[574fb67] | 386 | # SPI |
---|
[55a685b] | 387 | include_mpc83xx_HEADERS += mpc83xx/spi/mpc83xx_spidrv.h |
---|
| 388 | noinst_PROGRAMS += mpc83xx/spi.rel |
---|
[574fb67] | 389 | mpc83xx_spi_rel_SOURCES = mpc83xx/spi/mpc83xx_spidrv.c \ |
---|
| 390 | mpc83xx/spi/mpc83xx_spidrv.h |
---|
| 391 | mpc83xx_spi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 392 | |
---|
| 393 | # GTM |
---|
| 394 | include_mpc83xx_HEADERS += mpc83xx/include/gtm.h |
---|
| 395 | noinst_PROGRAMS += mpc83xx/gtm.rel |
---|
| 396 | mpc83xx_gtm_rel_SOURCES = mpc83xx/gtm/gtm.c \ |
---|
| 397 | mpc83xx/include/gtm.h |
---|
| 398 | mpc83xx_gtm_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 399 | |
---|
| 400 | endif |
---|
| 401 | ############################################################################## |
---|
| 402 | # END: MPC83XX # |
---|
| 403 | ############################################################################## |
---|
| 404 | |
---|
| 405 | ############################################################################## |
---|
| 406 | # START: MPC55XX # |
---|
| 407 | ############################################################################## |
---|
| 408 | if mpc55xx |
---|
| 409 | |
---|
| 410 | # Includes |
---|
| 411 | include_mpc55xxdir = $(includedir)/mpc55xx |
---|
| 412 | |
---|
| 413 | include_mpc55xx_HEADERS = mpc55xx/include/regs.h \ |
---|
| 414 | mpc55xx/include/reg-defs.h \ |
---|
| 415 | mpc55xx/include/dspi.h \ |
---|
| 416 | mpc55xx/include/edma.h \ |
---|
[d374492] | 417 | mpc55xx/include/emios.h \ |
---|
[574fb67] | 418 | mpc55xx/include/mpc55xx.h \ |
---|
[d3c32136] | 419 | mpc55xx/include/esci.h \ |
---|
[1f4db180] | 420 | mpc55xx/include/siu.h \ |
---|
[d3c32136] | 421 | mpc55xx/include/watchdog.h |
---|
[574fb67] | 422 | |
---|
[2d2de4eb] | 423 | include_bsp_HEADERS += mpc55xx/include/irq.h |
---|
| 424 | |
---|
[574fb67] | 425 | # IRQ |
---|
| 426 | noinst_PROGRAMS += mpc55xx/irq.rel |
---|
| 427 | mpc55xx_irq_rel_SOURCES = mpc55xx/irq/irq.c |
---|
| 428 | mpc55xx_irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 429 | |
---|
[1f4db180] | 430 | # mpc6xx/timer |
---|
| 431 | noinst_PROGRAMS += mpc55xx/timer.rel |
---|
| 432 | mpc55xx_timer_rel_SOURCES = mpc6xx/timer/timer.c |
---|
| 433 | mpc55xx_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 434 | mpc55xx_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 435 | |
---|
[574fb67] | 436 | # FEC |
---|
| 437 | noinst_PROGRAMS += mpc55xx/fec.rel |
---|
| 438 | mpc55xx_fec_rel_SOURCES = mpc55xx/fec/fec.c |
---|
| 439 | mpc55xx_fec_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 440 | |
---|
[d374492] | 441 | # eDMA |
---|
[574fb67] | 442 | noinst_PROGRAMS += mpc55xx/edma.rel |
---|
| 443 | mpc55xx_edma_rel_SOURCES = mpc55xx/edma/edma.c |
---|
| 444 | mpc55xx_edma_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 445 | |
---|
[d374492] | 446 | # eMIOS |
---|
| 447 | noinst_PROGRAMS += mpc55xx/emios.rel |
---|
| 448 | mpc55xx_emios_rel_SOURCES = mpc55xx/emios/emios.c |
---|
| 449 | mpc55xx_emios_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 450 | |
---|
[1f4db180] | 451 | # SIU |
---|
| 452 | noinst_PROGRAMS += mpc55xx/siu.rel |
---|
| 453 | mpc55xx_siu_rel_SOURCES = mpc55xx/siu/siu.c |
---|
| 454 | mpc55xx_siu_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 455 | |
---|
[d374492] | 456 | # eSCI |
---|
[574fb67] | 457 | noinst_PROGRAMS += mpc55xx/esci.rel |
---|
| 458 | mpc55xx_esci_rel_SOURCES = mpc55xx/esci/esci.c |
---|
| 459 | mpc55xx_esci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 460 | |
---|
| 461 | # DSPI |
---|
| 462 | noinst_PROGRAMS += mpc55xx/dspi.rel |
---|
| 463 | mpc55xx_dspi_rel_SOURCES = mpc55xx/dspi/dspi.c |
---|
| 464 | mpc55xx_dspi_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 465 | |
---|
| 466 | # Misc |
---|
| 467 | noinst_PROGRAMS += mpc55xx/misc.rel |
---|
| 468 | mpc55xx_misc_rel_SOURCES = mpc55xx/misc/copy.S \ |
---|
| 469 | mpc55xx/misc/fmpll.S \ |
---|
| 470 | mpc55xx/misc/flash.S |
---|
| 471 | mpc55xx_misc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
[55a685b] | 472 | |
---|
[f610e83f] | 473 | endif |
---|
[574fb67] | 474 | ############################################################################## |
---|
| 475 | # END: MPC55XX # |
---|
| 476 | ############################################################################## |
---|
[f610e83f] | 477 | |
---|
[e96210cb] | 478 | include $(srcdir)/preinstall.am |
---|
[bf0747d] | 479 | include $(top_srcdir)/../../../automake/local.am |
---|