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

Last change on this file since 2d0bc83 was 2d0bc83, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 30, 2018 at 6:42:21 PM

build: Remove EXTRA_DIST

A "make dist" is not supported. So, it makes no sense to have pure "make
dist" related stuff in the Makefile.am.

  • 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
33noinst_LIBRARIES = libbsp.a
34
35libbsp_a_SOURCES =
36
37# Shared
38libbsp_a_SOURCES += ../../shared/bootcard.c
39libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
40libbsp_a_SOURCES += ../../shared/bspclean.c
41libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
42libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
43libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
44libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
45libbsp_a_SOURCES += ../../shared/sbrk.c
46libbsp_a_SOURCES += ../../shared/timerstub.c
47libbsp_a_SOURCES += ../../shared/src/stackalloc.c
48libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
49libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
50libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
51
52# Startup
53libbsp_a_SOURCES += startup/bspreset.c
54libbsp_a_SOURCES += startup/bspstart.c
55if HAS_SMP
56libbsp_a_SOURCES += ../shared/arm-a9mpcore-smp.c
57libbsp_a_SOURCES += startup/bspsmp.c
58endif
59
60# IRQ
61libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
62libbsp_a_SOURCES += ../../shared/src/irq-generic.c
63libbsp_a_SOURCES += ../../shared/src/irq-info.c
64libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
65libbsp_a_SOURCES += ../../shared/src/irq-server.c
66libbsp_a_SOURCES += ../../shared/src/irq-shell.c
67libbsp_a_SOURCES += ../shared/arm-gic-irq.c
68
69# Console
70libbsp_a_SOURCES += ../../shared/console-termios.c
71libbsp_a_SOURCES += console/console-config.c
72libbsp_a_SOURCES += console/debug-console.c
73libbsp_a_SOURCES += console/zynq-uart.c
74
75# Clock
76libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
77libbsp_a_SOURCES += ../shared/arm-a9mpcore-clock-config.c
78
79# I2C
80libbsp_a_SOURCES += i2c/cadence-i2c.c
81
82# Cache
83libbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-l2c-310.c
84
85# Start hooks
86libbsp_a_SOURCES += startup/bspstarthooks.c startup/bspstartmmu.c
87
88###############################################################################
89#                  Special Rules                                              #
90###############################################################################
91
92DISTCLEANFILES = include/bspopts.h
93
94include $(top_srcdir)/../../../../automake/local.am
95include $(srcdir)/../../../../../../bsps/arm/xilinx-zynq/headers.am
Note: See TracBrowser for help on using the repository browser.