summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-19 22:10:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-03-19 22:10:04 +0000
commit5906ac5e9fa9581a813fc9e802dd06b6e3736b4a (patch)
tree870e33d459a8b866275a2bb9c27a788c2d363622 /c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in
parente619c2895b9109b5008eac9244bfb6719d39ea9b (diff)
downloadrtems-5906ac5e9fa9581a813fc9e802dd06b6e3736b4a.tar.bz2
Towards automake X patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
This one once again changes the scheme to preinstall bsp_specs. It moves generating PROJECT_ROOT/lib/bsp_specs to libbsp/<cpu>/<bsp>/wrapup/Makefile.in. I.e. it decentralizes generation of bsp_specs to a bsp-dependent directory, because preinstalling bsp_specs in a centralized Makefile like it has been done until now does not harmonize well with spliting the toplevel configure script in cpu and bsp-dependent configure scripts and automake. First apply the patch (rtems-rc-19990318-0.diff) below, then run the reorg-bsp_specs.sh script. IMO, this one is comparatively harmless and eases automake support significantly.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in
index 38a2776074..5730c8ee34 100644
--- a/c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in
+++ b/c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in
@@ -54,3 +54,8 @@ $(LIB): ${OBJS}
all: ${ARCH} $(SRCS) $(LIB)
$(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib
+
+$(PROJECT_ROOT)/${RTEMS_BSP}/lib/bsp_specs: ../bsp_specs
+ $(INSTALL_DATA) $< $@
+
+preinstall: $(PROJECT_ROOT)/${RTEMS_BSP}/lib/bsp_specs