Commit Graph

416 Commits

Author SHA1 Message Date
bernard.xiong 7cc241301a Add GlobSubDir() function in building.py; Fix the import issue in wizard.py.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2320 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-06 00:12:38 +00:00
bernard.xiong@gmail.com 3816661798 Add buildlib option; Add wizard script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2316 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-05 13:18:00 +00:00
wuyangyong 52fdfa1bf8 add GetConfigValue() by Grissiom.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2284 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-09 04:10:14 +00:00
bernard.xiong@gmail.com 8e95bc94b6 add --copy-header option to copy header of RT-Thread to local.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2257 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-22 06:19:04 +00:00
bernard.xiong@gmail.com 7472bfded3 Add MakeCopy function on the building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2252 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-11 08:43:47 +00:00
bernard.xiong@gmail.com f6df9adbb2 fix the win32 path issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2244 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-01 07:33:58 +00:00
bernard.xiong@gmail.com dddbd5078b Fix the GNU GCC path issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2241 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-31 23:15:51 +00:00
chaos.proton@gmail.com 8cf479caaa add "remove_components" feature
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-07-22 11:17:04 +00:00
chaos.proton@gmail.com 0b1f748701 fix a warning in keil.py
Fix the warning:

E:\projects\rt-thread\rtthread-svn\trunk\tools\keil.py:72: FutureWarning: The behavior of this method will change in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
  if not groups:

