source: rtems/c/src/lib/libbsp/sh/gensh2/Makefile.am @ 642ef00

5
Last change on this file since 642ef00 was 642ef00, checked in by Sebastian Huber <sebastian.huber@…>, on 11/27/17 at 05:23:29

bsps: Provide <tm27.h> in each BSP

Since the <tm27.h> is highly BSP-dependent and used only by the tm27
test program we must provide this header file for each BSP. Without the
preinstall build target each header file must have a unique source
header file.

Update #3254.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../../aclocal
2
3include $(top_srcdir)/../../../../automake/compile.am
4
5include_bspdir = $(includedir)/bsp
6
7dist_project_lib_DATA = bsp_specs
8
9include_HEADERS = include/bsp.h
10include_HEADERS += include/tm27.h
11
12nodist_include_HEADERS = include/bspopts.h
13nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
14DISTCLEANFILES = include/bspopts.h
15
16
17EXTRA_DIST = start/start.ram start/start.rom
18noinst_LIBRARIES = libbspstart.a
19libbspstart_a_SOURCES = start/start.S
20project_lib_DATA = start.$(OBJEXT)
21
22dist_project_lib_DATA += startup/linkcmds startup/linkcmds.ram \
23    startup/linkcmds.rom
24
25noinst_LIBRARIES += libbsp.a
26libbsp_a_SOURCES =
27
28SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
29
30scitab.c: $(SHGEN)
31        $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
32BUILT_SOURCES = scitab.c
33CLEANFILES = scitab.c
34
35# startup
36libbsp_a_SOURCES += startup/hw_init.c \
37    ../../shared/bsppredriverhook.c \
38    ../shared/startup/bspstart.c \
39    ../../shared/bspgetworkarea.c ../../shared/sbrk.c ../../shared/bootcard.c \
40    ../../shared/getentropy-cpucounter.c \
41    ../../shared/gnatinstallhandler.c ../../shared/bspclean.c \
42    ../shared/bsphwinit.c
43libbsp_a_SOURCES += ../../shared/bspreset.c
44# scitab
45libbsp_a_SOURCES += scitab.c
46# console
47libbsp_a_SOURCES += ../../sh/shared/console.c console/config.c
48# debugio
49libbsp_a_SOURCES += ../../shared/dummy_printk_support.c
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@/sci.rel \
55    ../../../libcpu/@RTEMS_CPU@/@RTEMS_CPU_MODEL@/score.rel \
56    ../../../libcpu/@RTEMS_CPU@/cache.rel
57
58include $(srcdir)/preinstall.am
59include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.