source: rtems/c/src/lib/libbsp/i960/rxgen960/startup/Makefile.am @ effc2c4

Last change on this file since effc2c4 was effc2c4, checked in by Joel Sherrill <joel.sherrill@…>, on 04/03/00 at 14:44:39

Patch rtems-rc-4.5.0-6-cvs.diff from Ralf Corsepius <corsepiu@…>.
The patch contains:

  • build variants support
  • Reworked make-exe custom/*.cfg for all targets (Should be self-explanatory, may still be incomplete)
  • Several fixes to custom/*.cfgs related to setting debug flags
  • Fixes to some bsp_specs for BSPs which apparently have never been build with debugging before ;)
  • pc386.cfg fix attempts (cf. my mail from earlier today)
  • Updated ampolish (No need to run it, the patch contains the result from having applied it)

Known bugs/deficiencies related to this work:

  • "make [clean|distclean]" support is still incomplete (e.g. "make clean" does not delete all Depends-o-*)
  • Completely untested for linux/posix and hppa.
  • Build failures of i960 BSPs (make VARIANT=DEBUG) - I guess, they are not related to this patch.
  • Successfully tested for all sh, sparc, i386, ppc, m68k BSPs (make VARIANT=DEBUG)
  • make VARIANT=PROFILE not supported by all BSPs (I don't care :)
  • make VARIANT=DEBUG failures below tests/ for some BSPs (e.g. gensh1), because of the tests's binaries being too large to fit into the target memory layout.
  • Property mode set to 100644
File size: 1.7 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7VPATH = @srcdir@:@srcdir@/../../../shared
8
9PGM = $(ARCH)/startup.rel
10
11#C_PIECES = bspclean bsplibc bsppost bspstart bootcard main sbrk setvec \
12#    gnatinstallhandler
13C_FILES = bspstart.c cntrltbl.c exit.c fault.c flttbl.c frmstr.c intrtbl.c \
14    kkprintf.c nmi.c nulsystbl.c prcb.c rom_cntrltbl.c rom_ibr.c rom_prcb.c \
15    sctns.c setvec.c systbl.c
16
17H_FILES = asmfault.h asmstub.h cntrltbl.h fault.h faultret.h flttbl.h \
18    frmstr.h i960.h ihandler.h intrtbl.h main.h memchnl.h pmc901_memmap.h \
19    prcb.h rom_ibr.h rommon.h sctns.h systbl.h time.h types.h
20
21S_FILES = asmfault.S asmstub.S ihandler.S rxgen_romld.S
22
23OBJS = $(C_FILES:%.c=$(ARCH)/%.o) $(S_FILES:%.S=$(ARCH)/%.o)
24
25include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
26include $(top_srcdir)/../../../../../../automake/lib.am
27
28#
29# (OPTIONAL) Add local stuff here using +=
30#
31
32$(PGM): $(OBJS)
33        $(make-rel)
34
35$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
36        $(INSTALL_DATA) $< $@
37
38# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
39
40TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
41
42all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
43
44.PRECIOUS: $(PGM)
45
46EXTRA_DIST = asmfault.S asmfault.h asmstub.S asmstub.h bspstart.c cntrltbl.c \
47    cntrltbl.h dram.ld exit.c fault.c fault.h faultret.h flttbl.c flttbl.h \
48    frmstr.c frmstr.h i960.h ihandler.S ihandler.h intrtbl.c intrtbl.h \
49    kkprintf.c linkcmds main.h memchnl.h nmi.c nulsystbl.c pmc901_memmap.h \
50    prcb.c prcb.h rom.ld rom_cntrltbl.c rom_ibr.c rom_ibr.h rom_prcb.c \
51    rommon.h rxgen_romld.S sctns.c sctns.h setvec.c systbl.c systbl.h time.h \
52    types.h
53
54include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.