source: rtems/c/src/lib/libbsp/arm/lpc32xx/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.1 KB
RevLine 
[c468f18b]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
[f3ce8f41]11include $(top_srcdir)/../../bsp.am
[c468f18b]12
[2afb22b]13dist_project_lib_DATA = startup/bsp_specs
[c468f18b]14
15###############################################################################
16#                  Header                                                     #
17###############################################################################
18
19###############################################################################
20#                  Data                                                       #
21###############################################################################
22
[ec32100]23start.$(OBJEXT): ../shared/start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
[c468f18b]25project_lib_DATA = start.$(OBJEXT)
26
[2afb22b]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
[c468f18b]33
34###############################################################################
35#                  LibBSP                                                     #
36###############################################################################
37
[ec32100]38noinst_LIBRARIES = libbsp.a
[c468f18b]39
40libbsp_a_SOURCES =
41
42# Shared
[f41fb2b]43libbsp_a_SOURCES += ../../shared/bootcard.c
[ca4895c]44libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
[f41fb2b]45libbsp_a_SOURCES += ../../shared/bspclean.c
46libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
47libbsp_a_SOURCES += ../../shared/bsppredriverhook.c
[24bf11e]48libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
[f41fb2b]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
[be8feba8]53libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
[037e8ae5]54libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
[c468f18b]55
56# Startup
[f41fb2b]57libbsp_a_SOURCES += startup/bspreset.c
58libbsp_a_SOURCES += startup/bspstart.c
[c468f18b]59
60# IRQ
[0f31fddc]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
[c468f18b]68
69# Console
[6ec438e]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
[c468f18b]74
75# Clock
[1f7d0cca]76libbsp_a_SOURCES += ../shared/lpc/clock/lpc-clock-config.c
77libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
[c468f18b]78
79# RTC
80libbsp_a_SOURCES += ../../shared/tod.c \
81        rtc/rtc-config.c
82
[3103d4c]83# Misc
[f41fb2b]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
[6cfe52f]94libbsp_a_SOURCES += misc/nand-select.c
[f25d31f]95libbsp_a_SOURCES += misc/idle-thread.c
[c468f18b]96
97# SSP
98
99# I2C
100
[39c8fdb]101# Cache
[4cf93658]102libbsp_a_SOURCES += ../../../../../../bsps/arm/shared/cache/cache-cp15.c
[39c8fdb]103
[22f107b6]104# Start hooks
[c468f18b]105libbsp_a_SOURCES += startup/bspstarthooks.c
106
107###############################################################################
108#                  Network                                                    #
109###############################################################################
110
111if HAS_NETWORKING
[d8d6a08]112libbsp_a_SOURCES += ../shared/lpc/network/lpc-ethernet.c
[c468f18b]113endif
114
115###############################################################################
116#                  Special Rules                                              #
117###############################################################################
118
119DISTCLEANFILES = include/bspopts.h
120
121include $(top_srcdir)/../../../../automake/local.am
[2afb22b]122include $(srcdir)/../../../../../../bsps/arm/lpc32xx/headers.am
Note: See TracBrowser for help on using the repository browser.