Skip to contentSkip to conversation

gem5: use GEM5_RUN_PROFILE in DTB generation

PATCH New Adrian Herrera 1 participant 1 message Jan 28, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Change-Id If4658b8fcffaae82d3ddfb4cb4587e9eb1099ae0
---
 meta-gem5/recipes-devtools/gem5/gem5-aarch64-dtb.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gem5/recipes-devtools/gem5/gem5-aarch64-dtb.bb +1 -1
index b97a1b2..50ac030 100644
@@ -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
Signature · 1 line
2.29.2