source: rtems/make/custom/efi332.cfg @ 26f2783

4.104.114.84.95
Last change on this file since 26f2783 was 26f2783, checked in by Joel Sherrill <joel.sherrill@…>, on 08/06/02 at 20:15:43

2002-08-06 Joel Sherrill <joel@…>

  • custom/efi332.cfg, custom/gen68340.cfg, custom/gen68360.cfg, custom/mrm332.cfg: Use more proper CPU models so libcpu knows more.
  • Property mode set to 100644
File size: 1.0 KB
Line 
1#
2#  Config file for the efi332 BSP
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=m68k
10RTEMS_CPU_MODEL=m68332
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=efi332
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17CPU_CFLAGS = -mcpu32
18
19# optimize flag: typically -0, could use -O4 or -fast, -O4 is ok for RTEMS
20CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
21
22# The following are definitions of make-exe which will work using ld as
23# is currently required.  It is expected that as of gcc 2.8, the end user
24# will be able to override parts of the compilers specs and link using gcc.
25
26define make-exe
27        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \
28            $(LINK_OBJS) $(LINK_LIBS)
29        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
30        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
31            $(PACKHEX) > $(basename $@).exe
32        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
33        $(SIZE) $(basename $@).nxe
34endef
35
36# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.