4.104.114.84.95
Last change
on this file since 3ec7bfc was
e2a2ec60,
checked in by Joel Sherrill <joel.sherrill@…>, on 03/21/98 at 15:37:18
|
Switch to using a shared main() for all of the embedded BSPs
based on the GNU tools. This usually involved correcting the
type of bsp_start(), bsp_cleanup(), adjusting the start code to
call the right start routine (the shared boot_card()), and then
removing code from bsp_start() which was performed in the new
boot_card()/main() path.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[0074691a] | 1 | # |
---|
| 2 | # $Id$ |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | @SET_MAKE@ |
---|
| 6 | srcdir = @srcdir@ |
---|
[674c900] | 7 | VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared |
---|
[5c3511e] | 8 | RTEMS_ROOT = @top_srcdir@ |
---|
[674c900] | 9 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
[0074691a] | 10 | |
---|
| 11 | PGM=${ARCH}/startup.rel |
---|
| 12 | |
---|
| 13 | # C source names, if any, go here -- minus the .c |
---|
[e2a2ec60] | 14 | C_PIECES=crc debugport gdb-hooks main m68302scc m68k-stub memcheck trace \ |
---|
[0074691a] | 15 | bspstart bspclean sbrk setvec |
---|
| 16 | C_FILES=$(C_PIECES:%=%.c) |
---|
| 17 | C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) |
---|
| 18 | |
---|
| 19 | H_FILES= |
---|
| 20 | |
---|
| 21 | SRCS=$(C_FILES) $(H_FILES) $(srcdir)/rom $(srcdir)/debugger |
---|
| 22 | OBJS=$(C_O_FILES) |
---|
| 23 | |
---|
[5c3511e] | 24 | include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
[cb5bfe4] | 25 | include $(RTEMS_ROOT)/make/leaf.cfg |
---|
[0074691a] | 26 | |
---|
| 27 | # |
---|
| 28 | # (OPTIONAL) Add local stuff here using += |
---|
| 29 | # |
---|
| 30 | |
---|
| 31 | DEFINES += |
---|
| 32 | CPPFLAGS += |
---|
| 33 | CFLAGS += |
---|
| 34 | |
---|
| 35 | LD_PATHS += |
---|
| 36 | LD_LIBS += |
---|
| 37 | LDFLAGS += |
---|
| 38 | |
---|
| 39 | # |
---|
| 40 | # Add your list of files to delete here. The config files |
---|
| 41 | # already know how to delete some stuff, so you may want |
---|
| 42 | # to just run 'make clean' first to see what gets missed. |
---|
| 43 | # 'make clobber' already includes 'make clean' |
---|
| 44 | # |
---|
| 45 | |
---|
| 46 | CLEAN_ADDITIONS += |
---|
| 47 | CLOBBER_ADDITIONS += |
---|
| 48 | |
---|
| 49 | ${PGM}: ${SRCS} ${OBJS} |
---|
| 50 | $(make-rel) |
---|
| 51 | |
---|
| 52 | $(srcdir)/rom: |
---|
| 53 | |
---|
| 54 | $(srcdir)/debugger: |
---|
| 55 | |
---|
| 56 | all: ${ARCH} $(SRCS) $(PGM) |
---|
[12a17af3] | 57 | $(INSTALL) $(srcdir)/linkcmds $(srcdir)/rom $(srcdir)/debugger ${PROJECT_RELEASE}/lib |
---|
[0074691a] | 58 | |
---|
| 59 | # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile |
---|
| 60 | |
---|
Note: See
TracBrowser
for help on using the repository browser.