diff --git a/recipes-extended/ltp/ltp/0001-ptrace-Do-not-include-asm-ptrace.h-on-riscv.patch b/recipes-extended/ltp/ltp/0001-ptrace-Do-not-include-asm-ptrace.h-on-riscv.patch deleted file mode 100644 index baf15df..0000000 --- a/recipes-extended/ltp/ltp/0001-ptrace-Do-not-include-asm-ptrace.h-on-riscv.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 826dee234397233597849e4d2682f4fea5275afd Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Tue, 5 Mar 2019 13:24:25 -0800 -Subject: [PATCH] ptrace: Do not include asm/ptrace.h on riscv - -These defines conflict with bits/signal.h especially on musl - -Signed-off-by: Khem Raj ---- - testcases/kernel/syscalls/ptrace/ptrace.h | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - ---- a/testcases/kernel/syscalls/ptrace/ptrace.h -+++ b/testcases/kernel/syscalls/ptrace/ptrace.h -@@ -15,10 +15,7 @@ - # define ia64_fpreg FU_ia64_fpreg - # define pt_all_user_regs FU_pt_all_user_regs - #endif --#ifdef HAVE_ASM_PTRACE_H --# include --#endif --#ifdef HAVE_LINUX_PTRACE_H -+#if defined(HAVE_LINUX_PTRACE_H) && !defined(__riscv) - # ifndef HAVE_STRUCT_PTRACE_PEEKSIGINFO_ARGS - # include - # endif diff --git a/recipes-extended/ltp/ltp_%.bbappend b/recipes-extended/ltp/ltp_%.bbappend deleted file mode 100644 index e407784..0000000 --- a/recipes-extended/ltp/ltp_%.bbappend +++ /dev/null @@ -1,4 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -SRC_URI_append_riscv64 = " file://0001-ptrace-Do-not-include-asm-ptrace.h-on-riscv.patch" -SRC_URI_append_riscv32 = " file://0001-ptrace-Do-not-include-asm-ptrace.h-on-riscv.patch"