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

Last change on this file since f3ce8f41 was f3ce8f41, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:00:02 AM

bsps: Include bsp.am in all BSP Makefile.am

Update #3254.

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