source: rtems/c/src/lib/libbsp/lm32/milkymist/Makefile.am @ f3ce8f41

Last change on this file since f3ce8f41 was f3ce8f41, checked in by Sebastian Huber <sebastian.huber@…>, on Jan 2, 2018 at 7:00:02 AM

bsps: Include bsp.am in all BSP Makefile.am

Update #3254.

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