diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-05 15:15:46 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-05 15:15:46 +0000 |
commit | ab0df696d09f6b53b33345d207f8aead63a6fcab (patch) | |
tree | e446f792382e49b1169482837cd842a82fb2350b /c/src/exec | |
parent | Fixed name of Buffer so this would compile. (diff) | |
download | rtems-ab0df696d09f6b53b33345d207f8aead63a6fcab.tar.bz2 |
Automatic CPU type detection code from Eric Valette <valette@crf.canon.fr>.
Enabled on the pc386.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/score/cpu/i386/asm.h | 1 | ||||
-rw-r--r-- | c/src/exec/score/tools/hppa1.1/Makefile.in | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/c/src/exec/score/cpu/i386/asm.h b/c/src/exec/score/cpu/i386/asm.h index 53a4ea7e5a..9fe867c04c 100644 --- a/c/src/exec/score/cpu/i386/asm.h +++ b/c/src/exec/score/cpu/i386/asm.h @@ -92,6 +92,7 @@ #define edi REG (edi) #define esp REG (esp) #define ebp REG (ebp) +#define cr0 REG (cr0) #define ax REG (ax) #define bx REG (bx) diff --git a/c/src/exec/score/tools/hppa1.1/Makefile.in b/c/src/exec/score/tools/hppa1.1/Makefile.in index 4a8be52b11..0ef6de8843 100644 --- a/c/src/exec/score/tools/hppa1.1/Makefile.in +++ b/c/src/exec/score/tools/hppa1.1/Makefile.in @@ -50,12 +50,14 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) preinstall $(PGMS) - $(INSTALL) $(INSTBINFLAGS) ${PGMS} ${PROJECT_RELEASE}/bin # Hack # we are #including files that haven't been installed yet. # Make sure they are available. -preinstall: FORCEIT +preinstall: ${ARCH} headers $(SRCS) $(PGMS) + $(INSTALL) $(INSTBINFLAGS) ${PGMS} ${PROJECT_RELEASE}/bin + +headers: FORCE cd $(CPU_DIR); $(MAKE) install-headers # Install the program(s), appending _g or _p as appropriate. |