source: rtems/c/src/lib/libbsp/powerpc/mpc8260ads/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.5 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
12
13nodist_include_HEADERS = include/bspopts.h
14nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
15DISTCLEANFILES = include/bspopts.h
16
17noinst_PROGRAMS =
18
19
20dist_project_lib_DATA += startup/linkcmds
21
22noinst_LIBRARIES = libbspstart.a
23libbspstart_a_SOURCES = start/start.S
24project_lib_DATA = start.$(OBJEXT)
25
26libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
27project_lib_DATA += rtems_crti.$(OBJEXT)
28
29noinst_LIBRARIES += libbsp.a
30libbsp_a_SOURCES =
31
32# clock
33libbsp_a_SOURCES += ../shared/clock/clock.c
34
35# console
36libbsp_a_SOURCES += console/console.c
37
38include_bsp_HEADERS = irq/irq.h \
39        ../../shared/include/irq-generic.h \
40        ../../shared/include/irq-info.h
41
42# irq
43libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
44libbsp_a_SOURCES += ../../shared/src/irq-generic.c
45libbsp_a_SOURCES += ../../shared/src/irq-info.c
46libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
47libbsp_a_SOURCES += ../../shared/src/irq-server.c
48libbsp_a_SOURCES += ../../shared/src/irq-shell.c
49libbsp_a_SOURCES += irq/irq.c
50
51# startup
52libbsp_a_SOURCES += ../../shared/bspclean.c \
53    ../../shared/bsppredriverhook.c \
54    ../shared/startup/bspidle.c startup/bspstart.c ../../shared/bootcard.c \
55    ../../shared/getentropy-cpucounter.c \
56    ../../shared/sbrk.c ../../shared/gnatinstallhandler.c startup/cpuinit.c \
57    ../../shared/bspgetworkarea.c
58libbsp_a_SOURCES += ../../shared/bspreset.c
59
60if HAS_NETWORKING
61network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
62network_CPPFLAGS += -D__BSD_VISIBLE
63noinst_PROGRAMS += network.rel
64network_rel_SOURCES = network/network.c network/if_hdlcsubr.c
65network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
66network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
67endif
68
69libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
70    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
71    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
72    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
73    ../../../libcpu/@RTEMS_CPU@/mpc8260/console-generic.rel \
74    ../../../libcpu/@RTEMS_CPU@/mpc8260/cpm.rel \
75    ../../../libcpu/@RTEMS_CPU@/mpc8260/mmu.rel \
76    ../../../libcpu/@RTEMS_CPU@/mpc8260/timer.rel
77if HAS_NETWORKING
78libbsp_a_LIBADD += network.rel
79endif
80
81EXTRA_DIST = times
82
83include $(srcdir)/preinstall.am
84include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.