source: rtems/make/custom/gen68360.cfg @ 4deeca3

4.104.114.84.95
Last change on this file since 4deeca3 was 99f04d9d, checked in by Joel Sherrill <joel.sherrill@…>, on 03/28/02 at 13:51:54

2002-03-26 Ralf Corsepius <corsepiu@…>

  • custom/cvme961.cfg: Remove GCC272 support.
  • custom/dmv152.cfg: Remove GCC272 support.
  • custom/efi332.cfg: Remove GCC272 support.
  • custom/efi68k.cfg: Remove GCC272 support.
  • custom/eth_comm.cfg: Remove GCC272 support.
  • custom/gen405.cfg: Remove GCC272 support.
  • custom/gen68302.cfg: Remove GCC272 support.
  • custom/gen68340.cfg: Remove GCC272 support.
  • custom/gen68360.cfg: Remove GCC272 support.
  • custom/genmongoosev.cfg: Remove GCC272 support.
  • custom/helas403.cfg: Remove GCC272 support.
  • custom/i386ex.cfg: Remove GCC272 support.
  • custom/i960sim.cfg: Remove GCC272 support.
  • custom/idp.cfg: Remove GCC272 support.
  • custom/leon2.cfg: Remove GCC272 support.
  • custom/mbx8xx.cfg: Remove GCC272 support.
  • custom/mcf5206elite.cfg: Remove GCC272 support.
  • custom/mpc8260ads.cfg: Remove GCC272 support.
  • custom/mrm332.cfg: Remove GCC272 support.
  • custom/mvme136.cfg: Remove GCC272 support.
  • custom/mvme147.cfg: Remove GCC272 support.
  • custom/mvme167.cfg: Remove GCC272 support.
  • custom/ods68302.cfg: Remove GCC272 support.
  • custom/p4000.cfg: Remove GCC272 support.
  • custom/p4600.cfg: Remove GCC272 support.
  • custom/p4650.cfg: Remove GCC272 support.
  • custom/pc386.cfg: Remove GCC272 support.
  • custom/portsw.cfg: Remove GCC272 support.
  • custom/psim.cfg: Remove GCC272 support.
  • custom/rxgen960.cfg: Remove GCC272 support.
  • custom/score603e.cfg: Remove GCC272 support.
  • custom/sim68000.cfg: Remove GCC272 support.
  • custom/simhppa.cfg: Remove GCC272 support.
  • custom/simsh4.cfg: Remove GCC272 support.
  • custom/ts_386ex.cfg: Remove GCC272 support.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  Config file for a "generic 68360" BSP
3#
4#  $Id$
5#
6
7RTEMS_CPU=m68k
8
9ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes)
10RTEMS_CPU_MODEL=m68040
11else
12RTEMS_CPU_MODEL=mcpu32
13endif
14
15include $(RTEMS_ROOT)/make/custom/default.cfg
16
17# This is the actual bsp directory used during the build process.
18RTEMS_BSP_FAMILY=gen68360
19
20#
21# You must use versions of gcc and gas that support the -mcpu32 option.
22#
23ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes)
24CPU_CFLAGS= -m68040
25else
26CPU_CFLAGS = -mcpu32
27endif
28
29# optimize flag: typically -0, could use -O4 or -fast
30# -O4 is ok for RTEMS
31CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
32
33#  This section makes the target dependent options file.
34
35ifeq ($(RTEMS_GEN68360_COMPANION_MODE),yes)
36define make-target-options
37endef
38else
39define make-target-options
40        @echo "#define RTEMS__mcpu32p__ 1"                  >>$@
41endef
42endif
43
44# The following are definitions of make-exe which will work using ld as
45# is currently required.  It is expected that as of gcc 2.8, the end user
46# will be able to override parts of the compilers specs and link using gcc.
47
48define make-exe
49        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
50            $(LINK_OBJS) $(LINK_LIBS)
51        $(NM) -g -n $@ > $(basename $@).num
52        $(SIZE) $@
53endef
54
55# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.