source: rtems/c/src/lib/libbsp/arm/csb337/Makefile.am @ bb6ef078

4.104.11
Last change on this file since bb6ef078 was bb6ef078, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 21, 2009 at 4:06:21 PM

2009-11-21 Fernando Nicodemos <fgnicodemos@…>

  • Makefile.am, configure.ac, console/uarts.c: Add initial support for Kit637 version of CSB637.
  • README.kit637_v6, make/custom/kit637_v6.cfg: New files.
  • Property mode set to 100644
File size: 2.9 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 += ../../shared/include/tm27.h
15if ENABLE_LCD
16include_HEADERS += include/sed1356.h
17endif
18
19if ENABLE_UMON
20include_umondir = $(includedir)/umon
21include_umon_HEADERS  = ../../shared/umon/cli.h
22include_umon_HEADERS += ../../shared/umon/monlib.h
23include_umon_HEADERS += ../../shared/umon/tfs.h
24
25include_rtemsdir = $(includedir)/rtems
26include_rtems_HEADERS  = ../../shared/umon/umon.h
27endif
28
29nodist_include_HEADERS = include/bspopts.h
30nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
31DISTCLEANFILES = include/bspopts.h
32noinst_PROGRAMS =
33
34nodist_include_HEADERS += ../../shared/include/coverhd.h
35
36if ENABLE_LCD
37nodist_include_HEADERS += console/sed1356_16bit.h
38nodist_include_HEADERS += console/font8x16.h
39endif
40
41noinst_LIBRARIES = libbspstart.a
42
43libbspstart_a_SOURCES = start/start.S
44project_lib_DATA = start.$(OBJEXT)
45
46project_lib_DATA += startup/linkcmds
47EXTRA_DIST = startup/linkcmds.csb337
48EXTRA_DIST += startup/linkcmds.csb637
49EXTRA_DIST += README
50EXTRA_DIST += README.kit637_v6
51
52noinst_LIBRARIES += libbsp.a
53
54# startup
55libbsp_a_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
56    ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
57    ../../shared/bsppretaskinghook.c startup/bspstart.c \
58    ../../shared/bspclean.c startup/bspreset.c \
59    startup/memmap.c ../../shared/bootcard.c ../../shared/sbrk.c \
60    ../../shared/gnatinstallhandler.c startup/umonsupp.c
61# console
62libbsp_a_SOURCES += ../../shared/console.c console/uarts.c
63if ENABLE_LCD
64libbsp_a_SOURCES += console/sed1356.c console/fbcons.c
65endif
66# abort
67libbsp_a_SOURCES += ../shared/abort/abort.c
68# umon
69if ENABLE_UMON
70libbsp_a_SOURCES += ../../shared/umon/umonrtemsglue.c  \
71    ../../shared/umon/monlib.c ../../shared/umon/tfsDriver.c \
72    ../../shared/umon/umoncons.c startup/umonsupp.c
73endif
74if ENABLE_UMON_CONSOLE
75libbsp_a_SOURCES += ../../shared/umon/umoncons.c
76endif
77
78if HAS_NETWORKING
79network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
80noinst_PROGRAMS += network.rel
81network_rel_SOURCES = network/network.c
82network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
83network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
84endif
85
86libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/arm920.rel \
87    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
88    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/dbgu.rel \
89    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/usart.rel \
90    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
91    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/pmc.rel \
92    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/irq.rel
93if HAS_NETWORKING
94libbsp_a_LIBADD += network.rel
95endif
96
97include $(srcdir)/preinstall.am
98include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.