mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-12 03:10:15 +00:00
gem5: support for EXTRAS
External models can be added to gem5 through EXTRAS: https://www.gem5.org/documentation/general_docs/building/EXTRAS Added GEM5_EXTRAS to the gem5-native recipe to support it. Signed-off-by: Adrián Herrera Arcila <adrian.herrera@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
fe7c4c6ee0
commit
e8334d3309
@@ -12,10 +12,15 @@ GEM5_BUILD_VARIANT ?= "opt"
|
||||
# What gem5 binary are we building
|
||||
GEM5_BUILD_CONFIGS ?= "build/X86/gem5.{GEM5_BUILD_VARIANT}"
|
||||
|
||||
# Extra directories with sources for gem5 build. Intended to be used from
|
||||
# machine configuration files, to add out-of-tree gem5 models of their
|
||||
# hardware components.
|
||||
GEM5_EXTRAS ?= ""
|
||||
|
||||
# Scons build arguments
|
||||
GEM5_SCONS_ARGS ?= "CC=${BUILD_CC} CXX=${BUILD_CXX} \
|
||||
AS=${BUILD_AS} AR=${BUILD_AR} ${GEM5_BUILD_CONFIGS} \
|
||||
PYTHON_CONFIG=python3-config"
|
||||
PYTHON_CONFIG=python3-config EXTRAS=${GEM5_EXTRAS}"
|
||||
|
||||
# Default profile to run
|
||||
GEM5_RUN_PROFILE ?= "configs/example/fs.py"
|
||||
|
||||
Reference in New Issue
Block a user