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

4.115
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
17DISTCLEANFILES = include/bspopts.h
18
19EXTRA_DIST = README
20
21noinst_PROGRAMS =
22
23include_HEADERS += ../../shared/include/coverhd.h
24
25nodist_include_HEADERS += ../../shared/tod.h
26
27include_bsp_HEADERS = include/irq.h \
28        ../../shared/include/irq-generic.h \
29        ../../shared/include/irq-info.h \
30        ../../shared/include/bootcard.h \
31        ../../shared/include/u-boot.h \
32        ../../shared/include/utility.h \
33        ../shared/include/u-boot-board-info.h \
34        ../shared/include/start.h \
35        ../shared/include/tictac.h \
36        ../shared/include/linker-symbols.h \
37        include/hwreg_vals.h \
38        include/tsec-config.h \
39        include/u-boot-config.h \
40        include/mmu.h \
41        include/intercom.h \
42        include/uart-bridge.h \
43        include/qoriq.h
44
45noinst_LIBRARIES = libbspstart.a
46libbspstart_a_SOURCES = start/start.S
47project_lib_DATA = start.$(OBJEXT)
48
49libbspstart_a_SOURCES += ../../powerpc/shared/start/rtems_crti.S
50project_lib_DATA += rtems_crti.$(OBJEXT)
51
52dist_project_lib_DATA += startup/linkcmds \
53        ../shared/startup/linkcmds.base \
54        startup/linkcmds.qoriq_core_0 \
55        startup/linkcmds.qoriq_core_1 \
56        startup/linkcmds.qoriq_p1020rdb
57
58noinst_LIBRARIES += libbsp.a
59libbsp_a_SOURCES =
60
61# Startup
62libbsp_a_SOURCES += ../../shared/bsplibc.c \
63        ../../shared/bsppost.c \
64        ../../shared/bootcard.c \
65        ../../shared/bsppretaskinghook.c \
66        ../../shared/sbrk.c \
67        ../../shared/gnatinstallhandler.c \
68        ../../shared/bspclean.c \
69        ../../shared/bspgetworkarea.c \
70        ../../shared/src/bsp-uboot-board-info.c \
71        ../shared/src/tictac.c \
72        ../shared/src/bsp-start-zero.S \
73        ../shared/startup/bspidle.c \
74        ../shared/uboot_getenv.c \
75        ../shared/uboot_dump_bdinfo.c \
76        startup/mmu.c \
77        startup/mmu-tlb1.S \
78        startup/mmu-config.c \
79        startup/bsppredriverhook.c \
80        startup/bspstart.c \
81        startup/bspreset.c
82
83# Clock
84libbsp_a_SOURCES += clock/clock-config.c \
85        ../../shared/clockdrv_shell.h
86
87# Timer
88libbsp_a_SOURCES += timer/timer.c
89
90# IRQ
91libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
92libbsp_a_SOURCES += ../../shared/src/irq-generic.c
93libbsp_a_SOURCES += ../../shared/src/irq-info.c
94libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
95libbsp_a_SOURCES += ../../shared/src/irq-server.c
96libbsp_a_SOURCES += ../../shared/src/irq-shell.c
97libbsp_a_SOURCES += irq/irq.c
98
99# Console
100libbsp_a_SOURCES += ../../shared/console.c \
101        ../../shared/console_select.c \
102        console/uart-bridge-master.c \
103        console/uart-bridge-slave.c \
104        console/console-config.c \
105        ../../shared/console_read.c \
106        ../../shared/console_write.c \
107        ../../shared/console_control.c
108
109
110# RTC
111libbsp_a_SOURCES += ../../shared/tod.c \
112        rtc/rtc-config.c
113
114# MPCI
115libbsp_a_SOURCES += shmsupp/lock.S \
116        shmsupp/intercom.c \
117        shmsupp/intercom-mpci.c
118
119libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
120        ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
121        ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
122        ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
123        ../../../libcpu/@RTEMS_CPU@/e500/mmu.rel
124
125if HAS_NETWORKING
126libbsp_a_SOURCES += network/network.c \
127        network/if_intercom.c
128libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/tsec.rel
129endif
130
131include $(srcdir)/preinstall.am
132include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.