Changeset 4debaca6 in rtems


Ignore:
Timestamp:
Jul 14, 2017, 12:12:07 PM (2 years ago)
Author:
Daniel Cederman <cederman@…>
Branches:
master
Children:
9598e737
Parents:
2f8704b6
git-author:
Daniel Cederman <cederman@…> (07/14/17 12:12:07)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/17/17 05:43:20)
Message:

bsps/sparc: Add leon3 BSP variants

Rename NGMP to GR740 and add configs for UT699, UT700, and GR712RC

The UT699 requires -mcpu=leon as it does not support the CAS instruction
provided by -mcpu=leon3. It also requires -mfix-ut699 for errata fixes.

UT700 and GR712RC requires the -mfix-ut700 and -mfix-gr712rc flags that
have been recently added to GCC's master and 7-branch.

Remove -msoft-float from the leon3 config to make the more common case
of using the FPU the default.

Update #3057.

Location:
c/src/lib/libbsp/sparc/leon3
Files:
6 added
3 edited
2 moved

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon3/Makefile.am

    r2f8704b6 r4debaca6  
    2727dist_project_lib_DATA += startup/linkcmds
    2828dist_project_lib_DATA += startup/linkcmds.leon3
    29 dist_project_lib_DATA += startup/linkcmds.ngmp
     29dist_project_lib_DATA += startup/linkcmds.ut699
     30dist_project_lib_DATA += startup/linkcmds.gr712rc
     31dist_project_lib_DATA += startup/linkcmds.ut700
     32dist_project_lib_DATA += startup/linkcmds.gr740
    3033
    3134noinst_LIBRARIES += libbsp.a
  • c/src/lib/libbsp/sparc/leon3/make/custom/leon3.cfg

    r2f8704b6 r4debaca6  
    1010#  This contains the compiler options necessary to select the CPU model
    1111#  and (hopefully) optimize for it.
    12 CPU_CFLAGS = -mcpu=leon3 -msoft-float
     12CPU_CFLAGS = -mcpu=leon3
    1313
    1414# optimize flag: typically -O2
  • c/src/lib/libbsp/sparc/leon3/preinstall.am

    r2f8704b6 r4debaca6  
    8282PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.leon3
    8383
    84 $(PROJECT_LIB)/linkcmds.ngmp: startup/linkcmds.ngmp $(PROJECT_LIB)/$(dirstamp)
    85         $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.ngmp
    86 PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.ngmp
     84$(PROJECT_LIB)/linkcmds.ut699: startup/linkcmds.ut699 $(PROJECT_LIB)/$(dirstamp)
     85        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.ut699
     86PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.ut699
     87
     88$(PROJECT_LIB)/linkcmds.gr712rc: startup/linkcmds.gr712rc $(PROJECT_LIB)/$(dirstamp)
     89        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.gr712rc
     90PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.gr712rc
     91
     92$(PROJECT_LIB)/linkcmds.ut700: startup/linkcmds.ut700 $(PROJECT_LIB)/$(dirstamp)
     93        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.ut700
     94PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.ut700
     95
     96$(PROJECT_LIB)/linkcmds.gr740: startup/linkcmds.gr740 $(PROJECT_LIB)/$(dirstamp)
     97        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.gr740
     98PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.gr740
    8799
    88100$(PROJECT_INCLUDE)/bsp/gnatcommon.h: ../shared/include/gnatcommon.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
Note: See TracChangeset for help on using the changeset viewer.