summaryrefslogtreecommitdiffstats
path: root/make/leaf.cfg
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-11-12 10:32:00 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-11-12 10:32:00 +0000
commit393d271670636311ce6fbb7a1a047de95e8f26a5 (patch)
tree7f6e71c0369e661c31bf2dc41d91a50119acaeee /make/leaf.cfg
parent2002-11-12 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-393d271670636311ce6fbb7a1a047de95e8f26a5.tar.bz2
2002-11-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* custom/default.cfg: Remove RTEMS_BSP_SPECS. Remove reference to obsolete Makefile. * leaf.cfg: Various changes to LIBVARIANT processing. * main.cfg: Ditto.
Diffstat (limited to 'make/leaf.cfg')
-rw-r--r--make/leaf.cfg34
1 files changed, 17 insertions, 17 deletions
diff --git a/make/leaf.cfg b/make/leaf.cfg
index 7f0bfc51b5..8d92407050 100644
--- a/make/leaf.cfg
+++ b/make/leaf.cfg
@@ -34,6 +34,19 @@ MANAGERS := $(patsubst all, $(MANAGER_LIST), $(MANAGERS))
# and finally rip out duplicates
MANAGERS := $(sort $(MANAGERS))
+#
+# LIBSUFFIX_VA, will "index" into LIBSUFF-*-v macros and
+# convert our ${ARCH} back into .a or _g.a or _p.a based on debug or profile.
+# Useful for installing libraries.
+#
+
+LIBSUFFIX_OPTIMIZE_V=
+LIBSUFFIX_DEBUG_V=_g
+LIBSUFFIX_PROFILE_V=_p
+
+LIB_VARIANT=$(LIBSUFFIX_$(VARIANT_V)_V)
+LIBSUFFIX_VA = $(LIB_VARIANT).a
+
# Pull in the desired "target" compiler
# Programs built on the host use automake generated rules.
# This will not change $(ARCH) -- binaries will still be place as per target
@@ -67,11 +80,11 @@ endif
# build something "the same" way.
#
-VARIANT-o-optimize-v =
-VARIANT-o-debug-v = debug
-VARIANT-o-profile-v = profile
+VARIANT-OPTIMIZE-v =
+VARIANT-DEBUG-v = debug
+VARIANT-PROFILE-v = profile
-VARIANT_VA = $(VARIANT-$(ARCH)-v)
+VARIANT_VA = $(VARIANT-$(VARIANT_V)-v)
#
# TARGET_VA will convert $@ (expected to be 'debug' or 'profile' etc.)
@@ -85,19 +98,6 @@ TARGET_profile_V = all
TARGET_VA = $(TARGET_$@_V)
#
-# LIBSUFFIX_VA, will "index" into LIBSUFF-*-v macros and
-# convert our ${ARCH} back into .a or _g.a or _p.a based on debug or profile.
-# Useful for installing libraries.
-#
-
-LIBSUFFIX_o-optimize_V=
-LIBSUFFIX_o-debug_V=_g
-LIBSUFFIX_o-profile_V=_p
-
-LIB_VARIANT=$(LIBSUFFIX_$(ARCH)_V)
-LIBSUFFIX_VA = $(LIB_VARIANT).a
-
-#
# Builtin clean and distclean rules
# Individual makefiles can add stuff via CLEAN_ADDITIONS and CLOBBER_ADDITIONS
# If desperate to save something, they can override CLEAN_OS, CLEAN_CC, etc.