From 58e3c4d56be159fe8dedd398527caf625458f380 Mon Sep 17 00:00:00 2001 From: "Roy.Li" Date: Mon, 23 Jun 2014 14:28:30 +0800 Subject: qemu: exclude some ARM EABI obsolete syscalls some syscalls are obsolete and no longer available for EABI, exclude them to fix the below error: In file included from qemu-seccomp.c:16:0: qemu-seccomp.c:28:7: error: '__NR_select' undeclared here (not in a function) { SCMP_SYS(select), 252 }, ^ qemu-seccomp.c:36:7: error: '__NR_mmap' undeclared here (not in a function) { SCMP_SYS(mmap), 247 }, ^ qemu-seccomp.c:57:7: error: '__NR_getrlimit' undeclared here (not in a function) { SCMP_SYS(getrlimit), 245 }, ^ qemu-seccomp.c:96:7: error: '__NR_time' undeclared here (not in a function) { SCMP_SYS(time), 245 }, ^ qemu-seccomp.c:185:7: error: '__NR_alarm' undeclared here (not in a function) { SCMP_SYS(alarm), 241 }, please refer source files: arch/arm/include/uapi/asm/unistd.h or kernel header: /usr/include/asm/unistd.h (From OE-Core rev: 49257247fdc57e9296520bbd598fd8cbf425d44a) Signed-off-by: Roy.Li Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-devtools/qemu/qemu.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/qemu/qemu.inc') diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 611ee61..ccd7908 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -20,6 +20,7 @@ SRC_URI = "\ file://no-strip.patch \ file://larger_default_ram_size.patch \ file://disable-grabs.patch \ + file://exclude-some-arm-EABI-obsolete-syscalls.patch \ " SRC_URI_append_class-native = "\ -- cgit v1.1