source: rtems/c/src/lib/libbsp/powerpc/gen83xx/Makefile.am @ ca4602e

5
Last change on this file since ca4602e was ca4602e, checked in by Sebastian Huber <sebastian.huber@…>, on 01/25/16 at 21:03:00

Use linker set for libio initialization

Update #2408.

  • Property mode set to 100644
File size: 3.6 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4
5include_bspdir = $(includedir)/bsp
6
7dist_project_lib_DATA = bsp_specs
8
9include_HEADERS = include/bsp.h
10include_HEADERS += include/tm27.h
11
12nodist_include_HEADERS = include/bspopts.h
13nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
14DISTCLEANFILES = include/bspopts.h
15
16include_bsp_HEADERS =
17include_bsp_HEADERS += ../../shared/include/irq-generic.h
18include_bsp_HEADERS += ../../shared/include/irq-info.h
19include_bsp_HEADERS += ../../shared/include/u-boot.h
20include_bsp_HEADERS += ../../shared/include/utility.h
21include_bsp_HEADERS += ../shared/include/linker-symbols.h
22include_bsp_HEADERS += ../shared/include/start.h
23include_bsp_HEADERS += ../shared/include/tictac.h
24include_bsp_HEADERS += ../shared/include/u-boot-board-info.h
25include_bsp_HEADERS += include/hwreg_vals.h
26include_bsp_HEADERS += include/irq.h
27include_bsp_HEADERS += include/tsec-config.h
28include_bsp_HEADERS += include/u-boot-config.h
29
30noinst_PROGRAMS =
31
32include_HEADERS += ../../shared/include/coverhd.h
33
34noinst_LIBRARIES = libbspstart.a
35libbspstart_a_SOURCES = start/start.S
36project_lib_DATA = start.$(OBJEXT)
37
38libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
39project_lib_DATA += rtems_crti.$(OBJEXT)
40
41dist_project_lib_DATA += startup/linkcmds \
42    ../shared/startup/linkcmds.base \
43    startup/linkcmds.mpc83xx \
44    startup/linkcmds.mpc8309som \
45    startup/linkcmds.mpc8313erdb \
46    startup/linkcmds.br_uid \
47    startup/linkcmds.mpc8349eamds \
48    startup/linkcmds.hsc_cm01
49
50noinst_LIBRARIES += libbsp.a
51libbsp_a_SOURCES =
52
53# startup
54libbsp_a_SOURCES += \
55        ../../shared/bootcard.c \
56        ../../shared/bsppredriverhook.c \
57        ../../shared/sbrk.c \
58        ../../shared/gnatinstallhandler.c \
59        ../shared/src/tictac.c \
60        startup/cpuinit.c \
61        ../shared/startup/bspidle.c \
62        startup/bspstart.c \
63        ../../shared/bspclean.c \
64        startup/bspreset.c \
65        startup/bsprestart.c \
66        ../../shared/bspgetworkarea.c \
67        ../../shared/src/bsp-uboot-board-info.c \
68        ../shared/uboot_getenv.c
69
70# clock
71libbsp_a_SOURCES += ../shared/clock/clock.c
72
73# irq
74libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
75libbsp_a_SOURCES += ../../shared/src/irq-generic.c
76libbsp_a_SOURCES += ../../shared/src/irq-info.c
77libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
78libbsp_a_SOURCES += ../../shared/src/irq-server.c
79libbsp_a_SOURCES += ../../shared/src/irq-shell.c
80libbsp_a_SOURCES += irq/irq.c
81
82# console
83libbsp_a_SOURCES += ../../shared/console-termios-init.c
84libbsp_a_SOURCES += ../../shared/console-termios.c
85libbsp_a_SOURCES += console/console-config.c
86
87# bsp_i2c
88libbsp_a_SOURCES += i2c/i2c_init.c
89# bsp_spi
90libbsp_a_SOURCES += spi/spi_init.c
91
92if HAS_NETWORKING
93noinst_PROGRAMS += network.rel
94network_rel_SOURCES   = network/network.c
95network_rel_CPPFLAGS  = $(AM_CPPFLAGS)
96network_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__  -D__BSD_VISIBLE
97network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
98endif
99
100libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
101        ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
102        ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
103        ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
104        ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel   \
105        ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
106        ../../../libcpu/@RTEMS_CPU@/mpc83xx/i2c.rel  \
107        ../../../libcpu/@RTEMS_CPU@/mpc83xx/spi.rel \
108        ../../../libcpu/@RTEMS_CPU@/mpc83xx/gtm.rel
109
110if HAS_NETWORKING
111libbsp_a_LIBADD += network.rel
112libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/mpc83xx/tsec.rel
113endif
114
115EXTRA_DIST = README.mpc8349eamds
116
117include $(srcdir)/preinstall.am
118include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.