cmake: gem5-related build system updates
The build system now allows incremental gem5 builds. Unfortunately, the current solution always requires re-linking the executable. Without the enforcement of re-linking, the fail code will be rebuilt but not linked into gem5. The number of cores for building gem5 is derived from /proc/cpuinfo. As before, only the gem5.debug configuration is supported. Change-Id: Ib13b15d1ecd62196eb251e0fd00953f4eb052feb
Showing
- cmake/ExternalProjectGem5Specific.cmake 1181 additions, 0 deletionscmake/ExternalProjectGem5Specific.cmake
- cmake/gem5.cmake 63 additions, 11 deletionscmake/gem5.cmake
- doc/how-to-build.txt 3 additions, 10 deletionsdoc/how-to-build.txt
- simulators/gem5/SConstruct 14 additions, 0 deletionssimulators/gem5/SConstruct
- src/core/sal/gem5/Gem5Controller.cc 0 additions, 3 deletionssrc/core/sal/gem5/Gem5Controller.cc
cmake/ExternalProjectGem5Specific.cmake
0 → 100644
This diff is collapsed.
Please register or sign in to comment