summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel
diff options
context:
space:
mode:
authoralperak <alperyasinak1@gmail.com>2024-06-21 13:02:44 +0300
committerKhem Raj <raj.khem@gmail.com>2024-06-21 21:45:10 -0700
commitd1a5739b34834ffde2a15bd69c9df2ed1ae96ab1 (patch)
tree3fd279b58e408deb10f18541c9a1af7af5859c6a /meta-oe/recipes-kernel
parent5e675238676356d91770e5649c1df9b8cce9c64b (diff)
downloadmeta-openembedded-d1a5739b34834ffde2a15bd69c9df2ed1ae96ab1.tar.gz
recipes: set S to fix the QA warning
Fix the warning by pointing S to ${WORKDIR}/sources and UNPACKDIR to ${S}. Since recent UNPACKDIR work, default S directory is not created anymore. By setting UNPACKDIR to S, S in indirectly created in do_unpack. Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel')
-rw-r--r--meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb b/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb
index 02a6952188..4770fae50e 100644
--- a/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb
+++ b/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb
@@ -20,6 +20,9 @@ SRC_URI += "\
20 file://COPYING \ 20 file://COPYING \
21 " 21 "
22 22
23S = "${WORKDIR}/sources"
24UNPACKDIR = "${S}"
25
23PACKAGE_ARCH = "${MACHINE_ARCH}" 26PACKAGE_ARCH = "${MACHINE_ARCH}"
24DEPENDS = "libcap" 27DEPENDS = "libcap"
25 28
@@ -50,7 +53,6 @@ do_configure:prepend() {
50 cp -r ${STAGING_KERNEL_DIR}/include/linux/const.h ${S} 53 cp -r ${STAGING_KERNEL_DIR}/include/linux/const.h ${S}
51 fi 54 fi
52 cp -r ${STAGING_KERNEL_DIR}/tools/power/x86/turbostat/* ${S} 55 cp -r ${STAGING_KERNEL_DIR}/tools/power/x86/turbostat/* ${S}
53 cp -r ${UNPACKDIR}/COPYING ${S}
54} 56}
55 57
56 58