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

4.11
Last change on this file since 73f1b303 was 73f1b303, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 2, 2012 at 8:59:17 AM

bsp/gen83xx: Install new header file

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