change output directory to 'build'
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1201 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
179bdeca6c
commit
58f21a0179
@ -217,7 +217,7 @@ class Win32Spawn:
|
|||||||
newargs = string.join(args[1:], ' ')
|
newargs = string.join(args[1:], ' ')
|
||||||
cmdline = cmd + " " + newargs
|
cmdline = cmd + " " + newargs
|
||||||
startupinfo = subprocess.STARTUPINFO()
|
startupinfo = subprocess.STARTUPINFO()
|
||||||
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
|
# startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
|
||||||
proc = subprocess.Popen(cmdline, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
|
proc = subprocess.Popen(cmdline, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE, startupinfo=startupinfo, shell = False)
|
stderr=subprocess.PIPE, startupinfo=startupinfo, shell = False)
|
||||||
data, err = proc.communicate()
|
data, err = proc.communicate()
|
||||||
@ -276,14 +276,14 @@ def PrepareBuilding(env, root_directory):
|
|||||||
#env['LINKCOMSTR'] = "Link $TARGET"
|
#env['LINKCOMSTR'] = "Link $TARGET"
|
||||||
|
|
||||||
# board build script
|
# board build script
|
||||||
objs = SConscript('SConscript', variant_dir='bsp', duplicate=0)
|
objs = SConscript('SConscript', variant_dir='build/bsp', duplicate=0)
|
||||||
Repository(Rtt_Root)
|
Repository(Rtt_Root)
|
||||||
# include kernel
|
# include kernel
|
||||||
objs.append(SConscript('src/SConscript'))
|
objs.append(SConscript('src/SConscript', variant_dir='build/src', duplicate=0))
|
||||||
# include libcpu
|
# include libcpu
|
||||||
objs.append(SConscript('libcpu/SConscript'))
|
objs.append(SConscript('libcpu/SConscript', variant_dir='build/libcpu', duplicate=0))
|
||||||
# include components
|
# include components
|
||||||
objs.append(SConscript('components/SConscript'))
|
objs.append(SConscript('components/SConscript', variant_dir='build/components', duplicate=0))
|
||||||
|
|
||||||
return objs
|
return objs
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user