summaryrefslogtreecommitdiff
path: root/tools/building.py
AgeCommit message (Collapse)Author
2012-08-11Add MakeCopy function on the building script. [email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2252 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-01fix the win32 path issue.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2244 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-31Fix the GNU GCC path issue.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2241 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-22add "remove_components" feature[email protected]
If one do not want to use some components in the RTT_ROOT, it can pass a remove_components=['the_component'] parameter to PrepareBuilding. Sample code is: RTT_RTGUI = os.getenv('RTT_RTGUI') # if GUI dir is set to other place, don't use the one in RTT_ROOT if RTT_RTGUI: # prepare building environment objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False, remove_components=['rtgui']) objs += SConscript(os.path.join(RTT_RTGUI, 'SConscript')) else: objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False) You can safely omit the parameter if you do not want to remove any components. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2227 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-19fixed RTT_ROOT directory issue if there is a components directory under BSP.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1972 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-19cleanup the building script in tools.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1970 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-17fix GNU GCC path issue in building script.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1953 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-17fix print out warning information when use GCC as compiler.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1952 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-31fix bugs in building.py that is when DefineGroup method's 3rd arges ↵[email protected]
"CPPDEFINES" is not null, then "scons --target=mdk -s" will get errors. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1930 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-10add merge group function.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1832 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-10update SrcRemove function in building script.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1830 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-29add source remove method[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1816 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-09if --target is set, adjust CROSS_TOOL and PLATFORM automatically[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1792 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-30fixed file name with Chinese encoding issue, which is merged from ↵[email protected]
[email protected]. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1779 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-04add PrepareModuleBuilding function[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1736 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04fix the output message.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1606 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04rollback the command too long patch.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1598 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01MDK4 project generation can support same named file in project.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1567 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-29add '#define DD 0' support.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1553 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-29add GetCurrentDir function to get a SConscript directory.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1544 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-24add IAR project file generation.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1537 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-24support Keil MDK4 project file generation.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1536 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-14fix command line too long problem[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1500 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10move net/apps to lwip folder[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1484 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-09Add RT_LWIP_VER130, RT_LWIP_VER140 options.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1476 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-07add has_libcpu option in PrepareBuilding function.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1461 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-23update rtconfig.h and SConstruct[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1424 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-18modify DefineGroup function to return librarys[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1418 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-04-19update building script.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1381 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-13change output directory to 'build'[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1201 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29modify *.uV2 --> *.Uv2 for mdk project filewuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1147 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29update building script.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1139 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-24modify stderr display in building script.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1105 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-22add stdout display in building script.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1095 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-20cleanup scons building script[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1065 bbd45198-f89e-11dd-88c7-29a3b14d5316