source: rtems/c/src/lib/libbsp/arm/csb336/Makefile.am @ b7774253

4.104.11
Last change on this file since b7774253 was b7774253, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 12, 2008 at 8:25:31 PM

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

  • Makefile.am, configure.ac, startup/bspstart.c: 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.
  • Property mode set to 100644
File size: 1.7 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
19nodist_include_HEADERS += ../../shared/include/coverhd.h
20
21EXTRA_DIST = start/start.S
22start.$(OBJEXT): start/start.S
23        $(CPPASCOMPILE) -o $@ -c $<
24project_lib_DATA = start.$(OBJEXT)
25
26dist_project_lib_DATA += startup/linkcmds
27
28startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
29    ../shared/bspgetworkarea.c ../../shared/bsppretaskinghook.c \
30    ../../shared/bsppredriverhook.c startup/bspstart.c startup/bspclean.c \
31    startup/memmap.c ../../shared/bootcard.c ../../shared/sbrk.c \
32    ../../shared/gnatinstallhandler.c
33console_SOURCES = console/uart.c
34abort_SOURCES = ../shared/abort/abort.c
35
36if HAS_NETWORKING
37network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
38noinst_PROGRAMS += network.rel
39network_rel_SOURCES = network/network.c network/lan91c11x.c
40network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
41network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
42endif
43
44noinst_LIBRARIES = libbsp.a
45libbsp_a_SOURCES = $(startup_SOURCES) $(console_SOURCES) $(abort_SOURCES)
46
47libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \
48    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
49    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
50    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
51
52if HAS_NETWORKING
53libbsp_a_LIBADD += network.rel
54endif
55
56include $(srcdir)/preinstall.am
57include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.