From 5a4e4c532cbef3f2ac398a8a74645f7adc4f5db3 Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Tue, 4 Jun 2024 01:18:05 +0300 Subject: [PATCH] android-tools-configfs: Fix build-time warning about S in a second instance of recipe 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} () 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 Signed-off-by: Khem Raj --- .../android-tools/android-tools-conf-configfs_1.0.bb | 3 +++ 1 file changed, 3 insertions(+) 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 35b3a5c08b..86b0ce0778 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 \