source: rtems/c/src/lib/libbsp/powerpc/haleakala/Makefile.am @ 1762375

4.104.115
Last change on this file since 1762375 was 1762375, checked in by Joel Sherrill <joel.sherrill@…>, on 09/22/08 at 21:50:40

2008-09-22 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac: Use standardized bsp_cleanup() which can optionally print a message, poll for user to press key, and call bsp_reset(). Using this eliminates the various bsp_cleanup() implementations which had their own implementation and variety of string constants.
  • startup/bspclean.c: Removed.
  • Property mode set to 100644
File size: 2.5 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
10dist_project_lib_DATA = bsp_specs
11
12include_HEADERS = include/bsp.h
13include_HEADERS += include/tm27.h
14
15nodist_include_HEADERS = include/bspopts.h
16DISTCLEANFILES = include/bspopts.h
17
18noinst_PROGRAMS =
19
20include_bspdir = $(includedir)/bsp
21
22include_HEADERS += include/coverhd.h
23
24EXTRA_DIST = ../../powerpc/shared/start/rtems_crti.S
25rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
26        $(CPPASCOMPILE) -o $@ -c $<
27project_lib_DATA = rtems_crti.$(OBJEXT)
28
29dist_project_lib_DATA += startup/linkcmds
30
31startup_SOURCES = ../../shared/bspclean.c ../../shared/bsplibc.c \
32    ../../shared/bspreset_fatal.c ../../shared/bsppost.c \
33    startup/bspstart.c ../../shared/bootcard.c \
34    ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
35    ../../shared/bsppretaskinghook.c ../../shared/sbrk.c \
36    ../../shared/gnatinstallhandler.c
37
38dlentry_SOURCES = dlentry/dlentry.S
39
40include_bsp_HEADERS = ../../powerpc/shared/console/uart.h \
41    ../../powerpc/shared/console/consoleIo.h
42console_SOURCES = ../../powerpc/shared/console/uart.c \
43    ../../powerpc/shared/console/console.c
44
45include_bsp_HEADERS += irq/irq.h \
46    ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \
47    ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h \
48    ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h
49
50irq_SOURCES = irq/irq_init.c irq/irq.c
51
52## if HAS_NETWORKING
53## network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
54## noinst_PROGRAMS += network.rel
55## network_rel_SOURCES = network/network.c
56## network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
57## network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
58## endif
59
60noinst_LIBRARIES = libbsp.a
61libbsp_a_SOURCES = $(startup_SOURCES) $(dlentry_SOURCES) $(console_SOURCES) \
62    $(irq_SOURCES)
63
64libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
65    ../../../libcpu/@RTEMS_CPU@/@exceptions@/raw_exception.rel \
66    ../../../libcpu/@RTEMS_CPU@/@exceptions@/exc_bspsupport.rel \
67    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
68    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
69    ../../../libcpu/@RTEMS_CPU@/ppc403/clock.rel \
70    ../../../libcpu/@RTEMS_CPU@/ppc403/timer.rel
71
72## if HAS_NETWORKING
73## libbsp_a_LIBADD += network.rel
74## endif
75
76EXTRA_DIST += times
77
78include $(srcdir)/preinstall.am
79include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.