gem5/cmake: gem5 build integration into Fail*

The SConscript in src/core/sal/gem5 is now generated via CMake
(SConscript.in).  No more hardcoded relative paths -> Fail* build
folder can now be anywhere.  Experiment and Plugin libraries are now
set automagically (using ${EXPERIMENTS_ACTIVATED} /
${PLUGINS_ACTIVATED})

Generated SConscript now resides in binary dir.

Change-Id: I1bf2e17c83c95ffdcf6801c02481064fcb63bfb0
This commit is contained in:
Martin Hoffmann
2013-05-23 18:37:22 +02:00
committed by Horst Schirmeier
parent e006c4da0a
commit a3cbb7c690
4 changed files with 23 additions and 6 deletions

View File

@ -4,7 +4,7 @@ if(BUILD_GEM5)
SET(VARIANT gem5)
set(gem5_src_dir ${PROJECT_SOURCE_DIR}/simulators/gem5)
set(gem5_wrapper ${PROJECT_SOURCE_DIR}/src/core/sal/gem5)
set(gem5_wrapper ${PROJECT_BINARY_DIR}/src/core/sal/gem5)
set(gem5_build_config build/ARM/gem5.debug)
## Determine the number of cores:
set(core_count 0) # unknown