source: rtems/c/src/lib/libbsp/arm/lpc32xx/Makefile.am @ 66b99a1

Last change on this file since 66b99a1 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: 4.1 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the LPC32XX boards.
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.lpc32xx
29dist_project_lib_DATA += startup/linkcmds.lpc32xx_phycore
30dist_project_lib_DATA += startup/linkcmds.lpc32xx_mzx_stage_1
31dist_project_lib_DATA += startup/linkcmds.lpc32xx_mzx_stage_2
32dist_project_lib_DATA += startup/linkcmds.lpc32xx_mzx
33
34###############################################################################
35#                  LibBSP                                                     #
36###############################################################################
37
38noinst_LIBRARIES = libbsp.a
39
40libbsp_a_SOURCES =
41
42# Shared
43libbsp_a_SOURCES += ../../shared/bootcard.c
44libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
45libbsp_a_SOURCES += ../../shared/bspclean.c
46libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
47libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
48libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
49libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
50libbsp_a_SOURCES += ../../shared/sbrk.c
51libbsp_a_SOURCES += ../../shared/src/stackalloc.c
52libbsp_a_SOURCES += ../../shared/src/uart-output-char.c
53libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
54libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
55
56# Startup
57libbsp_a_SOURCES += startup/bspreset.c
58libbsp_a_SOURCES += startup/bspstart.c
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 += irq/irq.c
68
69# Console
70libbsp_a_SOURCES += ../../shared/console-termios-init.c
71libbsp_a_SOURCES += ../../shared/console-termios.c
72libbsp_a_SOURCES += console/console-config.c
73libbsp_a_SOURCES += console/hsu.c
74
75# Clock
76libbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
77libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
78
79# RTC
80libbsp_a_SOURCES += ../../shared/tod.c \
81        rtc/rtc-config.c
82
83# Misc
84libbsp_a_SOURCES += misc/boot.c
85libbsp_a_SOURCES += misc/emc.c
86libbsp_a_SOURCES += misc/i2c.c
87libbsp_a_SOURCES += misc/nand-mlc.c
88libbsp_a_SOURCES += misc/nand-mlc-erase-block-safe.c
89libbsp_a_SOURCES += misc/nand-mlc-read-blocks.c
90libbsp_a_SOURCES += misc/nand-mlc-write-blocks.c
91libbsp_a_SOURCES += misc/restart.c
92libbsp_a_SOURCES += misc/system-clocks.c
93libbsp_a_SOURCES += misc/timer.c
94libbsp_a_SOURCES += misc/nand-select.c
95libbsp_a_SOURCES += misc/idle-thread.c
96
97# SSP
98
99# I2C
100
101# Cache
102libbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
103
104# Start hooks
105libbsp_a_SOURCES += startup/bspstarthooks.c
106
107###############################################################################
108#                  Network                                                    #
109###############################################################################
110
111if HAS_NETWORKING
112libbsp_a_SOURCES += ../shared/lpc/network/lpc-ethernet.c
113endif
114
115###############################################################################
116#                  Special Rules                                              #
117###############################################################################
118
119DISTCLEANFILES = include/bspopts.h
120
121include $(top_srcdir)/../../../../automake/local.am
122include $(srcdir)/../../../../../../bsps/arm/lpc32xx/headers.am
Note: See TracBrowser for help on using the repository browser.