From b68e057ebe654b575ffc2e81bc30432f9aee19de Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 7 Feb 1998 19:56:00 +0000 Subject: Fixed to correctly operate on target variants like debug and profile. --- c/src/exec/wrapup/rtems/Makefile.in | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'c/src/exec/wrapup/rtems/Makefile.in') diff --git a/c/src/exec/wrapup/rtems/Makefile.in b/c/src/exec/wrapup/rtems/Makefile.in index e0382e4fd5..b654e51f13 100644 --- a/c/src/exec/wrapup/rtems/Makefile.in +++ b/c/src/exec/wrapup/rtems/Makefile.in @@ -41,11 +41,18 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += +EXTENSION_SUFFIX_$(TARGET_ARCH)_V= +EXTENSION_SUFFIX_$(TARGET_ARCH)-debug_V=_debug +EXTENSION_SUFFIX_$(TARGET_ARCH)-profile_V=_profile + +EXTENSION_VARIANT=$(EXTENSION_SUFFIX_$(ARCH)_V) + + $(LIB): ${OBJS} $(make-library) - -cd $(PROJECT_ROOT) ; \ - $(PROJECT_RELEASE)/bin/size_rtems $(RTEMS_BSP) \ - >$(PROJECT_RELEASE)/lib/sizeinfo.txt + cd $(PROJECT_ROOT) ; \ + $(PROJECT_RELEASE)/bin/size_rtems $(RTEMS_BSP) $(ARCH) \ + >$(PROJECT_RELEASE)/lib/sizeinfo$(EXTENSION_VARIANT).txt all: ${ARCH} $(SRCS) $(LIB) $(INSTALL_VARIANT) -m 644 $(LIB) ${PROJECT_RELEASE}/lib -- cgit v1.2.3