diff options
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/0001-mips-signalfd.h-SFD_NONBLOCK-for-mips-is-0200-unlike.patch | 33 | ||||
-rw-r--r-- | meta/recipes-core/uclibc/uclibc_git.bb | 3 |
2 files changed, 35 insertions, 1 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/0001-mips-signalfd.h-SFD_NONBLOCK-for-mips-is-0200-unlike.patch b/meta/recipes-core/uclibc/uclibc-git/0001-mips-signalfd.h-SFD_NONBLOCK-for-mips-is-0200-unlike.patch new file mode 100644 index 0000000000..6892ceb922 --- /dev/null +++ b/meta/recipes-core/uclibc/uclibc-git/0001-mips-signalfd.h-SFD_NONBLOCK-for-mips-is-0200-unlike.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From ecc7d34cbbaf83aae87b091555650ed33e27ed2e Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 30 Jun 2011 00:32:11 -0700 | ||
4 | Subject: [PATCH] mips/signalfd.h: SFD_NONBLOCK for mips is 0200 unlike 04000 commonly | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | include/sys/signalfd.h | 9 +++++++++ | ||
9 | 1 files changed, 9 insertions(+), 0 deletions(-) | ||
10 | |||
11 | diff --git a/include/sys/signalfd.h b/include/sys/signalfd.h | ||
12 | index 8cee17c..f1cb63a 100644 | ||
13 | --- a/include/sys/signalfd.h | ||
14 | +++ b/include/sys/signalfd.h | ||
15 | @@ -64,6 +64,15 @@ enum | ||
16 | # define SFD_NONBLOCK SFD_NONBLOCK | ||
17 | }; | ||
18 | |||
19 | +#elif defined __mips__ | ||
20 | +enum | ||
21 | + { | ||
22 | + SFD_CLOEXEC = 02000000, | ||
23 | +# define SFD_CLOEXEC SFD_CLOEXEC | ||
24 | + SFD_NONBLOCK = 0200 | ||
25 | +# define SFD_NONBLOCK SFD_NONBLOCK | ||
26 | + }; | ||
27 | + | ||
28 | #else | ||
29 | enum | ||
30 | { | ||
31 | -- | ||
32 | 1.7.0.4 | ||
33 | |||
diff --git a/meta/recipes-core/uclibc/uclibc_git.bb b/meta/recipes-core/uclibc/uclibc_git.bb index 201ec93f19..0e43f9e669 100644 --- a/meta/recipes-core/uclibc/uclibc_git.bb +++ b/meta/recipes-core/uclibc/uclibc_git.bb | |||
@@ -2,7 +2,7 @@ SRCREV="71d63ed75648da9b0b71afabb9c60aaad792c55c" | |||
2 | 2 | ||
3 | require uclibc.inc | 3 | require uclibc.inc |
4 | PV = "0.9.31+0.9.32rc3" | 4 | PV = "0.9.31+0.9.32rc3" |
5 | PR = "${INC_PR}.4" | 5 | PR = "${INC_PR}.5" |
6 | PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc" | 6 | PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc" |
7 | 7 | ||
8 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)}" | 8 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)}" |
@@ -30,5 +30,6 @@ SRC_URI = "git://uclibc.org/uClibc.git;branch=master;protocol=git \ | |||
30 | file://orign_path.patch \ | 30 | file://orign_path.patch \ |
31 | file://rtld_no.patch \ | 31 | file://rtld_no.patch \ |
32 | file://0001-Config.in.arch-Free-UCLIBC_HAS_FPU-setting-from-depe.patch \ | 32 | file://0001-Config.in.arch-Free-UCLIBC_HAS_FPU-setting-from-depe.patch \ |
33 | file://0001-mips-signalfd.h-SFD_NONBLOCK-for-mips-is-0200-unlike.patch \ | ||
33 | " | 34 | " |
34 | S = "${WORKDIR}/git" | 35 | S = "${WORKDIR}/git" |