Commit Graph

124 Commits

Author SHA1 Message Date
Bernard Xiong 1d70af9b94 [tools] fix the spawn except handling. 2018-12-24 09:08:22 +08:00
SummerGift cb6f902135 [tools][dist] optimize stm32 bsp dist function 2018-12-18 13:37:59 +08:00
SummerGift 968110ffd6 [bsp][stm32] add scons --dist function 2018-12-13 12:05:40 +08:00
Bernard Xiong 27ec671eab [Tools] Add a draft project generator for SES. 2018-11-21 01:04:16 +08:00
Bernard Xiong 42d988ed67 [Tools] Fix the RTT_ROOT issue 2018-11-11 20:04:25 +08:00
Bernard Xiong d687cfb228 [Tools] Change building script for Py3 2018-11-10 18:29:08 +08:00
ArdaFu e7ca31ccaa [tools] Modify building.py and gcc.py for work with Python 3. 2018-11-07 13:40:41 +08:00
ArdaFu 3a63c0af56 [Tools] Modify buliding.py and gcc.py for work with python 3. 2018-11-07 13:38:57 +08:00
weety 937e22fc8b Add scons --pyconfig command for configure project. 2018-09-04 17:14:33 +08:00
liang yongxiang 1f389c684b [tools] add scons --dist-strip support 2018-08-03 11:09:01 +08:00
aozima 0fbd8bf167 [scons] remove check whether exist group library. 2018-07-16 22:45:29 +08:00
armink dc7522b7ca [tools] Fix SCons build error when `RTT_EXEC_PATH` not found. 2018-06-27 08:27:45 +08:00
armink dbe8e60fcc [tools] Change the generate cconfig.h code position for fix the 'scons --target=cc' problem. 2018-06-23 12:04:17 +08:00
armink b7f7d6e6b2 [tools] Fix the IDE project build error when using 'scons --target=cc'. 2018-06-22 15:05:33 +08:00
xieyangrun 82a50f29e9 [tools/building.py]fixed SrcRemove 2018-06-14 11:55:15 +08:00
xieyangrun 86ae6146fd [tools/building.py]fixed SrcRemove /\ convert issue. 2018-06-14 09:30:35 +08:00
liang yongxiang 4e937887f6 [tools] add target=cdk in building script 2018-06-11 09:44:10 +08:00
armink 67dd8c4a0d [tools][scons] Fix error notice when 'EXEC_PATH' is not exist. 2018-06-07 17:35:31 +08:00
armink 1c37c813b5 [tools][scons] Add error notice when 'EXEC_PATH' is not exist. 2018-06-07 15:44:26 +08:00
ArdaFu 099062de78 [tools][building] Add ASFLAGS in DefineGroup. 2018-06-04 14:18:31 +08:00
Bernard Xiong 9f0998abb8 [Tools] Remove `scons --test` argument. 2018-05-31 09:58:35 +08:00
Bernard Xiong fd0ae67289 [Tools] Add target=vsc in building script. 2018-05-30 18:01:24 +08:00
Bernard Xiong 6ac213d622 Add GCC version detection.
Add cconfig.h file for different version of GCC, which is automatically
detected and generated by scons script.
2018-05-14 21:37:11 +08:00
Bernard Xiong 74d045093b [tools] Fix the sys.path issue in IARVersion. 2018-04-15 14:39:35 +08:00
aozima 0d1f75453b update scons script: strict SrcRemove() match rule. 2018-04-07 17:50:14 +08:00
Bernard Xiong 15fa3084c3 [Kernel] include finsh.h file in rtthread.h when RT_USING_FINSH enable 2018-03-01 18:12:49 +08:00
Bernard Xiong c472533f02 [Tools] Add _REENT_SMALL definition when enable nano-newlib 2018-01-16 20:21:40 +08:00
bernard bc6703d0be [Tools] Add useconfig option for scons. 2017-12-29 22:26:39 +08:00
bernard c0b2a1a4b4 [Tools] Add g++ link patch when enble C++. 2017-12-02 10:53:19 +08:00
Bernard Xiong 89afad784c [Tools] Add menuconfig script 2017-11-30 19:56:05 +08:00
bernard adfb73cd8c [Tools] Fix the abspath issue of Rtt_Root in building.py. 2017-11-25 07:37:07 +08:00
MurphyZhao 7b2628393b [tools/building.py][Fix] Add `do_copy_file` function form `mkdist` 2017-11-13 14:15:16 +08:00
Bernard Xiong 5293dddd00 [Tools] Remove menuconfig command in scons 2017-11-06 14:01:48 +08:00
bernard 6f6dd80103 [Tools] Add scons --dist command. 2017-11-04 17:39:45 +08:00
bernard f08d1f5034 [Tools] Add genconfig command in scons. 2017-11-02 16:57:17 +08:00
aozima a1902f2de0 update SrcRemove(): auto detect string or file object. 2017-10-24 09:49:48 +08:00
Bernard Xiong a7c4a23c67 [tools] add --menuconfig option for scons 2017-01-31 13:22:56 +00:00
Bernard Xiong 4730a45ab3 [tools] Add LocalOption routines. 2016-10-28 22:12:24 +08:00
onelife aee3a1d4c5 SCons PreProcessor patch: Stop processing "#define" in false condition
Example "rtconfig.h" content:
 ...
 //#define BOARD_USING_LED
 #if defined(BOARD_USING_LED)
 #define RT_USING_RTGUI
 #endif
 ...

- Before patching, RTGUI module will be built although not intend to do so.
- After patching, RTGUI module will not be built.
2016-03-08 01:42:01 +08:00
Bernard Xiong 1086f6cfa0 [Tools] Fix the buildlib with LOCAL_* options group 2015-10-14 11:07:42 +08:00
Bernard Xiong 2e2886168e [Tools] Add win32 spawn patch for module building. 2015-10-11 15:34:32 +08:00
Bernard Xiong fc54a74abb [BSP] stm32f7-disco cleanup 2015-08-09 09:17:28 +08:00
Bernard Xiong 1a5c579e71 [Tools] merge local modification 2015-08-09 00:03:40 +08:00
Bernard Xiong 804e23a3aa [tools] fix the list in list issue when use LOCAL_* options 2015-08-04 09:43:27 +08:00
Bernard Xiong 0af2be6b5d [Tools] Add LOCAL_* options for group definition 2015-07-27 10:34:53 +08:00
Bernard Xiong f5217d6a9c [Tools] Add LOCAL_* options for group definition 2015-07-25 23:50:17 +08:00
Bernard Xiong 448f9c9a7a [tools] Fix ua target issue. 2015-05-04 22:04:01 +08:00
Bernard Xiong 1f95de43aa [tools] Add package.json as building script 2015-04-10 06:35:59 +00:00
Grissiom 43e020d481 building: PrepareBuilding forgot to declare BuildOptions as global
The global variables in the building.py are totally a pile of shit.
2015-03-18 15:50:10 +08:00
Bernard Xiong 1d23ce6cbd [Tools] Add bsp_directory.
Add bsp_directory for PrepareModuleBuilding function and module building environment can parse rtconfig.h too.
2015-03-14 09:46:37 +08:00