source: rtems/c/src/lib/libbsp/arm/beagle/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.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
34noinst_LIBRARIES = libbsp.a
35
36libbsp_a_SOURCES =
37libbsp_a_LIBADD =
38
39# Shared
40libbsp_a_SOURCES += ../../shared/bootcard.c
41libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
42libbsp_a_SOURCES += ../../shared/src/bsp-fdt.c
43libbsp_a_SOURCES += ../../shared/bspclean.c
44libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
45libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
46libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
47libbsp_a_SOURCES += ../../shared/sbrk.c
48libbsp_a_SOURCES += ../../shared/src/stackalloc.c
49libbsp_a_SOURCES += ../../shared/gpio.c
50libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
51libbsp_a_SOURCES += ../../shared/timerstub.c
52libbsp_a_SOURCES += ../../shared/cpucounterread.c
53libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
54libbsp_a_SOURCES += ../shared/arm-cp15-set-exception-handler.c
55libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
56
57# Startup
58libbsp_a_SOURCES += startup/bspreset.c
59libbsp_a_SOURCES += startup/bspstart.c
60libbsp_a_SOURCES += startup/bspstarthooks.c
61libbsp_a_SOURCES += startup/bspstartmmu.c
62
63# IRQ
64libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
65libbsp_a_SOURCES += ../../shared/src/irq-generic.c
66libbsp_a_SOURCES += ../../shared/src/irq-info.c
67libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
68libbsp_a_SOURCES += ../../shared/src/irq-server.c
69libbsp_a_SOURCES += ../../shared/src/irq-shell.c
70libbsp_a_SOURCES += irq.c
71
72# Console
73libbsp_a_SOURCES += ../../shared/console.c \
74        ../../shared/console_select.c \
75  console/console-config.c \
76        ../../shared/console_read.c \
77        ../../shared/console_write.c \
78        ../../shared/console_control.c
79
80# I2C
81libbsp_a_SOURCES += i2c/bbb-i2c.c
82
83# GPIO
84libbsp_a_SOURCES += gpio/bbb-gpio.c
85
86#pwm
87libbsp_a_SOURCES += pwm/pwm.c
88
89#RTC
90libbsp_a_SOURCES += rtc.c
91libbsp_a_SOURCES += ../../shared/tod.c
92# Clock
93libbsp_a_SOURCES += clock.c
94libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
95
96# Cache
97libbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
98
99###############################################################################
100#                  Special Rules                                              #
101###############################################################################
102
103DISTCLEANFILES = include/bspopts.h
104
105include $(top_srcdir)/../../../../automake/local.am
106include $(srcdir)/../../../../../../bsps/arm/beagle/headers.am
Note: See TracBrowser for help on using the repository browser.