source: rtems/c/src/lib/libbsp/sparc/erc32/Makefile.am @ e870941

4.115
Last change on this file since e870941 was e870941, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 4, 2014 at 8:38:27 AM

libmisc: More useful default configuration

The dummy.c was a de-facto default configuration. Rename it to
default-configuration.c. Use unlimited objects and the stack checker.
This makes it easier for new RTEMS users which will likely use this file
if they just work with the usual main() function as the application
entry point. Provide proper arguments for main() using the BSP command
line. Add spare user extensions and drivers.

Do not initialize the network by default. Delete bspinit.c.

  • Property mode set to 100644
File size: 3.3 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
16noinst_PROGRAMS =
17
18include_HEADERS += include/erc32.h
19include_HEADERS += ../../shared/include/coverhd.h
20
21noinst_LIBRARIES = libbspstart.a
22libbspstart_a_SOURCES = ../../sparc/shared/start/start.S
23project_lib_DATA = start.$(OBJEXT)
24
25dist_project_lib_DATA += startup/linkcmds ../shared/startup/linkcmds.base
26
27noinst_LIBRARIES += libbsp.a
28libbsp_a_SOURCES =
29
30# startup
31libbsp_a_SOURCES += ../../shared/bspclean.c
32libbsp_a_SOURCES += ../../shared/bsplibc.c
33libbsp_a_SOURCES += startup/bsppredriver.c
34libbsp_a_SOURCES += ../../sparc/shared/startup/bspgetworkarea.c
35libbsp_a_SOURCES += ../../sparc/shared/bsppretaskinghook.c
36libbsp_a_SOURCES += ../../shared/bsppost.c
37libbsp_a_SOURCES += ../../shared/bspstart.c
38libbsp_a_SOURCES += ../../shared/bootcard.c
39libbsp_a_SOURCES += ../../shared/sbrk.c
40libbsp_a_SOURCES += startup/setvec.c
41libbsp_a_SOURCES += startup/spurious.c
42libbsp_a_SOURCES += startup/erc32mec.c
43libbsp_a_SOURCES += startup/boardinit.S
44libbsp_a_SOURCES += startup/bspidle.c
45libbsp_a_SOURCES += startup/bspdelay.c
46libbsp_a_SOURCES += ../../sparc/shared/startup/early_malloc.c
47libbsp_a_SOURCES += ../../sparc/shared/startup/bsp_fatal_exit.c
48libbsp_a_SOURCES += ../../sparc/shared/startup/bsp_fatal_halt.c
49# ISR Handler
50libbsp_a_SOURCES += ../../sparc/shared/cpu.c
51libbsp_a_SOURCES += ../../sparc/shared/irq_asm.S
52# gnatsupp
53libbsp_a_SOURCES += gnatsupp/gnatsupp.c ../../sparc/shared/gnatcommon.c
54include_bsp_HEADERS = ../shared/include/gnatcommon.h
55# console
56libbsp_a_SOURCES += console/erc32_console.c ../../shared/console.c \
57    ../../shared/console_select.c  ../../shared/console_control.c \
58    ../../shared/console_read.c ../../shared/console_write.c
59# debugio
60libbsp_a_SOURCES += console/debugputs.c
61# clock
62libbsp_a_SOURCES += clock/ckinit.c
63libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
64# timer
65libbsp_a_SOURCES += timer/timer.c
66
67# IRQ
68include_bsp_HEADERS += \
69    ../../shared/include/irq-generic.h \
70    ../../shared/include/irq-info.h \
71    include/bsp/irq.h
72libbsp_a_SOURCES += \
73    ../../sparc/shared/irq/irq-shared.c \
74    ../../shared/src/irq-default-handler.c \
75    ../../shared/src/irq-generic.c \
76    ../../shared/src/irq-info.c \
77    ../../shared/src/irq-legacy.c \
78    ../../shared/src/irq-server.c \
79    ../../shared/src/irq-shell.c
80
81if HAS_SMP
82libbsp_a_SOURCES += ../../shared/bspsmp.c
83libbsp_a_SOURCES += ../../shared/bspsmpgetcurrentprocessor.c
84endif
85
86if HAS_NETWORKING
87erc32sonic_CPPFLAGS = -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
88noinst_PROGRAMS += erc32sonic.rel
89erc32sonic_rel_SOURCES = erc32sonic/erc32sonic.c
90erc32sonic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(erc32sonic_CPPFLAGS)
91erc32sonic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
92endif
93
94libbsp_a_LIBADD  = \
95    ../../../libcpu/@RTEMS_CPU@/access.rel \
96    ../../../libcpu/@RTEMS_CPU@/cache.rel \
97    ../../../libcpu/@RTEMS_CPU@/reg_win.rel \
98    ../../../libcpu/@RTEMS_CPU@/syscall.rel
99if HAS_NETWORKING
100libbsp_a_LIBADD += erc32sonic.rel
101endif
102
103EXTRA_DIST = times
104
105include $(srcdir)/preinstall.am
106include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.