source: rtems/c/src/lib/libbsp/sh/gensh1/Makefile.am @ 512d0fc

4.104.115
Last change on this file since 512d0fc was 11a6c97, checked in by Joel Sherrill <joel.sherrill@…>, on 09/15/08 at 19:18:29

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
RevLine 
[df49c60]1##
[94608578]2## $Id$
[df49c60]3##
[94608578]4
[fe8bc62f]5ACLOCAL_AMFLAGS = -I ../../../../aclocal
[94608578]6
[7a5a3a41]7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../bsp.am
9
[2a7f9a28]10dist_project_lib_DATA = bsp_specs
11
12include_HEADERS = include/bsp.h
[3defec6]13include_HEADERS += include/tm27.h
[db3fa14]14
[2a7f9a28]15nodist_include_HEADERS = include/bspopts.h
[db3fa14]16DISTCLEANFILES = include/bspopts.h
[2a7f9a28]17
[db3fa14]18noinst_PROGRAMS =
[94608578]19
[d0d6a5c]20include_HEADERS += include/coverhd.h
21
[ae554475]22EXTRA_DIST = start/start.S
[db3fa14]23start.$(OBJEXT): start/start.S
[57357d9]24        $(CPPASCOMPILE) -o $@ -c $<
[7a5a3a41]25
[db3fa14]26project_lib_DATA = start.$(OBJEXT)
[d0d6a5c]27
[ae554475]28dist_project_lib_DATA += startup/linkcmds
[7a5a3a41]29
[ae554475]30SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
31
32scitab.c: $(SHGEN)
33        $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
34BUILT_SOURCES = scitab.c
[0011fbe]35CLEANFILES = scitab.c
[ae554475]36
[1d0ee80e]37startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
[11a6c97]38    ../../shared/bsppredriverhook.c ../shared/bspstart.c startup/bspclean.c \
39    ../shared/bspgetworkarea.c ../../shared/bsppretaskinghook.c \
40    ../../shared/sbrk.c ../../shared/bootcard.c ../shared/bsphwinit.c \
[1d0ee80e]41    ../../shared/gnatinstallhandler.c
42scitab_SOURCES = scitab.c
43console_SOURCES = ../../sh/shared/console.c
44debugio_SOURCES = ../../shared/dummy_printk_support.c
[ae554475]45
[db3fa14]46noinst_LIBRARIES = libbsp.a
[1d0ee80e]47libbsp_a_SOURCES = $(startup_SOURCES) $(scitab_SOURCES) $(console_SOURCES) \
48    $(debugio_SOURCES)
49
50libbsp_a_LIBADD = \
51    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/clock.rel \
[db3fa14]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@/delay.rel \
55    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel
[ae554475]56
[7a5a3a41]57EXTRA_DIST += times
58
[a06faad]59include $(srcdir)/preinstall.am
[c1ea6f3]60include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.