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

Last change on this file since f3ce8f41 was f3ce8f41, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:00:02 AM

bsps: Include bsp.am in all BSP Makefile.am

Update #3254.

  • Property mode set to 100644
File size: 3.7 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4include $(top_srcdir)/../../bsp.am
5
6include_bspdir = $(includedir)/bsp
7include_asmdir = $(includedir)/asm
8include_uapi_asmdir = $(includedir)/uapi/asm
9
10dist_project_lib_DATA = bsp_specs
11
12include_HEADERS = include/bsp.h
13include_HEADERS += include/tm27.h
14
15nodist_include_HEADERS = include/bspopts.h
16DISTCLEANFILES = include/bspopts.h
17
18EXTRA_DIST = README
19
20noinst_PROGRAMS =
21
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/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
37include_asm_HEADERS =
38include_asm_HEADERS += include/asm/epapr_hcalls.h
39include_asm_HEADERS += include/asm/fsl_hcalls.h
40
41include_uapi_asm_HEADERS =
42include_uapi_asm_HEADERS += include/uapi/asm/epapr_hcalls.h
43
44noinst_LIBRARIES = libbspstart.a
45libbspstart_a_SOURCES = start/start.S
46project_lib_DATA = start.$(OBJEXT)
47
48libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
49project_lib_DATA += rtems_crti.$(OBJEXT)
50
51libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crtn.S
52project_lib_DATA += rtems_crtn.$(OBJEXT)
53
54dist_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
62noinst_LIBRARIES += libbsp.a
63libbsp_a_SOURCES =
64
65# Startup
66libbsp_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
91libbsp_a_SOURCES += clock/clock-config.c \
92        ../../shared/clockdrv_shell.h
93
94# Timer
95libbsp_a_SOURCES += timer/timer.c
96
97# IRQ
98libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
99libbsp_a_SOURCES += ../../shared/src/irq-generic.c
100libbsp_a_SOURCES += ../../shared/src/irq-info.c
101libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
102libbsp_a_SOURCES += ../../shared/src/irq-server.c
103libbsp_a_SOURCES += ../../shared/src/irq-shell.c
104libbsp_a_SOURCES += irq/irq.c
105
106# Console
107libbsp_a_SOURCES += ../../shared/console-termios-init.c
108libbsp_a_SOURCES += ../../shared/console-termios.c
109libbsp_a_SOURCES += console/uart-bridge-master.c
110libbsp_a_SOURCES += console/uart-bridge-slave.c
111libbsp_a_SOURCES += console/console-config.c
112
113# RTC
114libbsp_a_SOURCES += ../../shared/tod.c \
115        rtc/rtc-config.c
116
117# MPCI
118libbsp_a_SOURCES += shmsupp/lock.S \
119        shmsupp/intercom.c \
120        shmsupp/intercom-mpci.c
121
122libbsp_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
128if HAS_NETWORKING
129libbsp_a_SOURCES += network/network.c \
130        network/if_intercom.c
131libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/tsec.rel
132endif
133
134if HAS_SMP
135libbsp_a_SOURCES += startup/bspsmp.c
136endif
137
138include $(srcdir)/preinstall.am
139include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.