source: rtems/c/src/lib/libbsp/arm/rtl22xx/Makefile.am @ 7829710

Last change on this file since 7829710 was 7829710, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 8, 2017 at 6:52:41 AM

bsp/rtl22xx: Move libcpu files to BSP

Update #3254.

  • Property mode set to 100644
File size: 2.4 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4
5include_bspdir = $(includedir)/bsp
6
7dist_project_lib_DATA = bsp_specs
8
9include_HEADERS = include/bsp.h
10include_HEADERS += include/tm27.h
11include_HEADERS += include/lpc22xx.h
12
13include_bsp_HEADERS =
14
15nodist_include_HEADERS = include/bspopts.h
16nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
17DISTCLEANFILES = include/bspopts.h
18
19noinst_PROGRAMS =
20
21
22noinst_LIBRARIES = libbspstart.a
23libbspstart_a_SOURCES = start/start.S
24project_lib_DATA = start.$(OBJEXT)
25
26dist_project_lib_DATA += startup/linkcmds
27
28noinst_LIBRARIES += libbsp.a
29libbsp_a_SOURCES =
30
31include_HEADERS += ../../arm/shared/comm/uart.h
32# startup
33libbsp_a_SOURCES += \
34    ../../shared/bsppredriverhook.c \
35    ../../shared/bspgetworkarea.c startup/bspstart.c \
36    ../../shared/bspclean.c startup/bspreset.c \
37    ../../shared/bootcard.c ../../shared/sbrk.c \
38    ../../shared/getentropy-cpucounter.c \
39    ../../shared/gnatinstallhandler.c
40libbsp_a_SOURCES += ../../shared/cpucounterread.c
41libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
42libbsp_a_SOURCES += timer/timer.c
43libbsp_a_SOURCES += clock/clockdrv.c
44# console
45libbsp_a_SOURCES += ../../shared/console.c \
46    ../../shared/console_select.c ../../shared/console_control.c \
47    ../../shared/console_read.c ../../shared/console_write.c
48# IRQ
49include_bsp_HEADERS += ../../shared/include/irq-generic.h \
50        ../../shared/include/irq-info.h
51include_bsp_HEADERS += include/bsp/irq.h
52libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
53libbsp_a_SOURCES += ../../shared/src/irq-generic.c
54libbsp_a_SOURCES += ../../shared/src/irq-info.c
55libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
56libbsp_a_SOURCES += ../../shared/src/irq-server.c
57libbsp_a_SOURCES += ../../shared/src/irq-shell.c
58libbsp_a_SOURCES += irq/irq.c
59# debugio
60libbsp_a_SOURCES += console/uart.c
61
62# Cache
63libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
64libbsp_a_SOURCES += ../../shared/include/cache_.h
65libbsp_a_CPPFLAGS = -I$(srcdir)/../../shared/include
66
67if HAS_NETWORKING
68network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
69noinst_PROGRAMS += network.rel
70network_rel_SOURCES = network/network.c
71network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
72network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
73endif
74
75libbsp_a_LIBADD =
76if HAS_NETWORKING
77libbsp_a_LIBADD += network.rel
78endif
79
80include $(srcdir)/preinstall.am
81include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.