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

4.11
Last change on this file since 0f31fddc was 0f31fddc, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 24, 2012 at 9:01:08 PM

bsps: Add shared default IRQ handler

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