source: rtems/c/src/lib/libbsp/arm/beagle/Makefile.am @ 0a09ac58

5
Last change on this file since 0a09ac58 was 0a09ac58, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 13, 2018 at 7:14:56 AM

bsps: Move stackalloc.c to bsps

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 3.5 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the BeagleBoards.
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
28dist_project_lib_DATA += startup/linkcmds.beagle
29
30###############################################################################
31#                  LibBSP                                                     #
32###############################################################################
33
34project_lib_LIBRARIES = librtemsbsp.a
35
36librtemsbsp_a_SOURCES =
37librtemsbsp_a_LIBADD =
38
39# Shared
40librtemsbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
41librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/bsp-fdt.c
42librtemsbsp_a_SOURCES += ../../shared/bspclean.c
43librtemsbsp_a_SOURCES += ../../shared/bspgetworkarea.c
44librtemsbsp_a_SOURCES += ../../shared/bsppredriverhook.c
45librtemsbsp_a_SOURCES += ../../shared/sbrk.c
46librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/start/stackalloc.c
47librtemsbsp_a_SOURCES += ../../shared/gpio.c
48librtemsbsp_a_SOURCES += ../../shared/cpucounterdiff.c
49librtemsbsp_a_SOURCES += ../../shared/timerstub.c
50librtemsbsp_a_SOURCES += ../../shared/cpucounterread.c
51librtemsbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
52librtemsbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
53librtemsbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
54
55# Startup
56librtemsbsp_a_SOURCES += startup/bspreset.c
57librtemsbsp_a_SOURCES += startup/bspstart.c
58librtemsbsp_a_SOURCES += startup/bspstarthooks.c
59librtemsbsp_a_SOURCES += startup/bspstartmmu.c
60
61# IRQ
62librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/irq/irq-default-handler.c
63librtemsbsp_a_SOURCES += irq.c
64
65# Console
66librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console.c
67librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-control.c
68librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/serial/legacy-console-select.c
69librtemsbsp_a_SOURCES += console/console-config.c
70
71# I2C
72librtemsbsp_a_SOURCES += i2c/bbb-i2c.c
73
74# GPIO
75librtemsbsp_a_SOURCES += gpio/bbb-gpio.c
76
77#pwm
78librtemsbsp_a_SOURCES += pwm/pwm.c
79
80#RTC
81librtemsbsp_a_SOURCES += rtc.c
82librtemsbsp_a_SOURCES += ../../../../../../bsps/shared/dev/rtc/rtc-support.c
83# Clock
84librtemsbsp_a_SOURCES += clock.c
85
86# Cache
87librtemsbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
88
89###############################################################################
90#                  Special Rules                                              #
91###############################################################################
92
93
94include $(top_srcdir)/../../../../automake/local.am
95include $(srcdir)/../../../../../../bsps/shared/irq-sources.am
96include $(srcdir)/../../../../../../bsps/shared/shared-sources.am
97include $(srcdir)/../../../../../../bsps/arm/beagle/headers.am
Note: See TracBrowser for help on using the repository browser.