From ef7f5e7c5825413c8ae35639208ed76fd7c219aa Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 18 May 2021 22:39:40 -0400 Subject: [PATCH] sloci-image: allow target and nativesdk variants We now have use cases for sloci that can run on the target itself, or have it used in a nativesdk scenario. To avoid the awkwardly named "nativesdk-sloci-image-native" or .inc files, we rename the recipe sloci-image_git and use BBCLASSEXTEND for native/nativesdk support This is similar to the change sent by: Hongxu Jia , but is updated to the current sloci-image recipe contents. Signed-off-by: Bruce Ashfield --- .../{sloci-image-native_git.bb => sloci-image_git.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename recipes-containers/sloci-image/{sloci-image-native_git.bb => sloci-image_git.bb} (93%) diff --git a/recipes-containers/sloci-image/sloci-image-native_git.bb b/recipes-containers/sloci-image/sloci-image_git.bb similarity index 93% rename from recipes-containers/sloci-image/sloci-image-native_git.bb rename to recipes-containers/sloci-image/sloci-image_git.bb index a68c6d9a..fc3c329e 100644 --- a/recipes-containers/sloci-image/sloci-image-native_git.bb +++ b/recipes-containers/sloci-image/sloci-image_git.bb @@ -11,8 +11,6 @@ DEPENDS = "" SRCREV = "4015e49763e5a738026a5bbfcf32b38b5a4fa650" PV = "v0.1.0+git${SRCPV}" -inherit native - S = "${WORKDIR}/git" do_compile() { @@ -25,3 +23,5 @@ do_install() { } CLEANBROKEN = "1" + +BBCLASSEXTEND = "native nativesdk"