source: rtems/c/src/lib/libbsp/arm/edb7312/Makefile.am @ 0729c2d9

4.104.115
Last change on this file since 0729c2d9 was 0729c2d9, checked in by Joel Sherrill <joel.sherrill@…>, on 09/12/08 at 20:25:34

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

  • Makefile.am: Split out bsp_get_work_area() into its own file and user BSP Framework to perform more initialization. Let edb7312 and csb336 shared the implementation.
  • startup/bspgetworkarea.c: Removed.
  • Property mode set to 100644
File size: 1.8 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
17noinst_PROGRAMS =
18
19include_HEADERS += include/ep7312.h
20nodist_include_HEADERS += ../../shared/include/coverhd.h
21
22EXTRA_DIST = start/start.S
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
25project_lib_DATA = start.$(OBJEXT)
26
27dist_project_lib_DATA += startup/linkcmds
28
29include_HEADERS += ../../arm/shared/comm/uart.h
30startup_SOURCES = ../../shared/bsppost.c ../../shared/bsplibc.c \
31    ../shared/bspgetworkarea.c ../../shared/bsppretaskinghook.c \
32    ../../shared/bsppredriverhook.c startup/bspstart.c \
33    startup/bspclean.c ../../shared/bootcard.c ../../shared/sbrk.c \
34    ../../shared/gnatinstallhandler.c
35
36clock_SOURCES = clock/clockdrv.c
37console_SOURCES = console/uart.c ../../shared/console.c
38timer_SOURCES = timer/timer.c
39abort_SOURCES = ../shared/abort/abort.c
40
41include_HEADERS += irq/irq.h
42irq_SOURCES = irq/irq.c irq/bsp_irq_init.c \
43    ../../arm/shared/irq/irq_init.c irq/bsp_irq_asm.S \
44    ../../arm/shared/irq/irq_asm.S irq/irq.h
45
46if HAS_NETWORKING
47network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
48noinst_PROGRAMS += network.rel
49network_rel_SOURCES = network/network.c
50network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
51network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
52endif
53
54noinst_LIBRARIES = libbsp.a
55libbsp_a_SOURCES = $(startup_SOURCES) $(clock_SOURCES) $(console_SOURCES) \
56    $(timer_SOURCES) $(abort_SOURCES) $(irq_SOURCES)
57
58# libcpu libraries could go here
59libbsp_a_LIBADD =
60if HAS_NETWORKING
61libbsp_a_LIBADD += network.rel
62endif
63
64include $(srcdir)/preinstall.am
65include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.