source: rtems/c/src/lib/libbsp/arm/lpc24xx/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: 4.9 KB
Line 
1##
2#
3# @file
4#
5# @brief Makefile of LibBSP for the LPC24XX 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.lpc17xx_ea_ram
29dist_project_lib_DATA += startup/linkcmds.lpc17xx_ea_rom_int
30dist_project_lib_DATA += startup/linkcmds.lpc17xx_plx800_ram
31dist_project_lib_DATA += startup/linkcmds.lpc17xx_plx800_rom_int
32dist_project_lib_DATA += startup/linkcmds.lpc2362
33dist_project_lib_DATA += startup/linkcmds.lpc23xx_tli800
34dist_project_lib_DATA += startup/linkcmds.lpc24xx_ea
35dist_project_lib_DATA += startup/linkcmds.lpc24xx_ncs_ram
36dist_project_lib_DATA += startup/linkcmds.lpc24xx_ncs_rom_ext
37dist_project_lib_DATA += startup/linkcmds.lpc24xx_ncs_rom_int
38dist_project_lib_DATA += startup/linkcmds.lpc24xx_plx800_ram
39dist_project_lib_DATA += startup/linkcmds.lpc24xx_plx800_rom_int
40dist_project_lib_DATA += startup/linkcmds.lpc40xx_ea_ram
41dist_project_lib_DATA += startup/linkcmds.lpc40xx_ea_rom_int
42
43###############################################################################
44#                  LibBSP                                                     #
45###############################################################################
46
47noinst_LIBRARIES = libbsp.a
48
49libbsp_a_SOURCES =
50
51# Shared
52libbsp_a_SOURCES += ../../shared/bootcard.c \
53        ../../shared/getentropy-cpucounter.c \
54        ../../shared/bspclean.c \
55        ../../shared/bspgetworkarea.c \
56        ../../shared/bsppredriverhook.c \
57        ../../shared/gnatinstallhandler.c \
58        ../../shared/sbrk.c \
59        ../../shared/src/stackalloc.c \
60        ../../shared/src/uart-output-char.c
61libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
62
63# Startup
64libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
65libbsp_a_SOURCES += ../shared/armv7m/startup/bspreset.c
66libbsp_a_SOURCES += startup/bspreset-armv4.c
67libbsp_a_SOURCES += startup/bspstart.c
68
69# IRQ
70libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
71libbsp_a_SOURCES += ../../shared/src/irq-generic.c
72libbsp_a_SOURCES += ../../shared/src/irq-info.c
73libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
74libbsp_a_SOURCES += ../../shared/src/irq-server.c
75libbsp_a_SOURCES += ../../shared/src/irq-shell.c
76libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq.c
77libbsp_a_SOURCES += ../shared/armv7m/irq/armv7m-irq-dispatch.c
78libbsp_a_SOURCES += irq/irq.c
79libbsp_a_SOURCES += irq/irq-dispatch.c
80
81# Console
82libbsp_a_SOURCES += ../../shared/console-termios-init.c
83libbsp_a_SOURCES += ../../shared/console-termios.c
84libbsp_a_SOURCES += console/console-config.c
85libbsp_a_SOURCES += console/uart-probe-1.c
86libbsp_a_SOURCES += console/uart-probe-2.c
87libbsp_a_SOURCES += console/uart-probe-3.c
88
89# Clock
90libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
91libbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
92libbsp_a_SOURCES += ../shared/armv7m/clock/armv7m-clock-config.c
93
94# RTC
95libbsp_a_SOURCES += ../../shared/tod.c \
96        rtc/rtc-config.c
97
98# Misc
99libbsp_a_SOURCES += misc/system-clocks.c \
100        misc/dma.c \
101        misc/dma-copy.c \
102        misc/bspidle.c \
103        misc/io.c \
104        misc/lcd.c \
105        misc/restart.c \
106        misc/timer.c
107
108# SSP
109libbsp_a_SOURCES += ssp/ssp.c
110
111# I2C
112libbsp_a_SOURCES += i2c/i2c.c \
113        i2c/i2c-config.c
114
115# Framebuffer
116libbsp_a_SOURCES += ../shared/arm-pl111-fb.c
117libbsp_a_SOURCES += startup/fb-config.c
118
119# Cache
120libbsp_a_SOURCES += ../../../../../../bsps/shared/cache/nocache.c
121
122# Start hooks
123libbsp_a_SOURCES += startup/bspstarthooks.c
124libbsp_a_SOURCES += startup/start-config-emc-dynamic.c
125libbsp_a_SOURCES += startup/start-config-emc-static.c
126libbsp_a_SOURCES += startup/start-config-mpu.c
127libbsp_a_SOURCES += startup/start-config-pinsel.c
128
129###############################################################################
130#                  Network                                                    #
131###############################################################################
132
133if HAS_NETWORKING
134libbsp_a_SOURCES += ../shared/lpc/network/lpc-ethernet.c
135endif
136
137###############################################################################
138#                  Special Rules                                              #
139###############################################################################
140
141DISTCLEANFILES = include/bspopts.h
142
143include $(top_srcdir)/../../../../automake/local.am
144include $(srcdir)/../../../../../../bsps/arm/lpc24xx/headers.am
Note: See TracBrowser for help on using the repository browser.