diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-05 15:11:33 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-05 15:11:33 +0000 |
commit | 4d11a92f3e90d517e2a58cc01ba77d161a0da9e6 (patch) | |
tree | d509df39cfde3decbc6ba722f436731c2e330db2 /c/src/exec/score/cpu/a29k | |
parent | Added print of the order in which the directories are preinstalled. (diff) | |
download | rtems-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/a29k')
-rw-r--r-- | c/src/exec/score/cpu/a29k/Makefile.in | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/c/src/exec/score/cpu/a29k/Makefile.in b/c/src/exec/score/cpu/a29k/Makefile.in index 0cb79271d6..f22da60b68 100644 --- a/c/src/exec/score/cpu/a29k/Makefile.in +++ b/c/src/exec/score/cpu/a29k/Makefile.in @@ -16,11 +16,11 @@ C_PIECES=cpu rtems C_FILES=$(C_PIECES:%=%.c) C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) -H_FILES=$(srcdir)/cpu.h $(srcdir)/a29ktypes.h +H_FILES=$(srcdir)/cpu.h $(srcdir)/a29k.h $(srcdir)/a29ktypes.h # H_FILES that get installed externally -# a29k.h is handled separately -EXTERNAL_H_FILES = $(srcdir)/asm.h $(srcdir)/amd.ah $(srcdir)/pswmacro.ah $(srcdir)/register.ah +EXTERNAL_H_FILES = $(srcdir)/asm.h $(srcdir)/amd.ah \ + $(srcdir)/pswmacro.ah $(srcdir)/register.ah # Assembly source names, if any, go here -- minus the .s # Normally cpu_asm and rtems are assembly files @@ -65,19 +65,13 @@ $(ARCH)/rtems-cpu.rel: $(OBJS) # Install the program(s), appending _g or _p as appropriate. # for include files, just use $(INSTALL) -preinstall: $(PROJECT_INCLUDE)/rtems/score/a29k.h \ +preinstall: $(ARCH) \ $(PROJECT_INCLUDE)/rtems/score/targopts.h \ ${PROJECT_RELEASE}/lib/bsp_specs $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score # we will share the basic cpu file $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE) -$(PROJECT_INCLUDE)/rtems/score/a29k.h: a29k.h - $(SED) -e 's?REPLACE_THIS_WITH_THE_CPU_MODEL?$(RTEMS_CPU_MODEL)?' \ - -e 's?REPLACE_THIS_WITH_THE_BSP?$(RTEMS_BSP)?' \ - < $< >$(ARCH)/a29k.h.tmp - $(INSTALL) -m 444 $(ARCH)/a29k.h.tmp $@ - $(PROJECT_INCLUDE)/rtems/score/targopts.h: $(ARCH)/targopts.h-tmp $(INSTALL) -m 444 $(ARCH)/targopts.h-tmp $@ |