1. 30 5月, 2018 1 次提交
  2. 14 5月, 2018 1 次提交
    • B
      Add GCC version detection. · 6ac213d6
      Bernard Xiong 提交于
      Add cconfig.h file for different version of GCC, which is automatically
      detected and generated by scons script.
      6ac213d6
  3. 15 4月, 2018 1 次提交
  4. 07 4月, 2018 1 次提交
  5. 01 3月, 2018 1 次提交
  6. 16 1月, 2018 1 次提交
  7. 29 12月, 2017 1 次提交
  8. 02 12月, 2017 1 次提交
  9. 30 11月, 2017 1 次提交
  10. 25 11月, 2017 1 次提交
  11. 13 11月, 2017 1 次提交
  12. 06 11月, 2017 1 次提交
  13. 04 11月, 2017 1 次提交
  14. 02 11月, 2017 1 次提交
  15. 24 10月, 2017 1 次提交
  16. 31 1月, 2017 1 次提交
  17. 28 10月, 2016 1 次提交
  18. 08 3月, 2016 1 次提交
  19. 14 10月, 2015 1 次提交
  20. 11 10月, 2015 1 次提交
  21. 09 8月, 2015 1 次提交
  22. 04 8月, 2015 1 次提交
  23. 27 7月, 2015 1 次提交
  24. 25 7月, 2015 1 次提交
  25. 04 5月, 2015 1 次提交
  26. 10 4月, 2015 1 次提交
  27. 18 3月, 2015 1 次提交
  28. 14 3月, 2015 1 次提交
    • B
      [Tools] Add bsp_directory. · 1d23ce6c
      Bernard Xiong 提交于
      Add bsp_directory for PrepareModuleBuilding function and module building environment can parse rtconfig.h too.
      1d23ce6c
  29. 23 1月, 2015 1 次提交
  30. 19 11月, 2014 2 次提交
  31. 18 11月, 2014 1 次提交
  32. 08 10月, 2014 2 次提交
    • G
      tools: fix SrcRemove on empty src · d33df46f
      Grissiom 提交于
      If the src is empty list, it will crash at:
      
          IndexError: list index out of range:
            File "/home/xxx/src/SConstruct", line 39:
              objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=True)
            ...
            File "/home/xxx/src/drivers/SConscript", line 12:
              SrcRemove(src, src_need_remove)
            File "/home/rt-thread-stable/tools/building.py", line 496:
              if type(src[0]) == type('str'):
      d33df46f
    • G
      tools: preserve the order of CPPPATH/CPPDEFINES/LIBPATH/LIBS · 2c5eea4c
      Grissiom 提交于
      The order of them are important while the uniqueness has nothing to do
      with the compiling.
      2c5eea4c
  33. 06 9月, 2014 1 次提交
  34. 01 9月, 2014 1 次提交
    • G
      tools/building: remove the use of startupinfo · 51c4a3ae
      Grissiom 提交于
      The startupinfo does not have any visible effects on the building
      process and some old Python version does not have it at all. So remove
      it for the seek of simple.
      
      Tested `scons -j4` in a dual core virtual machine.
      51c4a3ae
  35. 09 6月, 2014 1 次提交
  36. 24 5月, 2014 1 次提交
    • G
      Scons: fix the Win32Spawn · 66ac9821
      Grissiom 提交于
      Windows(tm) CreateProcess does not use the env passed to it to find the
      executables. So we have to modify our own PATH to make Popen work. Also,
      detect the cmd build-in commands and execute it directly.
      
      Tested on MDK toolchain on RB4088 and the MSVS toolchain on simulator
      BSP.
      66ac9821
  37. 10 4月, 2014 2 次提交
    • G
      scons: no need to set RTT_ROOT as Repository · 81b284b3
      Grissiom 提交于
      In SCons manual:
      
      =================
      In order to inform the C compiler about the repositories,  SCons will
      add appropriate -I flags to the compilation commands for each directory
      in the $CPPPATH list. So if we add the current directory to the
      construction environment $CPPPATH like so:
      
          env = Environment(CPPPATH = ['.'])
          env.Program('hello.c')
          Repository('/usr/repository1')
      
      Then re-executing SCons yields:
      
          % scons -Q
          cc -o hello.o -c -I. -I/usr/repository1 hello.c
          cc -o hello hello.o
      =================
      
      The additional include directory is definitely not what we want. Just
      remove the additional Repository line.
      81b284b3
    • G
      scons: seperate the BSP build with the kernel build · a03816ef
      Grissiom 提交于
      BSPs could have their own components/ etc. If they point to the same
      folder, SCons would find the wrong source code to compile.
      a03816ef