source: rtems/c/src/lib/libbsp/sh/gensh2/Makefile.am @ 11a6c97

4.104.115
Last change on this file since 11a6c97 was 11a6c97, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 15, 2008 at 7:18:29 PM

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

  • Makefile.am, configure.ac, include/bsp.h, startup/linkcmds: Use shared bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization. After factoring this out, it turned out that all SuperH BSPs has the same bsp_start() implementation so this was made shared.
  • startup/bspstart.c: Removed.
  • 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
20include_HEADERS += include/coverhd.h
21
22EXTRA_DIST = start/start.S start/start.ram start/start.rom
23start.$(OBJEXT): start/start.S
24        $(CPPASCOMPILE) -o $@ -c $<
25project_lib_DATA = start.$(OBJEXT)
26
27dist_project_lib_DATA += startup/linkcmds startup/linkcmds.ram \
28    startup/linkcmds.rom
29
30SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
31
32scitab.c: $(SHGEN)
33        $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
34BUILT_SOURCES = scitab.c
35CLEANFILES = scitab.c
36
37startup_SOURCES = startup/hw_init.c ../../shared/bsplibc.c \
38    ../../shared/bsppost.c ../../shared/bsppredriverhook.c \
39    ../shared/bspstart.c ../../shared/bsppretaskinghook.c \
40    ../shared/bspgetworkarea.c ../../shared/sbrk.c ../../shared/bootcard.c \
41    ../../shared/gnatinstallhandler.c ../../shared/bspclean.c \
42    ../shared/bsphwinit.c
43scitab_SOURCES = scitab.c
44console_SOURCES = ../../sh/shared/console.c console/config.c
45debugio_SOURCES = ../../shared/dummy_printk_support.c
46
47noinst_LIBRARIES = libbsp.a
48libbsp_a_SOURCES = $(startup_SOURCES) $(scitab_SOURCES) $(console_SOURCES) \
49    $(debugio_SOURCES)
50libbsp_a_LIBADD = \
51    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
52    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/timer.rel \
53    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/sci.rel \
54    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel
55
56include $(srcdir)/preinstall.am
57include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.