Use TOOLCHAIN variable instead of directly inheriting the class.
Signed-off-by: Pawel Zalewski pzalewski@thegoodpenguin.co.uk --- meta-morello/recipes-core/busybox/busybox-morello.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta-morello/recipes-core/busybox/busybox-morello.inc b/meta-morello/recipes-core/busybox/busybox-morello.inc index 97bb2ef..cb1e577 100644 --- a/meta-morello/recipes-core/busybox/busybox-morello.inc +++ b/meta-morello/recipes-core/busybox/busybox-morello.inc @@ -1,10 +1,12 @@ -inherit llvm-morello-native +
COMPATIBLE_MACHINE = "morello" SUMMARY = "CHERI enabled busybox" LICENSE = "GPL-2.0-only" SECTION = "base"
+TOOLCHAIN = "${MORELLO_TOOLCHAIN}" + FILESEXTRAPATHS:prepend := "${THISDIR}:${THISDIR}/${PN}:"
DEPENDS += "virtual/kernel virtual/musl-morello"