diff options
author | Daniel Cederman <cederman@gaisler.com> | 2017-07-14 14:12:07 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-07-17 07:43:20 +0200 |
commit | 4debaca6d2d6248f97bf3fbbd39a8afca0ab4beb (patch) | |
tree | 562703be35c45ab8b1c21fd2674093ff7044a77e /c/src/lib/libbsp/sparc/leon3/preinstall.am | |
parent | sparc: Add assembly workaround for LEON3FT B2BST errata (diff) | |
download | rtems-4debaca6d2d6248f97bf3fbbd39a8afca0ab4beb.tar.bz2 |
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.
Diffstat (limited to 'c/src/lib/libbsp/sparc/leon3/preinstall.am')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/preinstall.am | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/preinstall.am b/c/src/lib/libbsp/sparc/leon3/preinstall.am index 273a52d147..70d58c85c5 100644 --- a/c/src/lib/libbsp/sparc/leon3/preinstall.am +++ b/c/src/lib/libbsp/sparc/leon3/preinstall.am @@ -81,9 +81,21 @@ $(PROJECT_LIB)/linkcmds.leon3: startup/linkcmds.leon3 $(PROJECT_LIB)/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.leon3 PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.leon3 -$(PROJECT_LIB)/linkcmds.ngmp: startup/linkcmds.ngmp $(PROJECT_LIB)/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.ngmp -PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.ngmp +$(PROJECT_LIB)/linkcmds.ut699: startup/linkcmds.ut699 $(PROJECT_LIB)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.ut699 +PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.ut699 + +$(PROJECT_LIB)/linkcmds.gr712rc: startup/linkcmds.gr712rc $(PROJECT_LIB)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.gr712rc +PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.gr712rc + +$(PROJECT_LIB)/linkcmds.ut700: startup/linkcmds.ut700 $(PROJECT_LIB)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.ut700 +PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.ut700 + +$(PROJECT_LIB)/linkcmds.gr740: startup/linkcmds.gr740 $(PROJECT_LIB)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.gr740 +PREINSTALL_FILES += $(PROJECT_LIB)/linkcmds.gr740 $(PROJECT_INCLUDE)/bsp/gnatcommon.h: ../shared/include/gnatcommon.h $(PROJECT_INCLUDE)/bsp/$(dirstamp) $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gnatcommon.h |