summaryrefslogtreecommitdiffstats
path: root/make/leaf.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-18 00:42:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-11-18 00:42:53 +0000
commitc2646c880e607d8837ac0fd4b7b1b237c94d2e5e (patch)
tree065b2d5f7a66211727b14dcb54c77e9026509497 /make/leaf.cfg
parent789a953dec3a473d9987e1df935a20752c9307c2 (diff)
downloadrtems-c2646c880e607d8837ac0fd4b7b1b237c94d2e5e.tar.bz2
2002-11-17 Joel Sherrill <joel@OARcorp.com>
* leaf.cfg, main.cfg, compilers/gcc-target-default.cfg: Make build variants work for user applications post install.
Diffstat (limited to 'make/leaf.cfg')
-rw-r--r--make/leaf.cfg12
1 files changed, 2 insertions, 10 deletions
diff --git a/make/leaf.cfg b/make/leaf.cfg
index 8d92407050..4df4d09ace 100644
--- a/make/leaf.cfg
+++ b/make/leaf.cfg
@@ -60,18 +60,10 @@ ifndef AUTOMAKE
# Builtin targets for compilation variants
#
debug:
- $(MAKE) -f $(MAKEFILE) MAKEFILE=$(MAKEFILE) "ARCH=o-debug" \
- "CFLAGS_DEBUG=$(CFLAGS_DEBUG_V)" \
- "CXXFLAGS_DEBUG=$(CXXFLAGS_DEBUG_V)" \
- "CFLAGS_OPTIMIZE=$(CFLAGS_OPTIMIZE_V)" \
- "LDFLAGS_DEBUG=$(LDFLAGS_DEBUG_V)" $(TARGET_VA)
+ $(MAKE) -f $(MAKEFILE) MAKEFILE=$(MAKEFILE) VARIANT=DEBUG
profile:
- $(MAKE) -f $(MAKEFILE) \
- MAKEFILE=$(MAKEFILE) "ARCH=o-profile" \
- "CFLAGS_PROFILE=$(CFLAGS_PROFILE_V)" \
- "CXXFLAGS_PROFILE=$(CXXFLAGS_PROFILE_V)" \
- "LDFLAGS_PROFILE=$(LDFLAGS_PROFILE_V)" $(TARGET_VA)
+ $(MAKE) -f $(MAKEFILE) MAKEFILE=$(MAKEFILE) VARIANT=PROFILE
endif
#