summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 20:29:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 20:29:45 +0000
commitb96734cdd030ba8bb8771ebb9e555d9f1184f2b1 (patch)
tree7394b86f205e0723747bbb6e65b337451b7d6710
parentWorks on Solaris and Linux. (diff)
downloadrtems-b96734cdd030ba8bb8771ebb9e555d9f1184f2b1.tar.bz2
Fixed so hppa1.1 compiles with only problems in simhppa BSP.
-rw-r--r--c/src/exec/score/cpu/hppa1.1/rtems/score/Makefile.am16
-rw-r--r--c/src/lib/libbsp/hppa1.1/simhppa/include/bsp.h2
-rw-r--r--c/src/lib/libcpu/hppa1.1/include/Makefile.am4
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)