diff mbox series

[meta-arago,master,7/9] nbench-byte: Wrap the bbappend in a compliant manner

Message ID 20250519170055.22364-8-reatmon@ti.com
State Under Review
Delegated to: Ryan Eatmon
Headers show
Series Cleanup for auto checking | expand

Commit Message

Ryan Eatmon May 19, 2025, 5 p.m. UTC
Wrap the bbappend in a yocto-check-layer compliant manner so that only
if you are building this recipe under meta-ti-bsp with ti-soc in the
MACHINE_OVERRIDES would the bbappend apply.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 .../{nbench-byte_%.bbappend => nbench-byte-ti.inc}           | 0
 .../recipes-benchmark/nbench-byte/nbench-byte_%.bbappend     | 5 ++++-
 2 files changed, 4 insertions(+), 1 deletion(-)
 copy meta-arago-test/recipes-benchmark/nbench-byte/{nbench-byte_%.bbappend => nbench-byte-ti.inc} (100%)
diff mbox series

Patch

diff --git a/meta-arago-test/recipes-benchmark/nbench-byte/nbench-byte_%.bbappend b/meta-arago-test/recipes-benchmark/nbench-byte/nbench-byte-ti.inc
similarity index 100%
copy from meta-arago-test/recipes-benchmark/nbench-byte/nbench-byte_%.bbappend
copy to meta-arago-test/recipes-benchmark/nbench-byte/nbench-byte-ti.inc
diff --git a/meta-arago-test/recipes-benchmark/nbench-byte/nbench-byte_%.bbappend b/meta-arago-test/recipes-benchmark/nbench-byte/nbench-byte_%.bbappend
index f571f368..dfe5ea96 100644
--- a/meta-arago-test/recipes-benchmark/nbench-byte/nbench-byte_%.bbappend
+++ b/meta-arago-test/recipes-benchmark/nbench-byte/nbench-byte_%.bbappend
@@ -1 +1,4 @@ 
-ARM_INSTRUCTION_SET = "arm"
+NBENCH_BYTE_TI = ""
+NBENCH_BYTE_TI:ti-soc = "nbench-byte-ti.inc"
+
+require ${NBENCH_BYTE_TI}