source: rtems/c/src/lib/libbsp/arm/csb336/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/mc9328mxl.h
13
14include_bsp_HEADERS =
15libbsp_a_CPPFLAGS =
16
17nodist_include_HEADERS = include/bspopts.h
18nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
19DISTCLEANFILES = include/bspopts.h
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
32# startup
33libbsp_a_SOURCES += \
34    ../../shared/bspgetworkarea.c \
35    ../../shared/bsppredriverhook.c startup/bspstart.c ../../shared/bspclean.c \
36    ../../shared/bspreset.c startup/memmap.c ../../shared/bootcard.c \
37    ../../shared/getentropy-cpucounter.c \
38    ../../shared/sbrk.c ../../shared/gnatinstallhandler.c
39libbsp_a_SOURCES += ../../shared/cpucounterread.c
40libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
41libbsp_a_SOURCES += clock/clockdrv.c
42libbsp_a_SOURCES += timer/timer.c
43# console
44libbsp_a_SOURCES += console/uart.c
45# IRQ
46include_bsp_HEADERS += ../../shared/include/irq-generic.h \
47        ../../shared/include/irq-info.h
48include_bsp_HEADERS += include/bsp/irq.h
49libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
50libbsp_a_SOURCES += ../../shared/src/irq-generic.c
51libbsp_a_SOURCES += ../../shared/src/irq-info.c
52libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
53libbsp_a_SOURCES += ../../shared/src/irq-server.c
54libbsp_a_SOURCES += ../../shared/src/irq-shell.c
55libbsp_a_SOURCES += irq/irq.c
56
57# Cache
58libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
59libbsp_a_SOURCES += ../shared/include/arm-cache-l1.h
60libbsp_a_SOURCES += ../shared/armv467ar-basic-cache/cache_.h
61libbsp_a_CPPFLAGS += -I$(srcdir)/../shared/armv467ar-basic-cache
62
63if HAS_NETWORKING
64network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
65noinst_PROGRAMS += network.rel
66network_rel_SOURCES = network/network.c network/lan91c11x.c
67network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
68network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
69endif
70
71libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel
72
73if HAS_NETWORKING
74libbsp_a_LIBADD += network.rel
75endif
76
77include $(srcdir)/preinstall.am
78include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.