summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/hppa1.1
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 20:27:50 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-06-12 20:27:50 +0000
commitedc61d488bf1b3d8c426f0156686fedce3ca6d68 (patch)
tree37aa7b61fdfcb62dcec8627f163b51314b8f430d /c/src/exec/score/cpu/hppa1.1
parentPatch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine Gauthier (diff)
downloadrtems-edc61d488bf1b3d8c426f0156686fedce3ca6d68.tar.bz2
Fixed so hppa1.1 compiles with only problems in simhppa BSP.
Diffstat (limited to 'c/src/exec/score/cpu/hppa1.1')
-rw-r--r--c/src/exec/score/cpu/hppa1.1/rtems/score/Makefile.am16
1 files changed, 13 insertions, 3 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) $@