source: rtems/c/src/lib/libbsp/powerpc/qoriq/Makefile.am @ bd39add

4.11
Last change on this file since bd39add was bd39add, checked in by Sebastian Huber <sebastian.huber@…>, on May 31, 2013 at 8:08:43 AM

bsp/qoriq: Add SMP support

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