diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-02-18 18:03:38 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-02-18 18:03:38 +0000 |
commit | 38840f7beb1c12ce8e0805e31de39950a7c41612 (patch) | |
tree | 71322d6a1b282c6020e5cd3917f3315e07e5e102 /c/src/exec/score/cpu | |
parent | Added rejected patch from automake VI from Ralf Corsepius. (diff) | |
download | rtems-38840f7beb1c12ce8e0805e31de39950a7c41612.tar.bz2 |
Part of the automake VI patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
> 3) rtems-rc-19990131-2.diff
>
> This patch removes generating bsp_specs from leaf.cfg and generates
> bsp_specs from inside of c/Makefile instead.
>
> The motivation behind this patch is to avoid "polluting" Makefiles by
> unneccessary rules from included Makefile-fragments (*.cfg-files) and
> try to handle files by explicit rules in Makefiles instead (FYI:
> automake-1.4 physically includes Makefile fragments at the time
> automake is run, not at the time make is run as RTEMS Makefile.ins do
> now)
>
> Nevertheless, this patch is rather uncritical, almost cosmetical - If
> you don't like it, then dump it ;-, however I doubt that subsequent
> patches will apply then ;-.
Diffstat (limited to 'c/src/exec/score/cpu')
-rw-r--r-- | c/src/exec/score/cpu/a29k/Makefile.in | 7 | ||||
-rw-r--r-- | c/src/exec/score/cpu/hppa1.1/Makefile.in | 7 | ||||
-rw-r--r-- | c/src/exec/score/cpu/i386/Makefile.in | 7 | ||||
-rw-r--r-- | c/src/exec/score/cpu/i960/Makefile.in | 7 | ||||
-rw-r--r-- | c/src/exec/score/cpu/m68k/Makefile.in | 7 | ||||
-rw-r--r-- | c/src/exec/score/cpu/mips64orion/Makefile.in | 7 | ||||
-rw-r--r-- | c/src/exec/score/cpu/no_cpu/Makefile.in | 8 | ||||
-rw-r--r-- | c/src/exec/score/cpu/powerpc/Makefile.in | 7 | ||||
-rw-r--r-- | c/src/exec/score/cpu/sh/Makefile.in | 8 | ||||
-rw-r--r-- | c/src/exec/score/cpu/sparc/Makefile.in | 7 | ||||
-rw-r--r-- | c/src/exec/score/cpu/unix/Makefile.in | 11 |
11 files changed, 10 insertions, 73 deletions
diff --git a/c/src/exec/score/cpu/a29k/Makefile.in b/c/src/exec/score/cpu/a29k/Makefile.in index ddffc4e4e6..972d657cf2 100644 --- a/c/src/exec/score/cpu/a29k/Makefile.in +++ b/c/src/exec/score/cpu/a29k/Makefile.in @@ -65,13 +65,8 @@ $(ARCH)/rtems-cpu.rel: $(OBJS) # Install the program(s), appending _g or _p as appropriate. # for include files, just use $(INSTALL) -preinstall: $(ARCH) \ - ${PROJECT_RELEASE}/lib/bsp_specs +preinstall: $(ARCH) $(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_RELEASE}/lib/bsp_specs: $(ARCH)/bsp_specs.tmp - $(INSTALL) -m 444 $(ARCH)/bsp_specs.tmp $@ - -# $(ARCH)/bsp_specs.tmp rule is in leaf.cfg diff --git a/c/src/exec/score/cpu/hppa1.1/Makefile.in b/c/src/exec/score/cpu/hppa1.1/Makefile.in index a7b7b02be6..81d8371320 100644 --- a/c/src/exec/score/cpu/hppa1.1/Makefile.in +++ b/c/src/exec/score/cpu/hppa1.1/Makefile.in @@ -67,13 +67,8 @@ 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_RELEASE}/lib/bsp_specs +install-headers: $(ARCH) $(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_RELEASE}/lib/bsp_specs: $(ARCH)/bsp_specs.tmp - $(INSTALL) -m 444 $(ARCH)/bsp_specs.tmp $@ - -# $(ARCH)/bsp_specs.tmp rule is in leaf.cfg diff --git a/c/src/exec/score/cpu/i386/Makefile.in b/c/src/exec/score/cpu/i386/Makefile.in index 6102a53fdf..3fe611fb4f 100644 --- a/c/src/exec/score/cpu/i386/Makefile.in +++ b/c/src/exec/score/cpu/i386/Makefile.in @@ -63,13 +63,8 @@ all: ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS) # for include files, just use $(INSTALL) install: all -preinstall: $(ARCH) \ - ${PROJECT_RELEASE}/lib/bsp_specs +preinstall: $(ARCH) $(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_RELEASE}/lib/bsp_specs: $(ARCH)/bsp_specs.tmp - $(INSTALL) -m 444 $(ARCH)/bsp_specs.tmp $@ - -# $(ARCH)/bsp_specs.tmp rule is in leaf.cfg diff --git a/c/src/exec/score/cpu/i960/Makefile.in b/c/src/exec/score/cpu/i960/Makefile.in index 6cc351d017..6de3b0cf4c 100644 --- a/c/src/exec/score/cpu/i960/Makefile.in +++ b/c/src/exec/score/cpu/i960/Makefile.in @@ -62,13 +62,8 @@ all: ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS) # for include files, just use $(INSTALL) install: all -preinstall: $(ARCH) \ - ${PROJECT_RELEASE}/lib/bsp_specs +preinstall: $(ARCH) $(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_RELEASE}/lib/bsp_specs: $(ARCH)/bsp_specs.tmp - $(INSTALL) -m 444 $(ARCH)/bsp_specs.tmp $@ - -# $(ARCH)/bsp_specs.tmp rule is in leaf.cfg diff --git a/c/src/exec/score/cpu/m68k/Makefile.in b/c/src/exec/score/cpu/m68k/Makefile.in index acf4b6b44f..2a0e7fb254 100644 --- a/c/src/exec/score/cpu/m68k/Makefile.in +++ b/c/src/exec/score/cpu/m68k/Makefile.in @@ -59,13 +59,8 @@ $(ARCH)/rtems-cpu.rel: $(OBJS) all: ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS) -preinstall: $(ARCH) \ - ${PROJECT_RELEASE}/lib/bsp_specs +preinstall: $(ARCH) $(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_RELEASE}/lib/bsp_specs: $(ARCH)/bsp_specs.tmp - $(INSTALL) -m 444 $(ARCH)/bsp_specs.tmp $@ - -# $(ARCH)/bsp_specs.tmp rule is in leaf.cfg diff --git a/c/src/exec/score/cpu/mips64orion/Makefile.in b/c/src/exec/score/cpu/mips64orion/Makefile.in index bcf1481f9c..16d0ba4f82 100644 --- a/c/src/exec/score/cpu/mips64orion/Makefile.in +++ b/c/src/exec/score/cpu/mips64orion/Makefile.in @@ -65,13 +65,8 @@ $(ARCH)/rtems-cpu.rel: $(OBJS) # Install the program(s), appending _g or _p as appropriate. # for include files, just use $(INSTALL) -preinstall: $(ARCH) \ - ${PROJECT_RELEASE}/lib/bsp_specs +preinstall: $(ARCH) $(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_RELEASE}/lib/bsp_specs: $(ARCH)/bsp_specs.tmp - $(INSTALL) -m 444 $(ARCH)/bsp_specs.tmp $@ - -# $(ARCH)/bsp_specs.tmp rule is in leaf.cfg diff --git a/c/src/exec/score/cpu/no_cpu/Makefile.in b/c/src/exec/score/cpu/no_cpu/Makefile.in index 0110dbf595..74b0411475 100644 --- a/c/src/exec/score/cpu/no_cpu/Makefile.in +++ b/c/src/exec/score/cpu/no_cpu/Makefile.in @@ -64,15 +64,7 @@ $(ARCH)/rtems-cpu.rel: $(OBJS) # for include files, just use $(INSTALL) install: all -# Real ports using the gnu tools will need to have bsp_specs!!! -# ${PROJECT_RELEASE}/lib/bsp_specs preinstall: $(ARCH) $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score # we will share the basic cpu file $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE) - -# Real ports using the gnu tools will need to have bsp_specs!!! -#${PROJECT_RELEASE}/lib/bsp_specs: $(ARCH)/bsp_specs.tmp -# $(INSTALL) -m 444 $(ARCH)/bsp_specs.tmp $@ - -# $(ARCH)/bsp_specs.tmp rule is in leaf.cfg diff --git a/c/src/exec/score/cpu/powerpc/Makefile.in b/c/src/exec/score/cpu/powerpc/Makefile.in index 8a75dafc4e..c4f04ccc9a 100644 --- a/c/src/exec/score/cpu/powerpc/Makefile.in +++ b/c/src/exec/score/cpu/powerpc/Makefile.in @@ -66,15 +66,10 @@ $(ARCH)/cpu_asm.o: irq_stub.s # for include files, just use $(INSTALL) install: all -preinstall: $(ARCH) \ - ${PROJECT_RELEASE}/lib/bsp_specs +preinstall: $(ARCH) $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score # we will share the basic cpu file $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE) # 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_RELEASE}/lib/bsp_specs: $(ARCH)/bsp_specs.tmp - $(INSTALL) -m 444 $(ARCH)/bsp_specs.tmp $@ - -# $(ARCH)/bsp_specs.tmp rule is in leaf.cfg diff --git a/c/src/exec/score/cpu/sh/Makefile.in b/c/src/exec/score/cpu/sh/Makefile.in index aeae1bfffb..6a442526d4 100644 --- a/c/src/exec/score/cpu/sh/Makefile.in +++ b/c/src/exec/score/cpu/sh/Makefile.in @@ -70,13 +70,7 @@ $(ARCH)/rtems-cpu.rel: $(OBJS) # for include files, just use $(INSTALL) install: all -preinstall: $(ARCH) \ - ${PROJECT_RELEASE}/lib/bsp_specs +preinstall: $(ARCH) $(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_RELEASE}/lib/bsp_specs: $(ARCH)/bsp_specs.tmp - $(INSTALL) -m 444 $(ARCH)/bsp_specs.tmp $@ - -# $(ARCH)/bsp_specs.tmp rule is in leaf.cfg diff --git a/c/src/exec/score/cpu/sparc/Makefile.in b/c/src/exec/score/cpu/sparc/Makefile.in index ce82aea680..6189c54d07 100644 --- a/c/src/exec/score/cpu/sparc/Makefile.in +++ b/c/src/exec/score/cpu/sparc/Makefile.in @@ -58,13 +58,8 @@ $(ARCH)/rtems-cpu.rel: $(OBJS) all: ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS) -preinstall: $(ARCH) \ - ${PROJECT_RELEASE}/lib/bsp_specs +preinstall: $(ARCH) $(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_RELEASE}/lib/bsp_specs: $(ARCH)/bsp_specs.tmp - $(INSTALL) -m 444 $(ARCH)/bsp_specs.tmp $@ - -# $(ARCH)/bsp_specs.tmp rule is in leaf.cfg diff --git a/c/src/exec/score/cpu/unix/Makefile.in b/c/src/exec/score/cpu/unix/Makefile.in index 1a88a6b1de..8caf79eef2 100644 --- a/c/src/exec/score/cpu/unix/Makefile.in +++ b/c/src/exec/score/cpu/unix/Makefile.in @@ -64,15 +64,6 @@ all: ${ARCH} $(SRCS) $(ARCH)/unixsize.h preinstall $(RELS) # for include files, just use $(INSTALL) install: all -# Real ports using the gnu tools will need to have bsp_specs!!! -# ${PROJECT_RELEASE}/lib/bsp_specs -preinstall: $(ARCH) $(ARCH)/unixsize.h \ - $(PROJECT_RELEASE)/lib/bsp_specs +preinstall: $(ARCH) $(ARCH)/unixsize.h $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score $(INSTALL) -m 444 ${ARCH}/unixsize.h $(PROJECT_INCLUDE)/rtems/score - -# Real ports using the gnu tools will need to have bsp_specs!!! -${PROJECT_RELEASE}/lib/bsp_specs: $(ARCH)/bsp_specs.tmp - $(INSTALL) -m 444 $(ARCH)/bsp_specs.tmp $@ -# -# $(ARCH)/bsp_specs.tmp rule is in leaf.cfg |