From e4071cf64a0d3e789321a63e4ee5838b4d85da6b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 18 Feb 1999 17:16:48 +0000 Subject: Patch from Ralf Corsepius : This patch removes generation of targopts.h from leaf.cfg and generates it in location at score/include/rtems/score instead. To achieve this: * all rules in other Makefile.ins which have accessed targopts.h have been removed. * c/Makefile.in has been modified to generate the directories before doing anything else. I.e. to ensure the directories exist before any preinstall rule fires (This part is a bit kludgy, but it seems to work. Please check if the interaction with libhwapi still works). --- c/src/exec/score/cpu/hppa1.1/Makefile.in | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'c/src/exec/score/cpu/hppa1.1/Makefile.in') diff --git a/c/src/exec/score/cpu/hppa1.1/Makefile.in b/c/src/exec/score/cpu/hppa1.1/Makefile.in index ae2b79a566..a7b7b02be6 100644 --- a/c/src/exec/score/cpu/hppa1.1/Makefile.in +++ b/c/src/exec/score/cpu/hppa1.1/Makefile.in @@ -67,17 +67,12 @@ all: ${ARCH} install-headers preinstall $(RELS) preinstall: $(ARCH) $(SRCS) $(ARCH)/offsets.h $(INSTALL) -m 444 $(ARCH)/offsets.h $(PROJECT_INCLUDE)/rtems/score -install-headers: $(ARCH) $(PROJECT_INCLUDE)/rtems/score/targopts.h \ +install-headers: $(ARCH) \ ${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/targopts.h: $(ARCH)/targopts.h-tmp - $(INSTALL) -m 444 $(ARCH)/targopts.h-tmp $@ - -# $(ARCH)/targopts.h-tmp rule is in leaf.cfg - ${PROJECT_RELEASE}/lib/bsp_specs: $(ARCH)/bsp_specs.tmp $(INSTALL) -m 444 $(ARCH)/bsp_specs.tmp $@ -- cgit v1.2.3