Back to home page

LXR

 
 

    


Warning, /bsps/m68k/mvme167/config/mvme167.cfg is written in an unsupported language. File is not indexed.

0001 #
0002 #  Config file for the mvme167 BSP 
0003 #
0004 
0005 # THIS BSP USES ELF IMAGES. IT WILL NOT WORK WITH COFF UNLESS CHANGES
0006 # ARE MADE TO THE LINKCMDS FILE.
0007 
0008 RTEMS_CPU=m68k
0009 
0010 include $(RTEMS_ROOT)/make/custom/default.cfg
0011 
0012 #  This contains the compiler options necessary to select the CPU model
0013 #  and (hopefully) optimize for it.  We also specify the BSP during compilation.
0014 #  This should really get its own flag, but it works here.
0015 #
0016 
0017 CPU_CFLAGS = -mcpu=68040
0018 
0019 
0020 # optimize flag: typically -O2
0021 CFLAGS_OPTIMIZE_V = -O2 -g -fno-omit-frame-pointer
0022 CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
0023 
0024 LDFLAGS = -Wl,--gc-sections
0025 
0026 # We use TFTP to transfer files to the MVME167. We generate binary files
0027 # rather than S-records. We skip the header during downloads.
0028 
0029 # The MC68040 does not implement all MC68881/MC68882 instructions, so use
0030 # either the gcc floating-point software support (msoft-float libraries), or
0031 # use the Motorola FPSP floating-point emulator in
0032 #   rtems/c/src/lib/libcpu/m68k/m68040/fpsp
0033 # The default is to use the FPSP. 
0034 # To use the msoft-float libraries, uncomment the three lines below.
0035 # You then should comment the M68KFPSPInstallExceptionHandlers() statement
0036 # in rtems/c/src/lib/libbsp/m68k/mvme167/startup/bststart.c in bsp_start().
0037 # Floating-point support will then be limited. See the mvme167 README file
0038 # for more details.
0039 define bsp-post-link
0040         $(default-bsp-post-link)
0041     $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
0042 endef