source: rtems/c/src/lib/libbsp/powerpc/gen83xx/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: 3.6 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
17include_bsp_HEADERS =
18include_bsp_HEADERS += ../../shared/include/irq-generic.h
19include_bsp_HEADERS += ../../shared/include/irq-info.h
20include_bsp_HEADERS += ../../shared/include/u-boot.h
21include_bsp_HEADERS += ../../shared/include/utility.h
22include_bsp_HEADERS += ../shared/include/linker-symbols.h
23include_bsp_HEADERS += ../shared/include/start.h
24include_bsp_HEADERS += ../shared/include/tictac.h
25include_bsp_HEADERS += ../shared/include/u-boot-board-info.h
26include_bsp_HEADERS += include/hwreg_vals.h
27include_bsp_HEADERS += include/irq.h
28include_bsp_HEADERS += include/tsec-config.h
29include_bsp_HEADERS += include/u-boot-config.h
30
31noinst_PROGRAMS =
32
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/getentropy-cpucounter.c \
57        ../../shared/bsppredriverhook.c \
58        ../../shared/sbrk.c \
59        ../../shared/gnatinstallhandler.c \
60        ../shared/src/tictac.c \
61        startup/cpuinit.c \
62        ../shared/startup/bspidle.c \
63        startup/bspstart.c \
64        ../../shared/bspclean.c \
65        startup/bspreset.c \
66        startup/bsprestart.c \
67        ../../shared/bspgetworkarea.c \
68        ../../shared/src/bsp-uboot-board-info.c \
69        ../shared/uboot_getenv.c
70
71# clock
72libbsp_a_SOURCES += ../shared/clock/clock.c
73
74# irq
75libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
76libbsp_a_SOURCES += ../../shared/src/irq-generic.c
77libbsp_a_SOURCES += ../../shared/src/irq-info.c
78libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
79libbsp_a_SOURCES += ../../shared/src/irq-server.c
80libbsp_a_SOURCES += ../../shared/src/irq-shell.c
81libbsp_a_SOURCES += irq/irq.c
82
83# console
84libbsp_a_SOURCES += ../../shared/console-termios-init.c
85libbsp_a_SOURCES += ../../shared/console-termios.c
86libbsp_a_SOURCES += console/console-config.c
87
88# bsp_i2c
89libbsp_a_SOURCES += i2c/i2c_init.c
90# bsp_spi
91libbsp_a_SOURCES += spi/spi_init.c
92
93if HAS_NETWORKING
94noinst_PROGRAMS += network.rel
95network_rel_SOURCES   = network/network.c
96network_rel_CPPFLAGS  = $(AM_CPPFLAGS)
97network_rel_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__  -D__BSD_VISIBLE
98network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
99endif
100
101libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
102        ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
103        ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
104        ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
105        ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel   \
106        ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
107        ../../../libcpu/@RTEMS_CPU@/mpc83xx/i2c.rel  \
108        ../../../libcpu/@RTEMS_CPU@/mpc83xx/spi.rel \
109        ../../../libcpu/@RTEMS_CPU@/mpc83xx/gtm.rel
110
111if HAS_NETWORKING
112libbsp_a_LIBADD += network.rel
113libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/mpc83xx/tsec.rel
114endif
115
116EXTRA_DIST = README.mpc8349eamds
117
118include $(srcdir)/preinstall.am
119include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.