Merge pull request #482 from pangweishen/master
when the macro of RT_USING_COMPONENTS_INIT is not open ,then remove the source of components.c from the project.
This commit is contained in:
commit
1535c5139a
@ -15,6 +15,9 @@ if rtconfig.CROSS_TOOL == 'keil':
|
||||
else:
|
||||
LINKFLAGS = ''
|
||||
|
||||
if GetDepend('RT_USING_COMPONENTS_INIT') == False:
|
||||
SrcRemove(src, ['components.c'])
|
||||
|
||||
if GetDepend('RT_USING_MODULE') == False:
|
||||
SrcRemove(src, ['module.c'])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user