From df49c60c9671e4a28e636964d744c1f59fb6cb68 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 12 Jun 2000 15:00:15 +0000 Subject: Merged from 4.5.0-beta3a --- c/src/exec/score/cpu/sh/rtems/score/Makefile.am | 13 +++++-------- c/src/exec/score/cpu/sh/rtems/score/sh.h | 12 +++++++++++- 2 files changed, 16 insertions(+), 9 deletions(-) (limited to 'c/src/exec/score/cpu/sh/rtems/score') diff --git a/c/src/exec/score/cpu/sh/rtems/score/Makefile.am b/c/src/exec/score/cpu/sh/rtems/score/Makefile.am index 3008d9cef9..f650704221 100644 --- a/c/src/exec/score/cpu/sh/rtems/score/Makefile.am +++ b/c/src/exec/score/cpu/sh/rtems/score/Makefile.am @@ -1,23 +1,20 @@ -## +## ## $Id$ -## +## AUTOMAKE_OPTIONS = foreign 1.4 H_FILES = cpu.h shtypes.h sh.h sh_io.h isp$(RTEMS_CPU_MODEL).h \ io$(RTEMS_CPU_MODEL).h -noinst_HEADERS = \ - cpu.h shtypes.h sh.h sh_io.h \ - iosh7032.h ispsh7032.h \ +noinst_HEADERS = cpu.h shtypes.h sh.h sh_io.h iosh7032.h ispsh7032.h \ iosh7045.h ispsh7045.h # # (OPTIONAL) Add local stuff here using += # -PREINSTALL_FILES = \ -$(PROJECT_INCLUDE)/rtems/score \ -$(H_FILES:%.h=$(PROJECT_INCLUDE)/rtems/score/%.h) +PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \ + $(H_FILES:%.h=$(PROJECT_INCLUDE)/rtems/score/%.h) $(PROJECT_INCLUDE)/rtems/score: $(mkinstalldirs) $@ diff --git a/c/src/exec/score/cpu/sh/rtems/score/sh.h b/c/src/exec/score/cpu/sh/rtems/score/sh.h index 4417e6a99d..26c633c190 100644 --- a/c/src/exec/score/cpu/sh/rtems/score/sh.h +++ b/c/src/exec/score/cpu/sh/rtems/score/sh.h @@ -39,7 +39,17 @@ extern "C" { * dependent features are present in a particular member of the family. */ -#if defined(sh7032) +#if defined(rtems_multilib) +/* + * Figure out all CPU Model Feature Flags based upon compiler + * predefines. + */ + +#define CPU_MODEL_NAME "rtems_multilib" +#define SH_HAS_FPU 0 +#define SH_HAS_SEPARATE_STACKS 1 + +#elif defined(sh7032) #define CPU_MODEL_NAME "SH7032" #define SH_HAS_FPU 0 -- cgit v1.2.3