Use TOOLCHAIN variable instead of directly inheriting the class.
Signed-off-by: Pawel Zalewski pzalewski@thegoodpenguin.co.uk --- meta-morello/classes/pure-cap-application.bbclass | 2 -- .../recipes-morello-apps/applications/pure-cap-app.bb | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta-morello/classes/pure-cap-application.bbclass b/meta-morello/classes/pure-cap-application.bbclass index 78c01c9..4454173 100644 --- a/meta-morello/classes/pure-cap-application.bbclass +++ b/meta-morello/classes/pure-cap-application.bbclass @@ -2,8 +2,6 @@ OUTPUTS_NAME ?= "pure-cap-app-default-name"
FILESEXTRAPATHS:prepend := "${THISDIR}:${THISDIR}/${PN}:"
-DEPENDS += "virtual/musl-morello" - MUSL_HOME = "${STAGING_DIR_TARGET}${MUSL_INSTALL_DIR}"
INHIBIT_SYSROOT_STRIP = "1" diff --git a/meta-morello/recipes-morello-apps/applications/pure-cap-app.bb b/meta-morello/recipes-morello-apps/applications/pure-cap-app.bb index 7f3c6db..c1e9d86 100644 --- a/meta-morello/recipes-morello-apps/applications/pure-cap-app.bb +++ b/meta-morello/recipes-morello-apps/applications/pure-cap-app.bb @@ -1,4 +1,4 @@ -inherit pure-cap-application llvm-morello-native +inherit pure-cap-application
COMPATIBLE_MACHINE = "morello" SUMMARY = "Simple capability application" @@ -7,6 +7,8 @@ OUTPUTS_NAME = "pure-cap-app" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+TOOLCHAIN = "${MORELLO_TOOLCHAIN}" + PROVIDES = "${OUTPUTS_NAME}" RDEPENDS:${PN} = "musl-libc" RPROVIDES:${PN} = "${OUTPUTS_NAME}"