diff mbox series

[meta-arago,master,24/26] netperf: Wrap the bbappend in a compliant manner

Message ID 20250320181047.18035-25-reatmon@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series Wrap bbappends in a compliant manner | expand

Commit Message

Ryan Eatmon March 20, 2025, 6:10 p.m. UTC
Wrap the bbappend in a yocto-check-layer compliant manner so that only
if you are building this recipe under meta-arago-distro with the arago
DISTRO_OVERRIDE would the bbappend apply.

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

Patch

diff --git a/meta-arago-distro/recipes-support/netperf/netperf_git.bbappend b/meta-arago-distro/recipes-support/netperf/netperf-arago.inc
similarity index 100%
copy from meta-arago-distro/recipes-support/netperf/netperf_git.bbappend
copy to meta-arago-distro/recipes-support/netperf/netperf-arago.inc
diff --git a/meta-arago-distro/recipes-support/netperf/netperf_git.bbappend b/meta-arago-distro/recipes-support/netperf/netperf_git.bbappend
index f63b608f..e31e7081 100644
--- a/meta-arago-distro/recipes-support/netperf/netperf_git.bbappend
+++ b/meta-arago-distro/recipes-support/netperf/netperf_git.bbappend
@@ -1 +1,4 @@ 
-CFLAGS += "-fcommon"
+NETPERF_ARAGO = ""
+NETPERF_ARAGO:arago = "netperf-arago.inc"
+
+require ${NETPERF_ARAGO}