summaryrefslogtreecommitdiff
path: root/src/SConscript
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-12-29 12:29:03 +0000
committer[email protected] <[email protected]>2012-12-29 12:29:03 +0000
commit975610477e9b168858f90cc399d91eb962072f1d (patch)
treeb4b9dab47aea9f00c3b89291e030567331fee572 /src/SConscript
parent7db8d2939bf9833587fcff84f040a8e4f9410e6f (diff)
Add RT_USING_MEMHEAP_AS_HEAP feature: system can use "heap" memheap as system default memory heap.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2554 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/SConscript')
-rw-r--r--src/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SConscript b/src/SConscript
index f9c7de573d..0eda61b1ef 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -24,6 +24,8 @@ if GetDepend('RT_USING_MEMPOOL') == False:
if GetDepend('RT_USING_MEMHEAP') == False:
SrcRemove(src, ['memheap.c'])
+ if GetDepend('RT_USING_MEMHEAP_AS_HEAP'):
+ SrcRemove(src, ['mem.c'])
if GetDepend('RT_USING_DEVICE') == False:
SrcRemove(src, ['device.c'])