diff options
Diffstat (limited to 'meta-linaro/recipes-kernel/perf/perf.bbappend')
-rw-r--r-- | meta-linaro/recipes-kernel/perf/perf.bbappend | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-linaro/recipes-kernel/perf/perf.bbappend b/meta-linaro/recipes-kernel/perf/perf.bbappend new file mode 100644 index 0000000..075e673 --- /dev/null +++ b/meta-linaro/recipes-kernel/perf/perf.bbappend | |||
@@ -0,0 +1,21 @@ | |||
1 | LICENSE = "GPL-2" | ||
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" | ||
3 | |||
4 | PV = "3.17" | ||
5 | |||
6 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
7 | SRC_URI = "${DEBIAN_MIRROR}/main/l/linux-tools/linux-tools_3.17.orig.tar.xz \ | ||
8 | file://0001-perf-tools-Fix-arm64-build-error.patch \ | ||
9 | file://0001-perf-tools-Fix-build-breakage-on-arm64-targets.patch \ | ||
10 | " | ||
11 | |||
12 | SRC_URI[md5sum] = "6c78f25c86761a60b89235e12bc109a8" | ||
13 | SRC_URI[sha256sum] = "51162320841053fcf06070b6d5a6d984fb4c429e3ba3dc6d4eec021d374b926f" | ||
14 | |||
15 | S = "${WORKDIR}/linux-tools-${PV}" | ||
16 | B = "${WORKDIR}/linux-tools-${PV}" | ||
17 | |||
18 | do_compile_prepend() { | ||
19 | mkdir -p ${S}/include/generated | ||
20 | echo "#define UTS_RELEASE \"${PV}\"" > ${S}/include/generated/utsrelease.h | ||
21 | } | ||