Use TOOLCHAIN variable instead of directly inheriting the class.
Signed-off-by: Pawel Zalewski pzalewski@thegoodpenguin.co.uk --- meta-morello/recipes-kernel/linux/linux-morello.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/meta-morello/recipes-kernel/linux/linux-morello.inc b/meta-morello/recipes-kernel/linux/linux-morello.inc index 8ab7833..5257b90 100644 --- a/meta-morello/recipes-kernel/linux/linux-morello.inc +++ b/meta-morello/recipes-kernel/linux/linux-morello.inc @@ -1,4 +1,4 @@ -inherit llvm-morello-native + require recipes-kernel/linux/linux-yocto.inc COMPATIBLE_MACHINE = "morello" SUMMARY = "Morello Linux kernel fork" @@ -6,11 +6,15 @@ DESCRIPTION = "CHERI aware Linux kernel" OUTPUTS_NAME = "morello-linux" SECTION = "kernel"
+TOOLCHAIN = "${MORELLO_TOOLCHAIN}" + FILESEXTRAPATHS:prepend := "${THISDIR}:${THISDIR}/${PN}:"
DEPENDS += "rsync-native" PROVIDES += "virtual/${OUTPUTS_NAME}"
+DEPENDS:remove:toolchain-llvm-morello = "virtual/musl-morello" + SRC_URI = " \ git://git.morello-project.org/morello/kernel/linux;protocol=https;nobranch=1 \ "