source: rtems/c/src/lib/libbsp/powerpc/virtex/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.9 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/xparameters_dflt.h
13if HAS_NETWORKING
14include_HEADERS += network/xiltemac.h
15endif
16
17nodist_include_HEADERS = include/bspopts.h
18nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
19
20include_bsp_HEADERS =
21
22DISTCLEANFILES = include/bspopts.h
23
24noinst_PROGRAMS =
25
26
27include_bsp_HEADERS += ../shared/include/linker-symbols.h
28
29noinst_LIBRARIES = libbspstart.a
30libbspstart_a_SOURCES = start/start.S
31project_lib_DATA = start.$(OBJEXT)
32
33libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
34project_lib_DATA += rtems_crti.$(OBJEXT)
35
36# Link commands
37project_lib_DATA += startup/linkcmds
38dist_project_lib_DATA += ../shared/startup/linkcmds.base
39
40noinst_LIBRARIES += libbsp.a
41libbsp_a_SOURCES =
42libbsp_a_LIBADD =
43
44# startup
45libbsp_a_SOURCES += ../../shared/bspclean.c ../../shared/bspgetworkarea.c \
46    ../../shared/bspreset_loop.c \
47    startup/bspstart.c ../../shared/bootcard.c \
48    ../../shared/getentropy-cpucounter.c \
49    ../../shared/bsppredriverhook.c \
50    ../../shared/sbrk.c ../../shared/gnatinstallhandler.c
51libbsp_a_SOURCES += ../shared/src/bsp-start-zero.S
52
53# bspconsole
54libbsp_a_SOURCES += console/consolelite.c ../../shared/console.c \
55    ../../shared/console_select.c ../../shared/console_control.c \
56    ../../shared/console_read.c ../../shared/console_write.c
57
58# irq
59include_bsp_HEADERS += ../../shared/include/irq-generic.h
60include_bsp_HEADERS += ../../shared/include/irq-info.h
61include_bsp_HEADERS += include/opbintctrl.h
62include_bsp_HEADERS += irq/irq.h
63libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
64libbsp_a_SOURCES += ../../shared/src/irq-generic.c
65libbsp_a_SOURCES += ../../shared/src/irq-info.c
66libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
67libbsp_a_SOURCES += ../../shared/src/irq-server.c
68libbsp_a_SOURCES += ../../shared/src/irq-shell.c
69libbsp_a_SOURCES += irq/irq_init.c
70
71# clock
72libbsp_a_SOURCES += ../shared/clock/clock.c
73
74if HAS_NETWORKING
75network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
76network_CPPFLAGS += -D__BSD_VISIBLE
77noinst_PROGRAMS += network.rel
78network_rel_SOURCES = network/xiltemac.c
79network_rel_CPPFLAGS = $(AM_CPPFLAGS)
80network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
81endif
82
83# timer
84libbsp_a_SOURCES += timer/timer-config.c
85libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel
86
87libbsp_a_LIBADD += \
88    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
89    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
90    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
91    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel
92
93if HAS_NETWORKING
94libbsp_a_LIBADD += network.rel
95endif
96
97include $(srcdir)/preinstall.am
98include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.