1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../../automake/compile.am |
---|
8 | include $(top_srcdir)/../../bsp.am |
---|
9 | |
---|
10 | include_bspdir = $(includedir)/bsp |
---|
11 | |
---|
12 | dist_project_lib_DATA = bsp_specs |
---|
13 | |
---|
14 | include_HEADERS = include/bsp.h |
---|
15 | include_HEADERS += include/tm27.h |
---|
16 | |
---|
17 | nodist_include_HEADERS = include/bspopts.h |
---|
18 | nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h |
---|
19 | DISTCLEANFILES = include/bspopts.h |
---|
20 | |
---|
21 | noinst_PROGRAMS = |
---|
22 | |
---|
23 | include_HEADERS += include/coverhd.h |
---|
24 | include_bsp_HEADERS = include/tqm.h include/8xx_immap.h \ |
---|
25 | include/irq.h include/irq-config.h \ |
---|
26 | ../../shared/include/irq-generic.h\ |
---|
27 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \ |
---|
28 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h |
---|
29 | |
---|
30 | EXTRA_DIST = times-tqm866 |
---|
31 | |
---|
32 | EXTRA_DIST += startup/start.S |
---|
33 | start.$(OBJEXT): startup/start.S |
---|
34 | $(CPPASCOMPILE) -o $@ -c $< |
---|
35 | project_lib_DATA = start.$(OBJEXT) |
---|
36 | |
---|
37 | EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S |
---|
38 | rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S |
---|
39 | $(CPPASCOMPILE) -o $@ -c $< |
---|
40 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
41 | |
---|
42 | dist_project_lib_DATA += startup/linkcmds.base\ |
---|
43 | startup/linkcmds.tqm8xx |
---|
44 | |
---|
45 | irq_SOURCES = include/irq-config.h \ |
---|
46 | irq/irq.c \ |
---|
47 | ../../shared/src/irq-generic.c \ |
---|
48 | ../../shared/src/irq-legacy.c |
---|
49 | |
---|
50 | # clock_SOURCES = ../shared/clock/clock.c |
---|
51 | p_clock_SOURCES = clock/p_clock.c |
---|
52 | |
---|
53 | console_SOURCES = console/console.c |
---|
54 | timer_SOURCES = timer/timer.c |
---|
55 | startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
56 | ../../shared/bsppost.c ../../shared/bsppredriverhook.c \ |
---|
57 | ../../shared/bsppretaskinghook.c startup/bspstart.c \ |
---|
58 | startup/bspgetworkarea.c ../../shared/bootcard.c startup/mmutlbtab.c \ |
---|
59 | startup/cpuinit.c ../../shared/sbrk.c ../../shared/gnatinstallhandler.c |
---|
60 | |
---|
61 | if HAS_NETWORKING |
---|
62 | network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ |
---|
63 | noinst_PROGRAMS += network.rel |
---|
64 | network_rel_SOURCES = network/network_scc.c network/network_fec.c |
---|
65 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS) |
---|
66 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
67 | endif |
---|
68 | |
---|
69 | noinst_LIBRARIES = libbsp.a |
---|
70 | libbsp_a_SOURCES = $(irq_SOURCES) \ |
---|
71 | $(startup_SOURCES) $(console_SOURCES) \ |
---|
72 | $(p_clock_SOURCES) $(timer_SOURCES) |
---|
73 | |
---|
74 | libbsp_a_LIBADD = \ |
---|
75 | ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
76 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
77 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
78 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \ |
---|
79 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
80 | ../../../libcpu/@RTEMS_CPU@/mpc8xx/console-generic.rel \ |
---|
81 | ../../../libcpu/@RTEMS_CPU@/mpc8xx/cpm.rel \ |
---|
82 | ../../../libcpu/@RTEMS_CPU@/mpc8xx/clock.rel \ |
---|
83 | ../../../libcpu/@RTEMS_CPU@/mpc8xx/mmu.rel \ |
---|
84 | ../../../libcpu/@RTEMS_CPU@/mpc8xx/timer.rel |
---|
85 | |
---|
86 | if HAS_NETWORKING |
---|
87 | libbsp_a_LIBADD += network.rel |
---|
88 | endif |
---|
89 | |
---|
90 | include $(srcdir)/preinstall.am |
---|
91 | include $(top_srcdir)/../../../../automake/local.am |
---|