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 | dist_project_lib_DATA = bsp_specs |
---|
11 | |
---|
12 | include_HEADERS = include/bsp.h |
---|
13 | include_HEADERS += include/tm27.h |
---|
14 | |
---|
15 | nodist_include_HEADERS = include/bspopts.h |
---|
16 | DISTCLEANFILES = include/bspopts.h |
---|
17 | |
---|
18 | noinst_PROGRAMS = |
---|
19 | |
---|
20 | include_bspdir = $(includedir)/bsp |
---|
21 | |
---|
22 | include_HEADERS += include/coverhd.h |
---|
23 | |
---|
24 | nodist_include_HEADERS += ../../shared/tod.h |
---|
25 | |
---|
26 | EXTRA_DIST = start/start.S |
---|
27 | start.$(OBJEXT): start/start.S |
---|
28 | $(CPPASCOMPILE) -o $@ -c $< |
---|
29 | project_lib_DATA = start.$(OBJEXT) |
---|
30 | |
---|
31 | EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S |
---|
32 | rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S |
---|
33 | $(CPPASCOMPILE) -o $@ -c $< |
---|
34 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
35 | |
---|
36 | dist_project_lib_DATA += startup/linkcmds.mpc8349eamds |
---|
37 | |
---|
38 | noinst_PROGRAMS += mpc83xx_regs.rel |
---|
39 | mpc83xx_regs_rel_SOURCES = startup/mpc83xx_regs.c |
---|
40 | mpc83xx_regs_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
41 | mpc83xx_regs_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
42 | |
---|
43 | noinst_PROGRAMS += startup.rel |
---|
44 | startup_rel_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \ |
---|
45 | ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \ |
---|
46 | ../../shared/sbrk.c \ |
---|
47 | ../../shared/gnatinstallhandler.c startup/cpuinit.c |
---|
48 | |
---|
49 | startup_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
50 | startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
51 | |
---|
52 | noinst_PROGRAMS += pclock.rel |
---|
53 | pclock_rel_SOURCES = ../../powerpc/shared/clock/p_clock.c |
---|
54 | pclock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
55 | pclock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
56 | |
---|
57 | include_bsp_HEADERS = ./irq/irq.h\ |
---|
58 | ../../powerpc/shared/vectors/vectors.h |
---|
59 | |
---|
60 | noinst_PROGRAMS += vectors.rel |
---|
61 | vectors_rel_SOURCES = ../../powerpc/shared/vectors/vectors.h \ |
---|
62 | ../../powerpc/shared/vectors/vectors_init.c \ |
---|
63 | ../../powerpc/shared/vectors/vectors.S |
---|
64 | vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
65 | vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
66 | |
---|
67 | noinst_PROGRAMS += irq.rel |
---|
68 | irq_rel_SOURCES = ./irq/irq.h \ |
---|
69 | ./irq/irq_init.c \ |
---|
70 | ./irq/ipic.c \ |
---|
71 | ../shared/irq/irq_asm.S |
---|
72 | |
---|
73 | irq_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
74 | irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
75 | |
---|
76 | noinst_PROGRAMS += console.rel |
---|
77 | console_rel_SOURCES = console/console.c console/ns16550cfg.c |
---|
78 | console_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
79 | console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
80 | |
---|
81 | noinst_PROGRAMS += network.rel |
---|
82 | network_rel_SOURCES = network/network.c |
---|
83 | network_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
84 | network_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__ -D__BSD_VISIBLE |
---|
85 | |
---|
86 | network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
87 | |
---|
88 | noinst_LIBRARIES = libbsp.a |
---|
89 | libbsp_a_SOURCES = |
---|
90 | libbsp_a_LIBADD = startup.rel pclock.rel console.rel \ |
---|
91 | vectors.rel irq.rel mpc83xx_regs.rel |
---|
92 | libbsp_a_LIBADD += network.rel |
---|
93 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
94 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
95 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
96 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \ |
---|
97 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \ |
---|
98 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \ |
---|
99 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/clock.rel \ |
---|
100 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \ |
---|
101 | ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \ |
---|
102 | ../../../libcpu/@RTEMS_CPU@/mpc83xx/tsec.rel |
---|
103 | |
---|
104 | EXTRA_DIST += README.mpc8349eamds |
---|
105 | EXTRA_DIST += times.mpc8349eamds |
---|
106 | |
---|
107 | include $(srcdir)/preinstall.am |
---|
108 | include $(top_srcdir)/../../../../automake/local.am |
---|