mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-03-02 09:35:28 +08:00
modify *.uV2 --> *.Uv2 for mdk project file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1147 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
dc4e29670c
commit
e583f2031b
@ -87,7 +87,7 @@ def _make_path_relative(origin, dest):
|
|||||||
return os.path.join(*segments)
|
return os.path.join(*segments)
|
||||||
|
|
||||||
def MDKProject(target, script):
|
def MDKProject(target, script):
|
||||||
template = file('template.uV2', "rb")
|
template = file('template.Uv2', "rb")
|
||||||
lines = template.readlines()
|
lines = template.readlines()
|
||||||
|
|
||||||
project = file(target, "wb")
|
project = file(target, "wb")
|
||||||
@ -337,4 +337,4 @@ def EndBuilding(target):
|
|||||||
Env.AddPostAction(target, rtconfig.POST_ACTION)
|
Env.AddPostAction(target, rtconfig.POST_ACTION)
|
||||||
|
|
||||||
if GetOption('target') == 'mdk':
|
if GetOption('target') == 'mdk':
|
||||||
MDKProject('project.uV2', Projects)
|
MDKProject('project.Uv2', Projects)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user