From 5906ac5e9fa9581a813fc9e802dd06b6e3736b4a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 19 Mar 1999 22:10:04 +0000 Subject: Towards automake X patch from Ralf Corsepius : This one once again changes the scheme to preinstall bsp_specs. It moves generating PROJECT_ROOT/lib/bsp_specs to libbsp///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. --- c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in') 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 -- cgit v1.2.3