Message ID | 20240603221805.3807991-1-dmitry.baryshkov@linaro.org |
---|---|
State | Accepted |
Headers | show |
Series | [meta-oe] android-tools-configfs: Fix build-time warning about S in a second instance of recipe | expand |
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs_1.0.bb b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs_1.0.bb index 35b3a5c08b6b..86b0ce0778f8 100644 --- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs_1.0.bb +++ b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs_1.0.bb @@ -3,6 +3,9 @@ SECTION = "console/utils" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" +S = "${WORKDIR}/sources" +UNPACKDIR = "${S}" + SRC_URI = " \ file://android-gadget-setup \ file://android-gadget-start \
android-tools-configfs doesn't have any checked out source files, which results in a warning regarding S not existing. Fix the warning by pointing S to ${WORKDIR}/sources and UNPACKDIR to ${S}. Fix the warning for the selinux-enabled recipe. The warning text: WARNING: android-tools-conf-configfs-1.0-r0 do_unpack: android-tools-conf-configfs: the directory ${WORKDIR}/${BP} (<scrubbed>) pointed to by the S variable doesn't exist - please set S within the recipe to point to where the source has been unpacked to Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> --- .../android-tools/android-tools-conf-configfs_1.0.bb | 3 +++ 1 file changed, 3 insertions(+)