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