diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2013-01-21 14:31:38 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-01-25 13:11:47 +0100 |
commit | 0c7b009c99adc37d828a9587934e38130aa732c6 (patch) | |
tree | af0dc57fdbd81e21eb042fdf7c23f81b1abebcaa /meta-oe/recipes-support | |
parent | 3409e2ff98cdd48e70ebf027e40b8b936cdab919 (diff) | |
download | meta-openembedded-0c7b009c99adc37d828a9587934e38130aa732c6.tar.gz |
fuse: add aarch64 support
u64/u32 is not defined in sys/types.h, include linux/types.h like
the kernel version of fuse.h does. Patch sent to upstream mailing list.
Upstream-Status: Submitted
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r-- | meta-oe/recipes-support/fuse/fuse-2.9.2/aarch64.patch | 20 | ||||
-rw-r--r-- | meta-oe/recipes-support/fuse/fuse_2.9.2.bb | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/fuse/fuse-2.9.2/aarch64.patch b/meta-oe/recipes-support/fuse/fuse-2.9.2/aarch64.patch new file mode 100644 index 000000000..180f544f4 --- /dev/null +++ b/meta-oe/recipes-support/fuse/fuse-2.9.2/aarch64.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Upstream-Status: Submitted | ||
2 | |||
3 | Signed-off-by: Riku Voipio <riku.voipio@linaro.org> | ||
4 | |||
5 | --- a/include/fuse_kernel.h | ||
6 | +++ b/include/fuse_kernel.h | ||
7 | @@ -88,12 +88,7 @@ | ||
8 | #ifndef _LINUX_FUSE_H | ||
9 | #define _LINUX_FUSE_H | ||
10 | |||
11 | -#include <sys/types.h> | ||
12 | -#define __u64 uint64_t | ||
13 | -#define __s64 int64_t | ||
14 | -#define __u32 uint32_t | ||
15 | -#define __s32 int32_t | ||
16 | -#define __u16 uint16_t | ||
17 | +#include <linux/types.h> | ||
18 | |||
19 | /* | ||
20 | * Version negotiation: | ||
diff --git a/meta-oe/recipes-support/fuse/fuse_2.9.2.bb b/meta-oe/recipes-support/fuse/fuse_2.9.2.bb index 23b944730..b558c4dcf 100644 --- a/meta-oe/recipes-support/fuse/fuse_2.9.2.bb +++ b/meta-oe/recipes-support/fuse/fuse_2.9.2.bb | |||
@@ -9,6 +9,7 @@ PR = "r1" | |||
9 | 9 | ||
10 | SRC_URI = "${SOURCEFORGE_MIRROR}/fuse/fuse-${PV}.tar.gz \ | 10 | SRC_URI = "${SOURCEFORGE_MIRROR}/fuse/fuse-${PV}.tar.gz \ |
11 | file://gold-unversioned-symbol.patch \ | 11 | file://gold-unversioned-symbol.patch \ |
12 | file://aarch64.patch \ | ||
12 | " | 13 | " |
13 | SRC_URI[md5sum] = "7d80d0dc9cc2b9199a0c53787c151205" | 14 | SRC_URI[md5sum] = "7d80d0dc9cc2b9199a0c53787c151205" |
14 | SRC_URI[sha256sum] = "81a728fb3f87da33063068735e2fb7e2cd89df207d32687d3d3278385279cefc" | 15 | SRC_URI[sha256sum] = "81a728fb3f87da33063068735e2fb7e2cd89df207d32687d3d3278385279cefc" |