summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace
diff options
context:
space:
mode:
authorKoen Kooi <koen.kooi@linaro.org>2015-04-15 14:32:37 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-19 13:34:42 +0100
commitbb9b0e3fdb43aaea04ce7246296f8ad781abdbaf (patch)
tree9466deb197150c64be47b46fe1eabefe891c1555 /meta/recipes-devtools/strace
parentf40a2d61c846c6c9e7fc7456ad6f5d89621a1e61 (diff)
downloadpoky-bb9b0e3fdb43aaea04ce7246296f8ad781abdbaf.tar.gz
strace: fix build for aarch64
Upstream added aarch64 support but forgot to update 'make dist' leading to missing files in the tarball. (From OE-Core rev: a40309f284805e8cda024f7299a676cfdf8f97a5) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/strace')
-rw-r--r--meta/recipes-devtools/strace/strace/0001-Add-linux-aarch64-arch_regs.h.patch25
-rw-r--r--meta/recipes-devtools/strace/strace_4.10.bb1
2 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/strace/strace/0001-Add-linux-aarch64-arch_regs.h.patch b/meta/recipes-devtools/strace/strace/0001-Add-linux-aarch64-arch_regs.h.patch
new file mode 100644
index 0000000000..f70766b646
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/0001-Add-linux-aarch64-arch_regs.h.patch
@@ -0,0 +1,25 @@
1From f85854131c8265f2eb59c714dcea5c4b3dc09bed Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen.kooi@linaro.org>
3Date: Wed, 15 Apr 2015 14:29:37 +0200
4Subject: [PATCH] Add linux/aarch64/arch_regs.h
5
6It is missing from the tarball, but it is present in git for v4.10
7
8Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
9Upstream-status: Pending
10---
11 linux/aarch64/arch_regs.h | 2 ++
12 1 file changed, 2 insertions(+)
13 create mode 100644 linux/aarch64/arch_regs.h
14
15diff --git a/linux/aarch64/arch_regs.h b/linux/aarch64/arch_regs.h
16new file mode 100644
17index 0000000..9a5e33e
18--- /dev/null
19+++ b/linux/aarch64/arch_regs.h
20@@ -0,0 +1,2 @@
21+extern uint64_t *const aarch64_sp_ptr;
22+extern uint32_t *const arm_sp_ptr;
23--
241.9.3
25
diff --git a/meta/recipes-devtools/strace/strace_4.10.bb b/meta/recipes-devtools/strace/strace_4.10.bb
index 416c38756a..707cb765c9 100644
--- a/meta/recipes-devtools/strace/strace_4.10.bb
+++ b/meta/recipes-devtools/strace/strace_4.10.bb
@@ -5,6 +5,7 @@ LICENSE = "BSD"
5LIC_FILES_CHKSUM = "file://COPYING;md5=124500c21e856f0912df29295ba104c7" 5LIC_FILES_CHKSUM = "file://COPYING;md5=124500c21e856f0912df29295ba104c7"
6 6
7SRC_URI = "${SOURCEFORGE_MIRROR}/strace/strace-${PV}.tar.xz \ 7SRC_URI = "${SOURCEFORGE_MIRROR}/strace/strace-${PV}.tar.xz \
8 file://0001-Add-linux-aarch64-arch_regs.h.patch \
8 file://git-version-gen \ 9 file://git-version-gen \
9 file://strace-add-configure-options.patch \ 10 file://strace-add-configure-options.patch \
10 file://Makefile-ptest.patch \ 11 file://Makefile-ptest.patch \