From edc61d488bf1b3d8c426f0156686fedce3ca6d68 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 12 Jun 2000 20:27:50 +0000 Subject: [PATCH] Fixed so hppa1.1 compiles with only problems in simhppa BSP. --- .../score/cpu/hppa1.1/rtems/score/Makefile.am | 16 +++++++++++++--- c/src/lib/libbsp/hppa1.1/simhppa/include/bsp.h | 2 +- c/src/lib/libcpu/hppa1.1/include/Makefile.am | 4 ++-- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/c/src/exec/score/cpu/hppa1.1/rtems/score/Makefile.am b/c/src/exec/score/cpu/hppa1.1/rtems/score/Makefile.am index f578ebdda9..59de95b8c4 100644 --- a/c/src/exec/score/cpu/hppa1.1/rtems/score/Makefile.am +++ b/c/src/exec/score/cpu/hppa1.1/rtems/score/Makefile.am @@ -4,15 +4,25 @@ AUTOMAKE_OPTIONS = foreign 1.4 -H_FILES = cpu.h cpu_asm.h hppa.h hppatypes.h -noinst_HEADERS = $(H_FILES) +GENOFFSETS = $(PROJECT_ROOT)/tools/cpu/hppa1.1/genoffsets + +GENERIC_H_FILES = offsets.h +STATIC_H_FILES = cpu.h cpu_asm.h hppa.h hppatypes.h +noinst_HEADERS = $(STATIC_H_FILES) # # (OPTIONAL) Add local stuff here using += # +offsets.h: $(GENOFFSETS) cpu.h + $(RM) $@ + $(GENOFFSETS) > $@ + +CLEANFILES = offsets.h + PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \ - $(H_FILES:%.h=$(PROJECT_INCLUDE)/rtems/score/%.h) + $(STATIC_H_FILES:%.h=$(PROJECT_INCLUDE)/rtems/score/%.h) \ + $(GENERIC_H_FILES:%.h=$(PROJECT_INCLUDE)/rtems/score/%.h) $(PROJECT_INCLUDE)/rtems/score: $(mkinstalldirs) $@ diff --git a/c/src/lib/libbsp/hppa1.1/simhppa/include/bsp.h b/c/src/lib/libbsp/hppa1.1/simhppa/include/bsp.h index e94e2e36db..f42d1d08a7 100644 --- a/c/src/lib/libbsp/hppa1.1/simhppa/include/bsp.h +++ b/c/src/lib/libbsp/hppa1.1/simhppa/include/bsp.h @@ -30,7 +30,7 @@ extern "C" { */ /* #define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2 */ -/* #define CONFIGURE_INTERRUPT_STACK_MEMORY (TBD * 1024) */ +#define CONFIGURE_INTERRUPT_STACK_MEMORY (4 * 1024) /* * Define the time limits for RTEMS Test Suite test durations. diff --git a/c/src/lib/libcpu/hppa1.1/include/Makefile.am b/c/src/lib/libcpu/hppa1.1/include/Makefile.am index 8adb914568..43044008c5 100644 --- a/c/src/lib/libcpu/hppa1.1/include/Makefile.am +++ b/c/src/lib/libcpu/hppa1.1/include/Makefile.am @@ -13,9 +13,9 @@ $(PROJECT_INCLUDE)/hppa1.1: $(mkinstalldirs) $@ $(PROJECT_INCLUDE)/hppa1.1/%.h: %.h - $(INSTALL_DATA) $@ $< + $(INSTALL_DATA) $< $@ -TMPINSTALL_FILES += $(PROJECT_INCLUDE)/hppa1.1 \ +PREINSTALL_FILES += $(PROJECT_INCLUDE)/hppa1.1 \ $(H_FILES:%.h=$(PROJECT_INCLUDE)/hppa1.1/%.h) all-local: $(TMPINSTALL_FILES)