source: rtems/make/custom/helas403.cfg @ 4383f3a

4.104.114.84.95
Last change on this file since 4383f3a was 4383f3a, checked in by Joel Sherrill <joel.sherrill@…>, on 11/27/01 at 12:09:48

2001-11-26 Ralf Corsepius <corsepiu@…>

  • custom/gen405.cfg: Remove PPC_VECTOR_FILE_BASE, PPC_USE_SPRG; Remove make-target-options.
  • custom/helas403.cfg: Remove PPC_VECTOR_FILE_BASE, PPC_USE_SPRG; Remove make-target-options.
  • custom/mbx8xx.cfg: Remove INSTRUCTION_CACHE_ENABLE, DATA_CACHE_ENABLE.
  • custom/mbx860_005b.cfg: Remove INSTRUCTION_CACHE_ENABLE, DATA_CACHE_ENABLE.
  • custom/mpc8260ads.cfg: Remove INSTRUCTION_CACHE_ENABLE, DATA_CACHE_ENABLE.
  • Property mode set to 100644
File size: 1.6 KB
Line 
1#
2#  Config file for a PowerPC 403 based helas403 card
3#
4#  $Id$
5#
6#
7
8include $(RTEMS_ROOT)/make/custom/default.cfg
9
10RTEMS_CPU=powerpc
11RTEMS_CPU_MODEL=ppc403
12
13# This is the actual bsp directory used during the build process.
14RTEMS_BSP_FAMILY=helas403
15
16#  This contains the compiler options necessary to select the CPU model
17#  and (hopefully) optimize for it.
18#
19CPU_CFLAGS = -mcpu=403
20
21# optimize flag: typically -0, could use -O4 or -fast
22# -O4 is ok for RTEMS
23# NOTE: some level of -O may be actually required by inline assembler
24CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
25
26# No start file
27START_BASE=
28
29# The following are definitions of make-exe which will work using ld as
30# is currently required.  It is expected that as of gcc 2.8, the end user
31# will be able to override parts of the compilers specs and link using gcc.
32
33ifeq ($(RTEMS_USE_GCC272),yes)
34# The --defsym arguments define arguments which are required by the linkcmds
35# file which is designed for gcc 2.8
36define make-exe
37        $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
38            --defsym __fini=0 --defsym __init=0 \
39            -o $@ -u atexit -u __vectors -u download_entry \
40            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
41        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
42        $(NM) -g -n $@ > $(basename $@).num
43        $(SIZE) $@
44endef
45else
46#       $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
47define make-exe
48        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
49            $(LINK_OBJS) $(LINK_LIBS)
50        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
51        $(NM) -g -n $@ > $(basename $@).num
52        $(SIZE) $@
53endef
54endif
55
56# Miscellaneous additions go here
57
Note: See TracBrowser for help on using the repository browser.