From 1f33c1fb4d9ddf2e62fba582e0ec4229f210c6ed Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 1 Apr 2009 20:16:23 -0400 Subject: ltp: Fix building on ARM. The no_epoll_create2_mips.patch also applies for ARM, and probably a few others still (that I haven't tried). Rename to no_epoll_create2.patch and apply on arm/armeb. --- recipes/ltp/ltp-20090131/no_epoll_create2.patch | 17 +++++++++++++++++ recipes/ltp/ltp-20090131/no_epoll_create2_mips.patch | 17 ----------------- recipes/ltp/ltp_20090131.bb | 6 ++++-- 3 files changed, 21 insertions(+), 19 deletions(-) create mode 100644 recipes/ltp/ltp-20090131/no_epoll_create2.patch delete mode 100644 recipes/ltp/ltp-20090131/no_epoll_create2_mips.patch (limited to 'recipes/ltp') diff --git a/recipes/ltp/ltp-20090131/no_epoll_create2.patch b/recipes/ltp/ltp-20090131/no_epoll_create2.patch new file mode 100644 index 0000000000..84ce8e4128 --- /dev/null +++ b/recipes/ltp/ltp-20090131/no_epoll_create2.patch @@ -0,0 +1,17 @@ +--- + testcases/kernel/syscalls/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: ltp-full-20090131/testcases/kernel/syscalls/Makefile +=================================================================== +--- ltp-full-20090131.orig/testcases/kernel/syscalls/Makefile ++++ ltp-full-20090131/testcases/kernel/syscalls/Makefile +@@ -25,7 +25,7 @@ EXCLUDE_DIR=epoll + # + # Commented this out since there are directories here we don't want built by default + # +-SUBDIR = `ls */Makefile | sed "s/Makefile//g"` ++SUBDIR = `ls */Makefile | sed "s/Makefile//g | grep -vE "^epoll_create2""` + UCLINUX_SUBDIR = `ls */Makefile | sed "s/Makefile//g" | grep -vE "^fork|epoll|capget|capset|chmod|chown|llseek|nftw|clone|profil|getcontext"` + + all: diff --git a/recipes/ltp/ltp-20090131/no_epoll_create2_mips.patch b/recipes/ltp/ltp-20090131/no_epoll_create2_mips.patch deleted file mode 100644 index 84ce8e4128..0000000000 --- a/recipes/ltp/ltp-20090131/no_epoll_create2_mips.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- - testcases/kernel/syscalls/Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: ltp-full-20090131/testcases/kernel/syscalls/Makefile -=================================================================== ---- ltp-full-20090131.orig/testcases/kernel/syscalls/Makefile -+++ ltp-full-20090131/testcases/kernel/syscalls/Makefile -@@ -25,7 +25,7 @@ EXCLUDE_DIR=epoll - # - # Commented this out since there are directories here we don't want built by default - # --SUBDIR = `ls */Makefile | sed "s/Makefile//g"` -+SUBDIR = `ls */Makefile | sed "s/Makefile//g | grep -vE "^epoll_create2""` - UCLINUX_SUBDIR = `ls */Makefile | sed "s/Makefile//g" | grep -vE "^fork|epoll|capget|capset|chmod|chown|llseek|nftw|clone|profil|getcontext"` - - all: diff --git a/recipes/ltp/ltp_20090131.bb b/recipes/ltp/ltp_20090131.bb index 61775cf753..4793d24e27 100644 --- a/recipes/ltp/ltp_20090131.bb +++ b/recipes/ltp/ltp_20090131.bb @@ -14,8 +14,10 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/ltp/ltp-full-${PV}.tgz \ file://no-IDcheck.patch;patch=1 \ file://no_hyperthreading_tests.patch;patch=1" -SRC_URI_append_mips += "file://no_epoll_create2_mips.patch;patch=1" -SRC_URI_append_mipsel += "file://no_epoll_create2_mips.patch;patch=1" +SRC_URI_append_mips += "file://no_epoll_create2.patch;patch=1" +SRC_URI_append_mipsel += "file://no_epoll_create2.patch;patch=1" +SRC_URI_append_arm += "file://no_epoll_create2.patch;patch=1" +SRC_URI_append_armeb += "file://no_epoll_create2.patch;patch=1" S = "${WORKDIR}/ltp-full-${PV}" -- cgit 1.2.3-korg