1 | ACLOCAL_AMFLAGS = -I ../../../../aclocal |
---|
2 | |
---|
3 | include $(top_srcdir)/../../../../automake/compile.am |
---|
4 | |
---|
5 | include_bspdir = $(includedir)/bsp |
---|
6 | include_asmdir = $(includedir)/asm |
---|
7 | include_uapi_asmdir = $(includedir)/uapi/asm |
---|
8 | |
---|
9 | dist_project_lib_DATA = bsp_specs |
---|
10 | |
---|
11 | include_HEADERS = include/bsp.h |
---|
12 | include_HEADERS += include/tm27.h |
---|
13 | |
---|
14 | nodist_include_HEADERS = include/bspopts.h |
---|
15 | DISTCLEANFILES = include/bspopts.h |
---|
16 | |
---|
17 | EXTRA_DIST = README |
---|
18 | |
---|
19 | noinst_PROGRAMS = |
---|
20 | |
---|
21 | include_HEADERS += ../../shared/include/coverhd.h |
---|
22 | |
---|
23 | include_bsp_HEADERS = include/irq.h \ |
---|
24 | ../../shared/include/irq-generic.h \ |
---|
25 | ../../shared/include/irq-info.h \ |
---|
26 | ../../shared/include/bootcard.h \ |
---|
27 | ../../shared/include/utility.h \ |
---|
28 | ../shared/include/start.h \ |
---|
29 | ../shared/include/tictac.h \ |
---|
30 | ../shared/include/linker-symbols.h \ |
---|
31 | include/tsec-config.h \ |
---|
32 | include/mmu.h \ |
---|
33 | include/intercom.h \ |
---|
34 | include/uart-bridge.h \ |
---|
35 | include/qoriq.h |
---|
36 | |
---|
37 | include_asm_HEADERS = |
---|
38 | include_asm_HEADERS += include/asm/epapr_hcalls.h |
---|
39 | include_asm_HEADERS += include/asm/fsl_hcalls.h |
---|
40 | |
---|
41 | include_uapi_asm_HEADERS = |
---|
42 | include_uapi_asm_HEADERS += include/uapi/asm/epapr_hcalls.h |
---|
43 | |
---|
44 | noinst_LIBRARIES = libbspstart.a |
---|
45 | libbspstart_a_SOURCES = start/start.S |
---|
46 | project_lib_DATA = start.$(OBJEXT) |
---|
47 | |
---|
48 | libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S |
---|
49 | project_lib_DATA += rtems_crti.$(OBJEXT) |
---|
50 | |
---|
51 | libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crtn.S |
---|
52 | project_lib_DATA += rtems_crtn.$(OBJEXT) |
---|
53 | |
---|
54 | dist_project_lib_DATA += startup/linkcmds \ |
---|
55 | ../shared/startup/linkcmds.base \ |
---|
56 | startup/linkcmds.qoriq_core_0 \ |
---|
57 | startup/linkcmds.qoriq_core_1 \ |
---|
58 | startup/linkcmds.qoriq_e500 \ |
---|
59 | startup/linkcmds.qoriq_e6500_32 \ |
---|
60 | startup/linkcmds.qoriq_e6500_64 |
---|
61 | |
---|
62 | noinst_LIBRARIES += libbsp.a |
---|
63 | libbsp_a_SOURCES = |
---|
64 | |
---|
65 | # Startup |
---|
66 | libbsp_a_SOURCES += \ |
---|
67 | ../../shared/bootcard.c \ |
---|
68 | ../../shared/getentropy-cpucounter.c \ |
---|
69 | ../../shared/sbrk.c \ |
---|
70 | ../../shared/gnatinstallhandler.c \ |
---|
71 | ../../shared/bspclean.c \ |
---|
72 | ../../shared/src/bsp-fdt.c \ |
---|
73 | ../shared/src/ppc-exc-handler-table.c \ |
---|
74 | ../shared/src/tictac.c \ |
---|
75 | ../shared/src/bsp-start-zero.S \ |
---|
76 | ../shared/startup/bspidle.c \ |
---|
77 | startup/epapr_hcalls.S \ |
---|
78 | startup/l1cache.S \ |
---|
79 | startup/l2cache.S \ |
---|
80 | startup/mmu.c \ |
---|
81 | startup/mmu-tlb1.S \ |
---|
82 | startup/mmu-config.c \ |
---|
83 | startup/portal.c \ |
---|
84 | startup/restart.S \ |
---|
85 | startup/bsppredriverhook.c \ |
---|
86 | startup/bspstart.c \ |
---|
87 | startup/bspreset.c \ |
---|
88 | startup/bsprestart.c |
---|
89 | |
---|
90 | # Clock |
---|
91 | libbsp_a_SOURCES += clock/clock-config.c \ |
---|
92 | ../../shared/clockdrv_shell.h |
---|
93 | |
---|
94 | # Timer |
---|
95 | libbsp_a_SOURCES += timer/timer.c |
---|
96 | |
---|
97 | # IRQ |
---|
98 | libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c |
---|
99 | libbsp_a_SOURCES += ../../shared/src/irq-generic.c |
---|
100 | libbsp_a_SOURCES += ../../shared/src/irq-info.c |
---|
101 | libbsp_a_SOURCES += ../../shared/src/irq-legacy.c |
---|
102 | libbsp_a_SOURCES += ../../shared/src/irq-server.c |
---|
103 | libbsp_a_SOURCES += ../../shared/src/irq-shell.c |
---|
104 | libbsp_a_SOURCES += irq/irq.c |
---|
105 | |
---|
106 | # Console |
---|
107 | libbsp_a_SOURCES += ../../shared/console-termios-init.c |
---|
108 | libbsp_a_SOURCES += ../../shared/console-termios.c |
---|
109 | libbsp_a_SOURCES += console/uart-bridge-master.c |
---|
110 | libbsp_a_SOURCES += console/uart-bridge-slave.c |
---|
111 | libbsp_a_SOURCES += console/console-config.c |
---|
112 | |
---|
113 | # RTC |
---|
114 | libbsp_a_SOURCES += ../../shared/tod.c \ |
---|
115 | rtc/rtc-config.c |
---|
116 | |
---|
117 | # MPCI |
---|
118 | libbsp_a_SOURCES += shmsupp/lock.S \ |
---|
119 | shmsupp/intercom.c \ |
---|
120 | shmsupp/intercom-mpci.c |
---|
121 | |
---|
122 | libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \ |
---|
123 | ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \ |
---|
124 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \ |
---|
125 | ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \ |
---|
126 | ../../../libcpu/@RTEMS_CPU@/e500/mmu.rel |
---|
127 | |
---|
128 | if HAS_NETWORKING |
---|
129 | libbsp_a_SOURCES += network/network.c \ |
---|
130 | network/if_intercom.c |
---|
131 | libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/tsec.rel |
---|
132 | endif |
---|
133 | |
---|
134 | if HAS_SMP |
---|
135 | libbsp_a_SOURCES += startup/bspsmp.c |
---|
136 | endif |
---|
137 | |
---|
138 | include $(srcdir)/preinstall.am |
---|
139 | include $(top_srcdir)/../../../../automake/local.am |
---|