source: rtems/c/src/lib/libbsp/m68k/gen68340/Makefile.am @ 642ef00

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

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.5 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
15noinst_PROGRAMS =
16
17include_HEADERS += include/m340uart.h
18include_HEADERS += include/m340timer.h
19include_HEADERS += include/m68340.h
20include_HEADERS += include/m68340.inc
21include_HEADERS += include/m68349.inc
22
23noinst_LIBRARIES = libbspstart.a
24libbspstart_a_SOURCES = start/start.S
25project_lib_DATA = start.$(OBJEXT)
26
27dist_project_lib_DATA += startup/linkcmds
28
29noinst_LIBRARIES += libbsp.a
30libbsp_a_SOURCES =
31
32# startup
33libbsp_a_SOURCES += ../../shared/bspclean.c \
34    ../../shared/bsppredriverhook.c ../../shared/bspgetworkarea.c \
35    ../../shared/bspstart.c startup/init68340.c \
36    ../../shared/bootcard.c \
37    ../../shared/getentropy-cpucounter.c \
38    ../../shared/sbrk.c ../../shared/setvec.c \
39    startup/dumpanic.c ../../shared/gnatinstallhandler.c
40libbsp_a_SOURCES += ../../shared/bspreset.c
41# clock
42libbsp_a_SOURCES += clock/ckinit.c
43# console
44libbsp_a_SOURCES += console/console.c console/m340uart.c \
45    ../../shared/dummy_printk_support.c
46# timer
47libbsp_a_SOURCES += timer/timer.c
48
49libbsp_a_LIBADD = \
50    ../../../libcpu/@RTEMS_CPU@/shared/cache.rel \
51    ../../../libcpu/@RTEMS_CPU@/shared/misc.rel
52
53include $(srcdir)/preinstall.am
54include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.