source: rtems/c/src/lib/libbsp/arm/edb7312/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: 2.5 KB
RevLine 
[fe8bc62f]1ACLOCAL_AMFLAGS = -I ../../../../aclocal
[3d6669cc]2
[9e541e3]3include $(top_srcdir)/../../../../automake/compile.am
[3d6669cc]4
[3416c44]5include_bspdir = $(includedir)/bsp
6
[2a7f9a28]7dist_project_lib_DATA = bsp_specs
8
9include_HEADERS = include/bsp.h
[642ef00]10include_HEADERS += include/tm27.h
[4cbf22a]11
[6e6886d5]12include_bsp_HEADERS =
13
[2a7f9a28]14nodist_include_HEADERS = include/bspopts.h
[3416c44]15nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
[4cbf22a]16DISTCLEANFILES = include/bspopts.h
17noinst_PROGRAMS =
[9e541e3]18
[d348010c]19include_HEADERS += include/ep7312.h
[9e541e3]20
[c0bea05]21noinst_LIBRARIES = libbspstart.a
22libbspstart_a_SOURCES = start/start.S
[4cbf22a]23project_lib_DATA = start.$(OBJEXT)
[9e541e3]24
25dist_project_lib_DATA += startup/linkcmds
26
[c0bea05]27noinst_LIBRARIES += libbsp.a
[64eb0c7]28libbsp_a_SOURCES =
[e94666d]29
[6b346ca]30include_HEADERS += ../../arm/shared/comm/uart.h
[64eb0c7]31# startup
[ca4602e]32libbsp_a_SOURCES += \
[2858939a]33    ../../shared/bspgetworkarea.c \
[fe27e20f]34    ../../shared/bsppredriverhook.c startup/bspstart.c \
[1dad9e7]35    ../../shared/bspclean.c ../../shared/bootcard.c ../../shared/sbrk.c \
[ca4895c]36    ../../shared/getentropy-cpucounter.c \
[1dad9e7]37    startup/bspreset.c ../../shared/gnatinstallhandler.c
[24bf11e]38libbsp_a_SOURCES += ../../shared/cpucounterread.c
39libbsp_a_SOURCES += ../../shared/cpucounterdiff.c
[fe27e20f]40
[64eb0c7]41# clock
[1f7d0cca]42libbsp_a_SOURCES += clock/clockdrv.c
43libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
[64eb0c7]44# console
[bdd3b637]45libbsp_a_SOURCES += console/uart.c ../../shared/console.c \
46    ../../shared/console_select.c  ../../shared/console_control.c \
47    ../../shared/console_read.c ../../shared/console_write.c
[64eb0c7]48# timer
49libbsp_a_SOURCES += timer/timer.c
[a5ef8c53]50
[64eb0c7]51# irq
[6e6886d5]52include_bsp_HEADERS += ../../shared/include/irq-generic.h \
53        ../../shared/include/irq-info.h \
54        irq/irq.h
[0f31fddc]55libbsp_a_SOURCES += ../../shared/src/irq-default-handler.c
56libbsp_a_SOURCES += ../../shared/src/irq-generic.c
57libbsp_a_SOURCES += ../../shared/src/irq-info.c
58libbsp_a_SOURCES += ../../shared/src/irq-legacy.c
59libbsp_a_SOURCES += ../../shared/src/irq-server.c
60libbsp_a_SOURCES += ../../shared/src/irq-shell.c
61libbsp_a_SOURCES += irq/irq.c
62libbsp_a_SOURCES += irq/bsp_irq_asm.S
[9e541e3]63
[0b9fd991]64# Cache
65libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
66libbsp_a_SOURCES += ../../shared/include/cache_.h
67libbsp_a_CPPFLAGS = -I$(srcdir)/../../shared/include
68
[9e541e3]69if HAS_NETWORKING
70network_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
[4cbf22a]71noinst_PROGRAMS += network.rel
[9e541e3]72network_rel_SOURCES = network/network.c
[9d83387b]73network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(network_CPPFLAGS)
[9e541e3]74network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
75endif
76
[1d0ee80e]77# libcpu libraries could go here
[309dbd0]78libbsp_a_LIBADD =
[9e541e3]79if HAS_NETWORKING
[4cbf22a]80libbsp_a_LIBADD += network.rel
[9e541e3]81endif
82
[dec6a8da]83include $(srcdir)/preinstall.am
[d8abd37]84include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.