aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/turbostat
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-kernel/turbostat')
-rw-r--r--meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb b/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb
index 48c72140c8..02a6952188 100644
--- a/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb
+++ b/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb
@@ -11,10 +11,10 @@ DESCRIPTION = "The turbostat tool allows you to determine the actual \
processor frequency and idle power saving state residency on supported \
processors."
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://../COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://${UNPACKDIR}/COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux'
-COMPATIBLE_HOST_libc-musl = "null"
+COMPATIBLE_HOST:libc-musl = "null"
SRC_URI += "\
file://COPYING \
@@ -38,7 +38,7 @@ EXTRA_OEMAKE = '\
# do_configure() is invoked so we can safely copy from it.
#
do_configure[depends] += "virtual/kernel:do_shared_workdir"
-do_configure_prepend() {
+do_configure:prepend() {
mkdir -p ${S}
cp -r ${STAGING_KERNEL_DIR}/arch/x86/include/asm/msr-index.h ${S}
cp -r ${STAGING_KERNEL_DIR}/arch/x86/include/asm/intel-family.h ${S}
@@ -50,7 +50,7 @@ do_configure_prepend() {
cp -r ${STAGING_KERNEL_DIR}/include/linux/const.h ${S}
fi
cp -r ${STAGING_KERNEL_DIR}/tools/power/x86/turbostat/* ${S}
- cp -r ${WORKDIR}/COPYING ${S}
+ cp -r ${UNPACKDIR}/COPYING ${S}
}