source: rtems/c/src/lib/libbsp/a29k/portsw/startup/Makefile.am @ 78287f41

4.104.114.84.95
Last change on this file since 78287f41 was 2365488e, checked in by Joel Sherrill <joel.sherrill@…>, on 09/22/00 at 20:33:08

2000-09-22 Joel Sherrill <joel@…>

  • start/crt0.S: Renamed to start/start.S.
  • start/start.S: Formerly start/crt0.S.
  • startup/linkcmds: New file. GNU linker script that is not correct for the target board but links programs.
  • bsp_specs: Use linkcmds.
  • include/Makefile.am, start/Makefile.am startup/Makefile.am: Now work.
  • startup/bspstart.c, startup/setvec.c: "#if 0"'ed out references to reoutines in assembly that are in turn "#if 0"'ed out.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7VPATH = @srcdir@:@srcdir@/../../../shared
8
9PGM = $(ARCH)/startup.rel
10
11C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c bootcard.c main.c sbrk.c \
12    setvec.c gnatinstallhandler.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15OBJS = $(C_O_FILES)
16
17include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18include $(top_srcdir)/../../../../../../automake/compile.am
19include $(top_srcdir)/../../../../../../automake/lib.am
20
21#
22# (OPTIONAL) Add local stuff here using +=
23#
24
25$(PGM): $(OBJS)
26        $(make-rel)
27
28$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
29        $(INSTALL_DATA) $< $@
30
31$(PROJECT_RELEASE)/lib/ramlink: ramlink
32        $(INSTALL_DATA) $< $@
33
34$(PROJECT_RELEASE)/lib/romlink: romlink
35        $(INSTALL_DATA) $< $@
36
37# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
38TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/ramlink \
39    $(PROJECT_RELEASE)/lib/linkcmds \
40    $(PROJECT_RELEASE)/lib/romlink
41
42all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
43
44.PRECIOUS: $(PGM)
45
46EXTRA_DIST = bspclean.c bspstart.c main.c ramlink romlink setvec.c
47
48include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.