mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-06 02:40:18 +00:00
gem5: use GEM5_RUN_PROFILE in DTB generation
Allows to generate DTBs from profiles other than baremetal.py, which is the default established by the layer. Signed-off-by: Adrian Herrera <adrian.herrera@arm.com> Change-Id: Ic990bd6751e473756d0739f421dce4b8f98248d7 Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
f8e79562f9
commit
51e014fd47
@@ -11,7 +11,7 @@ do_configure[noexec] = "1"
|
||||
do_compile() {
|
||||
# generate a dtb using gem5
|
||||
gem5.opt \
|
||||
${STAGING_DATADIR_NATIVE}/gem5/configs/example/arm/baremetal.py \
|
||||
${STAGING_DATADIR_NATIVE}/gem5/${GEM5_RUN_PROFILE} \
|
||||
--dtb-gen
|
||||
|
||||
if [ ! -f m5out/system.dtb ]; then
|
||||
|
||||
Reference in New Issue
Block a user