source: rtems/c/src/lib/libbsp/powerpc/tqm8xx/Makefile.am @ ec32100

Last change on this file since ec32100 was ec32100, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 6:37:44 AM

bsps: Use CPPASCOMPILE for startfile

Update #3254.

  • Property mode set to 100644
File size: 2.9 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2EXTRA_DIST =
3
4include $(top_srcdir)/../../../../automake/compile.am
5include $(top_srcdir)/../../bsp.am
6
7include_bspdir = $(includedir)/bsp
8
9dist_project_lib_DATA = bsp_specs
10
11include_HEADERS = include/bsp.h
12include_HEADERS += include/tm27.h
13
14nodist_include_HEADERS = include/bspopts.h
15nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
16DISTCLEANFILES = include/bspopts.h
17
18noinst_PROGRAMS =
19
20include_bsp_HEADERS = include/tqm.h include/8xx_immap.h \
21    include/irq.h \
22    ../../shared/include/irq-generic.h \
23    ../../shared/include/irq-info.h \
24    spi/spi.h
25
26EXTRA_DIST += start/start.S
27start.$(OBJEXT): start/start.S
28        $(CPPASCOMPILE) -o $@ -c $<
29project_lib_DATA = start.$(OBJEXT)
30
31EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
32rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
33        $(CPPASCOMPILE) -o $@ -c $<
34project_lib_DATA += rtems_crti.$(OBJEXT)
35
36project_lib_DATA += startup/linkcmds
37dist_project_lib_DATA += startup/linkcmds.base
38EXTRA_DIST += startup/linkcmds.tqm8xx
39
40noinst_LIBRARIES = libbsp.a
41libbsp_a_SOURCES =
42
43# irq
44libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
45libbsp_a_SOURCES += ../../shared/src/irq-generic.c
46libbsp_a_SOURCES += ../../shared/src/irq-info.c
47libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
48libbsp_a_SOURCES += ../../shared/src/irq-server.c
49libbsp_a_SOURCES += ../../shared/src/irq-shell.c
50libbsp_a_SOURCES += irq/irq.c
51
52# clock
53libbsp_a_SOURCES += ../shared/clock/clock.c
54libbsp_a_SOURCES += clock/p_clock.c
55
56# console
57libbsp_a_SOURCES += console/console.c
58# spi
59libbsp_a_SOURCES += spi/spi.c
60# timer
61libbsp_a_SOURCES += timer/timer.c
62# startup
63libbsp_a_SOURCES += ../../shared/bspclean.c \
64    ../../shared/bsppredriverhook.c \
65    ../shared/startup/bspidle.c \
66    startup/bspstart.c startup/bspgetworkarea.c ../../shared/bootcard.c \
67    ../../shared/getentropy-cpucounter.c \
68    startup/mmutlbtab.c startup/cpuinit.c ../../shared/sbrk.c \
69    ../../shared/gnatinstallhandler.c
70libbsp_a_SOURCES += ../../shared/bspreset.c
71
72if HAS_NETWORKING
73network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
74noinst_PROGRAMS += network.rel
75network_rel_SOURCES = network/network_scc.c network/network_fec.c
76network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
77network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
78endif
79
80libbsp_a_LIBADD = \
81    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
82    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
83    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
84    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
85    ../../../libcpu/@RTEMS_CPU@/mpc8xx/console-generic.rel \
86    ../../../libcpu/@RTEMS_CPU@/mpc8xx/cpm.rel \
87    ../../../libcpu/@RTEMS_CPU@/mpc8xx/clock.rel \
88    ../../../libcpu/@RTEMS_CPU@/mpc8xx/mmu.rel \
89    ../../../libcpu/@RTEMS_CPU@/mpc8xx/timer.rel
90
91if HAS_NETWORKING
92libbsp_a_LIBADD += network.rel
93endif
94
95include $(srcdir)/preinstall.am
96include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.