source: rtems/c/src/lib/libbsp/lm32/milkymist/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: 3.9 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
12include_bsp_HEADERS  = ../../lm32/shared/include/irq.h
13include_bsp_HEADERS += ../../shared/include/irq-generic.h
14include_bsp_HEADERS += ../../lm32/shared/milkymist_gpio/milkymist_gpio.h
15include_bsp_HEADERS += ../../lm32/shared/milkymist_buttons/milkymist_buttons.h
16include_bsp_HEADERS += ../../lm32/shared/milkymist_ac97/milkymist_ac97.h
17include_bsp_HEADERS += ../../lm32/shared/milkymist_usbinput/milkymist_usbinput.h
18include_bsp_HEADERS += ../../lm32/shared/milkymist_pfpu/milkymist_pfpu.h
19include_bsp_HEADERS += ../../lm32/shared/milkymist_tmu/milkymist_tmu.h
20include_bsp_HEADERS += ../../lm32/shared/milkymist_memcard/milkymist_memcard.h
21include_bsp_HEADERS += ../../lm32/shared/milkymist_flash/milkymist_flash.h
22include_bsp_HEADERS += ../../lm32/shared/milkymist_dmx/milkymist_dmx.h
23include_bsp_HEADERS += ../../lm32/shared/milkymist_midi/milkymist_midi.h
24include_bsp_HEADERS += ../../lm32/shared/milkymist_ir/milkymist_ir.h
25include_bsp_HEADERS += ../../lm32/shared/milkymist_video/milkymist_video.h
26include_bsp_HEADERS += ../../lm32/shared/milkymist_versions/milkymist_versions.h
27
28nodist_include_HEADERS = include/bspopts.h
29nodist_include_bsp_HEADERS = ../../shared/include/bootcard.h
30DISTCLEANFILES = include/bspopts.h
31
32noinst_PROGRAMS =
33
34include_HEADERS += include/system_conf.h
35
36noinst_LIBRARIES = libbspstart.a
37libbspstart_a_SOURCES = ../../lm32/shared/start/start.S
38project_lib_DATA = start.$(OBJEXT)
39
40dist_project_lib_DATA += startup/linkcmds
41
42noinst_LIBRARIES += libbsp.a
43libbsp_a_SOURCES =
44libbsp_a_LIBADD =
45
46# startup
47libbsp_a_SOURCES += startup/bspclean.c
48libbsp_a_SOURCES += ../shared/startup/bspstart.c
49libbsp_a_SOURCES += ../../shared/bspgetworkarea.c
50libbsp_a_SOURCES += ../../shared/bspreset.c
51libbsp_a_SOURCES += ../../shared/bootcard.c
52libbsp_a_SOURCES += ../../shared/getentropy-cpucounter.c
53libbsp_a_SOURCES += ../../shared/sbrk.c
54libbsp_a_SOURCES += ../../shared/gnatinstallhandler.c
55
56# irq
57libbsp_a_SOURCES += ../../lm32/shared/irq/irq.c
58
59# clock
60libbsp_a_SOURCES += ../../lm32/shared/milkymist_clock/ckinit.c
61
62# console
63libbsp_a_SOURCES += ../../lm32/shared/milkymist_console/console.c
64libbsp_a_SOURCES += ../../lm32/shared/milkymist_console/uart.c
65
66# timer
67libbsp_a_SOURCES += ../../lm32/shared/milkymist_timer/timer.c
68
69# framebuffer
70libbsp_a_SOURCES += ../../lm32/shared/milkymist_framebuffer/framebuffer.c
71
72# GPIO
73libbsp_a_SOURCES += ../../lm32/shared/milkymist_gpio/gpio.c
74
75# buttons
76libbsp_a_SOURCES += ../../lm32/shared/milkymist_buttons/buttons.c
77
78# ac97
79libbsp_a_SOURCES += ../../lm32/shared/milkymist_ac97/ac97.c
80
81# usbinput
82libbsp_a_SOURCES += ../../lm32/shared/milkymist_usbinput/usbinput.c
83
84# PFPU
85libbsp_a_SOURCES += ../../lm32/shared/milkymist_pfpu/pfpu.c
86
87# TMU
88libbsp_a_SOURCES += ../../lm32/shared/milkymist_tmu/tmu.c
89
90# memory card
91libbsp_a_SOURCES += ../../lm32/shared/milkymist_memcard/memcard.c
92
93# flash
94libbsp_a_SOURCES += ../../lm32/shared/milkymist_flash/flash.c
95
96# DMX
97libbsp_a_SOURCES += ../../lm32/shared/milkymist_dmx/dmx.c
98
99# MIDI
100libbsp_a_SOURCES += ../../lm32/shared/milkymist_midi/midi.c
101
102# IR
103libbsp_a_SOURCES += ../../lm32/shared/milkymist_ir/ir.c
104
105# video input
106libbsp_a_SOURCES += ../../lm32/shared/milkymist_video/video.c
107
108# versions
109libbsp_a_SOURCES += ../../lm32/shared/milkymist_versions/versions.c
110
111# Cache
112libbsp_a_SOURCES += ../../../libcpu/shared/src/cache_manager.c
113libbsp_a_SOURCES += ../../shared/include/cache_.h
114libbsp_a_CPPFLAGS = -I$(srcdir)/../../shared/include
115
116if HAS_NETWORKING
117noinst_PROGRAMS += network.rel
118network_rel_SOURCES = ../../lm32/shared/milkymist_networking/network.c
119network_rel_CPPFLAGS = $(AM_CPPFLAGS) -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
120network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
121libbsp_a_LIBADD += network.rel
122endif
123
124include $(srcdir)/preinstall.am
125include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.