source: rtems/c/src/lib/libbsp/m68k/ods68302/start/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.0 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7PGM = $(ARCH)/start.o
8
9RESET_S_FILES_yes_V = debugreset.S
10RESET_S_FILES_no_V = reset.S
11RESET_S_FILES__V = $(RESET_S_FILES_no_V)
12RESET_S_FILES = $(RESET_S_FILES_$(RTEMS_DEBUGGER)_V)
13
14CFLAGS_no_V = -DGDB_MONITOR_ACTIVE
15CFLAGS__V = $(CFLAGS_no_V)
16CFLAGS_V = $(CFLAGS_$(RTEMS_DEBUGGER)_V)
17
18C_FILES = cpuboot.c
19C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
20
21S_FILES = $(RESET_S_FILES)
22S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
23
24OBJS = $(S_O_FILES) $(C_O_FILES)
25
26include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
27include $(top_srcdir)/../../../../../../automake/lib.am
28
29#
30# (OPTIONAL) Add local stuff here using +=
31#
32
33AM_CFLAGS += $(CFLAGS_V)
34
35$(PGM): $(OBJS)
36        $(make-rel)
37
38$(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o: $(PGM)
39        $(INSTALL_DATA) $< $@
40
41TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/start$(LIB_VARIANT).o
42
43all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
44
45.PRECIOUS: $(PGM)
46
47EXTRA_DIST = cpuboot.c debugreset.S reset.S
48
49include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.