source: rtems/make/custom/mcf5206elite.cfg @ fe6ef4ac

4.104.114.84.95
Last change on this file since fe6ef4ac was fe6ef4ac, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 26, 2001 at 7:49:38 PM

2001-10-26 Victor V. Vengerov <vvv@…>

  • custom/mcf5206elite.cfg: New file.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1#
2#  Config file for a MCF5206eLITE board BSP
3#
4#  Author: Victor V. Vengerov <vvv@oktet.ru>
5#
6#  $Id$
7#
8
9RTEMS_CPU=m68k
10RTEMS_CPU_MODEL=mcf5206
11
12include $(RTEMS_ROOT)/make/custom/default.cfg
13
14# This is the actual bsp directory used during the build process.
15RTEMS_BSP_FAMILY=mcf5206elite
16
17#
18# You must use versions of gcc and gas that support the -m5200 option.
19#
20CPU_CFLAGS = -m5200
21CPU_ASFLAGS = -m5200
22ASFLAGS = -m5200
23
24# optimize flag: typically -0, could use -O4 or -fast
25# -O4 is ok for RTEMS
26CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
27
28define make-target-options
29endef
30
31# The following are definitions of make-exe which will work using ld as
32# is currently required.  It is expected that as of gcc 2.8, the end user
33# will be able to override parts of the compilers specs and link using gcc.
34
35ifeq ($(RTEMS_USE_GCC272),yes)
36
37# override default location of Standard C Library
38LIBC_LIBC=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libc.a
39LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libm.a
40
41define make-exe
42        @ echo
43        @ echo "WARNING: newlib may use bit test instructions!!"
44        @ echo
45        $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
46            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
47        $(NM) -g -n $(basename $@).exe > $(basename $@).num
48        $(SIZE) $(basename $@).exe
49endef
50else
51
52define make-exe
53        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \
54            $(LINK_OBJS) $(LINK_LIBS)
55        $(NM) -g -n $@ > $(basename $@).num
56        $(SIZE) $@
57endef
58endif
59
60
61# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.