summaryrefslogtreecommitdiffstats
path: root/c/src/exec/wrapup
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-02-07 19:56:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-02-07 19:56:00 +0000
commitb68e057ebe654b575ffc2e81bc30432f9aee19de (patch)
treede3212e4e0fff6857f1583f1612dcb5171012db3 /c/src/exec/wrapup
parente496c1f1edbf5ba14223bfb6dc566e4a6f4f5c3f (diff)
downloadrtems-b68e057ebe654b575ffc2e81bc30432f9aee19de.tar.bz2
Fixed to correctly operate on target variants like debug and profile.
Diffstat (limited to 'c/src/exec/wrapup')
-rw-r--r--c/src/exec/wrapup/rtems/Makefile.in13
1 files changed, 10 insertions, 3 deletions
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