source: rtems/c/src/lib/libbsp/arm/xilinx-zynq/Makefile.am @ d6fb37a

5
Last change on this file since d6fb37a was d6fb37a, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 19, 2018 at 4:17:52 AM

bsps: Move shared btimer support to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 3.2 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the Xilinx Zynq platform.
6#
7
8ACLOCAL_AMFLAGS = -I ../../../../aclocal
9
10include $(top_srcdir)/../../../../automake/compile.am
11include $(top_srcdir)/../../bsp.am
12
13dist_project_lib_DATA = startup/bsp_specs
14
15###############################################################################
16#                  Header                                                     #
17###############################################################################
18
19###############################################################################
20#                  Data                                                       #
21###############################################################################
22
23start.$(OBJEXT): ../shared/start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
25project_lib_DATA = start.$(OBJEXT)
26
27project_lib_DATA += linkcmds
28
29###############################################################################
30#                  LibBSP                                                     #
31###############################################################################
32
33project_lib_LIBRARIES = librtemsbsp.a
34
35librtemsbsp_a_SOURCES =
36
37# Shared
38librtemsbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
39librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspfatal-default.c
40librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bspgetworkarea-default.c
41librtemsbsp_a_SOURCES += ../../shared/cpucounterdiff.c
42librtemsbsp_a_SOURCES += ../../shared/sbrk.c
43librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/btimer/btimer-stub.c
44librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
45librtemsbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
46librtemsbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
47librtemsbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
48
49# Startup
50librtemsbsp_a_SOURCES += startup/bspreset.c
51librtemsbsp_a_SOURCES += startup/bspstart.c
52if HAS_SMP
53librtemsbsp_a_SOURCES += ../shared/arm-a9mpcore-smp.c
54librtemsbsp_a_SOURCES += startup/bspsmp.c
55endif
56
57# IRQ
58librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
59librtemsbsp_a_SOURCES += ../shared/arm-gic-irq.c
60
61# Console
62librtemsbsp_a_SOURCES += ../../shared/console-termios.c
63librtemsbsp_a_SOURCES += console/console-config.c
64librtemsbsp_a_SOURCES += console/debug-console.c
65librtemsbsp_a_SOURCES += console/zynq-uart.c
66
67# Clock
68librtemsbsp_a_SOURCES += ../shared/arm-a9mpcore-clock-config.c
69
70# I2C
71librtemsbsp_a_SOURCES += i2c/cadence-i2c.c
72
73# Cache
74librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-l2c-310.c
75
76# Start hooks
77librtemsbsp_a_SOURCES += startup/bspstarthooks.c
78librtemsbsp_a_SOURCES += startup/bspstartmmu.c
79
80###############################################################################
81#                  Special Rules                                              #
82###############################################################################
83
84
85include $(top_srcdir)/../../../../automake/local.am
86include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
87include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
88include $(srcdir)/../../../../../../bsps/arm/xilinx-zynq/headers.am
Note: See TracBrowser for help on using the repository browser.