summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/powerpc/Makefile.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-05 15:11:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-05 15:11:33 +0000
commit4d11a92f3e90d517e2a58cc01ba77d161a0da9e6 (patch)
treed509df39cfde3decbc6ba722f436731c2e330db2 /c/src/exec/score/cpu/powerpc/Makefile.in
parentAdded print of the order in which the directories are preinstalled. (diff)
downloadrtems-4d11a92f3e90d517e2a58cc01ba77d161a0da9e6.tar.bz2
Redid Makefiles to properly do a preinstall. There was remnants of the
old way of setting th cpu family and model string names.
Diffstat (limited to 'c/src/exec/score/cpu/powerpc/Makefile.in')
-rw-r--r--c/src/exec/score/cpu/powerpc/Makefile.in11
1 files changed, 2 insertions, 9 deletions
diff --git a/c/src/exec/score/cpu/powerpc/Makefile.in b/c/src/exec/score/cpu/powerpc/Makefile.in
index 48c991b2f7..f5f7ca5b92 100644
--- a/c/src/exec/score/cpu/powerpc/Makefile.in
+++ b/c/src/exec/score/cpu/powerpc/Makefile.in
@@ -16,10 +16,9 @@ C_PIECES=cpu
C_FILES=$(C_PIECES:%=%.c)
C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
-H_FILES=$(srcdir)/cpu.h $(srcdir)/ppctypes.h
+H_FILES=$(srcdir)/cpu.h $(srcdir)/ppc.h $(srcdir)/ppctypes.h
# H_FILES that get installed externally
-# ppc.h is handled separately
EXTERNAL_H_FILES = $(srcdir)/asm.h
# Assembly source names, if any, go here -- minus the .s
@@ -67,7 +66,7 @@ $(ARCH)/cpu_asm.o: irq_stub.s
# for include files, just use $(INSTALL)
install: all
-preinstall: $(PROJECT_INCLUDE)/rtems/score/ppc.h \
+preinstall: $(ARCH) \
$(PROJECT_INCLUDE)/rtems/score/targopts.h \
${PROJECT_RELEASE}/lib/bsp_specs
$(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
@@ -76,12 +75,6 @@ preinstall: $(PROJECT_INCLUDE)/rtems/score/ppc.h \
# make a link in case we are not compiling in the source directory
test -f irq_stub.s || $(LN) -s $(srcdir)/irq_stub.s irq_stub.s
-$(PROJECT_INCLUDE)/rtems/score/ppc.h: ppc.h
- $(SED) -e 's?REPLACE_THIS_WITH_THE_CPU_MODEL?$(RTEMS_CPU_MODEL)?' \
- -e 's?REPLACE_THIS_WITH_THE_BSP?$(RTEMS_BSP)?' \
- < $< >$(ARCH)/ppc.h.tmp
- $(INSTALL) -m 444 $(ARCH)/ppc.h.tmp $@
-
$(PROJECT_INCLUDE)/rtems/score/targopts.h: $(ARCH)/targopts.h-tmp
$(INSTALL) -m 444 $(ARCH)/targopts.h-tmp $@