summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-08-28 20:35:48 -0700
committerKhem Raj <raj.khem@gmail.com>2018-08-29 18:18:13 -0700
commit48b61ca65257b03b19cfdb4cdb2ff57e0804abc0 (patch)
treeb788fa914bdbb454f39516f5e5941927c95c4f7f /meta-oe
parent840850e834d9ee3d51b0ea9fcd169448e46e9747 (diff)
downloadmeta-openembedded-48b61ca65257b03b19cfdb4cdb2ff57e0804abc0.tar.gz
turbostat: Provide a persistent COPYING file
we were having static md5 sum but the COPYING file was very much tied to certain versions of kernel this makes it fail for several different kernel versions so lets keep the upstream version of copying file Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-kernel/turbostat/turbostat/COPYING18
-rw-r--r--meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb13
2 files changed, 24 insertions, 7 deletions
diff --git a/meta-oe/recipes-kernel/turbostat/turbostat/COPYING b/meta-oe/recipes-kernel/turbostat/turbostat/COPYING
new file mode 100644
index 000000000..da4cb28fe
--- /dev/null
+++ b/meta-oe/recipes-kernel/turbostat/turbostat/COPYING
@@ -0,0 +1,18 @@
1The Linux Kernel is provided under:
2
3 SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
4
5Being under the terms of the GNU General Public License version 2 only,
6according with:
7
8 LICENSES/preferred/GPL-2.0
9
10With an explicit syscall exception, as stated at:
11
12 LICENSES/exceptions/Linux-syscall-note
13
14In addition, other licenses may also apply. Please see:
15
16 Documentation/process/license-rules.rst
17
18for more details.
diff --git a/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb b/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb
index 355941794..dc3e78feb 100644
--- a/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb
+++ b/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb
@@ -12,16 +12,15 @@ processor frequency and idle power saving state residency on supported \
12processors." 12processors."
13 13
14LICENSE = "GPLv2" 14LICENSE = "GPLv2"
15LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" 15LIC_FILES_CHKSUM = "file://../COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
16
17COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux' 16COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux'
18COMPATIBLE_HOST_libc-musl = "null" 17COMPATIBLE_HOST_libc-musl = "null"
19 18
20DEPENDS = "virtual/kernel" 19SRC_URI += "\
20 file://COPYING \
21 "
21 22
22do_fetch[noexec] = "1" 23DEPENDS = "virtual/kernel"
23do_unpack[noexec] = "1"
24do_patch[noexec] = "1"
25 24
26# This looks in S, so we better make sure there's 25# This looks in S, so we better make sure there's
27# something in the directory. 26# something in the directory.
@@ -43,7 +42,7 @@ do_configure_prepend() {
43 cp -r ${STAGING_KERNEL_DIR}/arch/x86/include/asm/msr-index.h ${S} 42 cp -r ${STAGING_KERNEL_DIR}/arch/x86/include/asm/msr-index.h ${S}
44 cp -r ${STAGING_KERNEL_DIR}/arch/x86/include/asm/intel-family.h ${S} 43 cp -r ${STAGING_KERNEL_DIR}/arch/x86/include/asm/intel-family.h ${S}
45 cp -r ${STAGING_KERNEL_DIR}/tools/power/x86/turbostat/* ${S} 44 cp -r ${STAGING_KERNEL_DIR}/tools/power/x86/turbostat/* ${S}
46 cp -r ${STAGING_KERNEL_DIR}/COPYING ${S} 45 cp -r ${WORKDIR}/COPYING ${S}
47} 46}
48 47
49do_compile() { 48do_compile() {