source: rtems/c/src/lib/libbsp/arm/rtl22xx/Makefile.am @ 127e726a

4.104.11
Last change on this file since 127e726a was 127e726a, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 19, 2008 at 9:14:03 PM

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

  • Makefile.am, startup/linkcmds: Use top level shared bsp_get_work_area() 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
17
18noinst_PROGRAMS =
19
20nodist_include_HEADERS += ../../shared/include/coverhd.h
21
22EXTRA_DIST = start/start.S
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -DASM -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/bsplibc.c ../../shared/bsppost.c \
31    ../../shared/bsppredriverhook.c ../../shared/bsppretaskinghook.c \
32    ../../shared/bspgetworkarea.c startup/bspstart.c startup/bspclean.c \
33    ../../shared/bootcard.c ../../shared/sbrk.c \
34    ../../shared/gnatinstallhandler.c
35console_SOURCES = ../../shared/console.c
36simple_abort_SOURCES = ../shared/abort/simple_abort.c
37debugio_SOURCES = console/uart.c
38
39if HAS_NETWORKING
40network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
41noinst_PROGRAMS += network.rel
42network_rel_SOURCES = network/network.c
43network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
44network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
45endif
46
47noinst_LIBRARIES = libbsp.a
48libbsp_a_SOURCES = $(startup_SOURCES) $(console_SOURCES) \
49  $(simple_abort_SOURCES) $(debugio_SOURCES)
50
51libbsp_a_LIBADD =  \
52    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
53    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
54    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
55if HAS_NETWORKING
56libbsp_a_LIBADD += network.rel
57endif
58
59include $(srcdir)/preinstall.am
60include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.