See http://docs.python.org/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.remove for detail.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2226 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-22 10:49:52 +00:00
dzzxzz@gmail.com 6c19a26481 add the search path to right place for IAR(M16C)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2188 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-26 06:50:23 +00:00
bernard.xiong@gmail.com 9e884249b4 fixed RTT_ROOT directory issue if there is a components directory under BSP.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1972 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-19 09:25:34 +00:00
bernard.xiong@gmail.com 3fd6fd1f05 cleanup the building script in tools.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1970 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-19 09:11:35 +00:00
bernard.xiong@gmail.com 4cc052e155 fix GNU GCC path issue in building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1953 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-17 09:20:33 +00:00
bernard.xiong@gmail.com cc2ce9fa40 fix print out warning information when use GCC as compiler.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1952 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-17 00:41:19 +00:00
goprife@gmail.com e1b5d48c9b fix bugs in building.py that is when DefineGroup method's 3rd arges "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
2012-01-31 01:41:14 +00:00
bernard.xiong@gmail.com 107ed32e80 add buildbot script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1909 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-08 03:14:19 +00:00
bernard.xiong@gmail.com a5a7c47d04 add merge group function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1832 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-10 15:31:55 +00:00
bernard.xiong@gmail.com 6bd0252e26 update SrcRemove function in building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1830 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-10 13:14:26 +00:00
goprife@gmail.com 819fd97ff8 add source remove method
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1816 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-29 03:49:14 +00:00
chaos.proton@gmail.com f8bbcf9aef if --target is set, adjust CROSS_TOOL and PLATFORM automatically
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1792 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-09 02:42:48 +00:00
bernard.xiong@gmail.com 6aa93f460a fixed file name with Chinese encoding issue, which is merged from chaos.proton@gmail.com.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1779 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-30 00:44:18 +00:00
qiuyiuestc@gmail.com 02c43b16b0 add PrepareModuleBuilding function
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1736 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-04 01:05:11 +00:00
bernard.xiong c3854e20bb fix the output message.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1606 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 06:39:32 +00:00
bernard.xiong 8dd602108a rollback the command too long patch.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1598 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 04:06:38 +00:00
bernard.xiong 64b1c01fe0 MDK4 project generation can support same named file in project.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1567 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 08:22:47 +00:00
bernard.xiong@gmail.com 0af1367525 add '#define DD 0' support.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1553 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-29 15:18:51 +00:00
bernard.xiong 42d3a22e90 add GetCurrentDir function to get a SConscript directory.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1544 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-29 05:15:31 +00:00
bernard.xiong 06b8498d63 add IAR project file generation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1537 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-24 09:05:40 +00:00
bernard.xiong 7008612767 support Keil MDK4 project file generation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1536 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-24 06:16:20 +00:00
qiuyiuestc@gmail.com 28fbe864e4 fix command line too long problem
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1500 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-14 00:20:06 +00:00
qiuyiuestc@gmail.com 8c3d1e5eae clean up tools directory, put these files in www.rt-thread.org forum
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1493 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-12 10:01:47 +00:00
mbbill@gmail.com 70bafa328a move net/apps to lwip folder
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1484 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-10 03:57:32 +00:00
bernard.xiong@gmail.com 0513333a10 Add RT_LWIP_VER130, RT_LWIP_VER140 options.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1476 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-09 14:07:59 +00:00
bernard.xiong@gmail.com d84cef41c4 add has_libcpu option in PrepareBuilding function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1461 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-07 16:13:00 +00:00
mbbill@gmail.com f666fd926b Since telnet is not installed by default from Windows Vista and later, it's better to use putty in command line.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1434 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-25 16:05:51 +00:00
qiuyiuestc d9256a31a1 update qemu/mini2440 on ubuntu to support keypad
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1431 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-24 00:25:46 +00:00
qiuyiuestc 2fef2112f2 update SDCARD for running FTK
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1426 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-23 13:10:01 +00:00
qiuyiuestc@gmail.com 712aacd367 update rtconfig.h and SConstruct
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1424 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-23 01:46:59 +00:00
qiuyiuestc@gmail.com fe9f043b55 upgrade ftk demos
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1423 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-23 01:33:31 +00:00
qiuyiuestc 477dec24b4 add qemu/mini2440 emulator on Ubuntu
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1421 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-21 10:28:10 +00:00
qiuyiuestc@gmail.com 6a27c24e1e modify DefineGroup function to return librarys
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1418 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-18 01:05:52 +00:00
bernard.xiong@gmail.com 62b4ca8d49 update building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1381 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-04-19 13:02:25 +00:00
iamyhw@gmail.com ed85f737d1 modity,use zip file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1247 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-16 15:22:44 +00:00
iamyhw@gmail.com efb0772053 fix up
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1246 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-16 15:16:09 +00:00
iamyhw@gmail.com ac07efd463 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1245 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-01-16 14:15:31 +00:00
bernard.xiong@gmail.com 58f21a0179 change output directory to 'build'
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1201 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-13 14:24:40 +00:00
wuyangyong e583f2031b modify *.uV2 --> *.Uv2 for mdk project file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1147 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 18:16:06 +00:00
bernard.xiong b37abcd94f update building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1139 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 11:32:56 +00:00
bernard.xiong@gmail.com b5a2fde359 modify stderr display in building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1105 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-24 00:06:06 +00:00
bernard.xiong@gmail.com bc6e8c544a add stdout display in building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1095 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-22 15:34:44 +00:00
bernard.xiong@gmail.com 10732a76e9 cleanup scons building script
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1065 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-20 12:31:00 +00:00
qiuyiuestc 1eb9b5c074 implement virtual key in QEMU/mini2440
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1023 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-19 10:12:00 +00:00
qiuyiuestc 37b7910412 update rtmlinker
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@910 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-13 01:18:51 +00:00
qiuyiuestc 2c32bb90a4 rename postlinker to rtmlinker && add post action
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@812 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-22 13:19:09 +00:00
qiuyiuestc bddebf3408 add postlinker.exe for dynamic module loader
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@803 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-18 16:19:48 +00:00
bernard.xiong a9bf7a9a38 fix assemble file issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@681 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-02 08:37:23 +00:00
qiuyiuestc bb3e4d4f6a [mini2440]add module application files to sd card
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@653 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-19 15:05:07 +00:00
bernard.xiong 85946a3c0d add scons --target=mdk option for STM3210 porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@643 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 23:48:59 +00:00
bernard.xiong 99bfaf72d9 modify building script for components.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@642 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-18 22:16:50 +00:00
qiuyiuestc 2fdf112063 [mini2440]add emulator debug document
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@402 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-11 01:09:16 +00:00
qiuyiuestc 5678d65e15 Add Qemu-mini2440 emulator handbook
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@376 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-05 16:25:21 +00:00
qiuyiuestc fa68c661fe update run-mini2440-sdcard.bat
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@361 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-01 16:32:55 +00:00
qiuyiuestc 294e4dfa83 add putty tool for mini2440 emulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@360 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-02-01 16:26:46 +00:00
qiuyiuestc 5a4047c1b1 add startup option for QEMU/mini2440 emulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@353 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-31 05:34:58 +00:00
qiuyiuestc c32da35296 touch panel is available in QEMU/mini2440 emulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@349 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-29 15:55:37 +00:00
qiuyiuestc 9fb4908710 support for mini2440 emulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@336 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-01-25 16:44:49 +00:00