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