4.104.114.84.95
Last change
on this file since 50bb7627 was
50bb7627,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/12/00 at 12:56:07
|
2000-10-12 John S Gwynne <jgwynne@…>
- start/start.c: Modified to support generation of ram_init.
- start/ram_init.ld, BSP/start/ram_init.sed: New files.
These changes enable RTEMS to automatically generate
the ram_init file used by gdb with the BDM patches. The 332 has
on-board chip select lines (for RAM and FLASH) that must be
configured before use of these peripherals. These patches parse
data from start.c where the chip select lines are configured in
the runtime executable and automatically generates the gdb
initialization file using the same settings. A great time saver.
A similar file, ram_init_FW (flash writable), is also generated
that the flash programming tool uses.
- start/Makefile.am: Modified to support above.
- CPU/sim.h: Modified to support above.
- startup/except_vect_332_ROM.S: Moved to start so it would not
be included in libbsp.a. Moving it to start ensures it is
available as a single object file.
- start/except_vect_332_ROM.S: Moved from startup.
- startup/linkcmds, startup/linkcmds_ROM: Fixes to the memory map
shown in the comments.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared |
---|
8 | |
---|
9 | PGM = $(ARCH)/startup.rel |
---|
10 | |
---|
11 | C_FILES = bsplibc.c bsppost.c bspstart.c bspclean.c bootcard.c \ |
---|
12 | m68kpretaskinghook.c main.c sbrk.c setvec.c gnatinstallhandler.c |
---|
13 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
14 | |
---|
15 | S_FILES = |
---|
16 | S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o) |
---|
17 | |
---|
18 | OBJS = $(C_O_FILES) $(S_O_FILES) |
---|
19 | |
---|
20 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
21 | include $(top_srcdir)/../../../../../../automake/compile.am |
---|
22 | include $(top_srcdir)/../../../../../../automake/lib.am |
---|
23 | |
---|
24 | # |
---|
25 | # (OPTIONAL) Add local stuff here using += |
---|
26 | # |
---|
27 | |
---|
28 | # USE_INIT_FINI tells main.c what C++ help we need. |
---|
29 | AM_CPPFLAGS += -DUSE_INIT_FINI |
---|
30 | |
---|
31 | $(PGM): $(OBJS) |
---|
32 | $(make-rel) |
---|
33 | |
---|
34 | $(PROJECT_RELEASE)/lib/linkcmds: linkcmds |
---|
35 | $(INSTALL_DATA) $< $@ |
---|
36 | |
---|
37 | $(PROJECT_RELEASE)/lib/linkcmds_ROM: linkcmds_ROM |
---|
38 | $(INSTALL_DATA) $< $@ |
---|
39 | |
---|
40 | # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile |
---|
41 | TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds \ |
---|
42 | $(PROJECT_RELEASE)/lib/linkcmds_ROM |
---|
43 | |
---|
44 | all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES) |
---|
45 | |
---|
46 | .PRECIOUS: $(PGM) |
---|
47 | |
---|
48 | EXTRA_DIST = bspclean.c bspstart.c linkcmds linkcmds_ROM |
---|
49 | |
---|
50 | include $(top_srcdir)/../../../../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.