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