diff options
Diffstat (limited to 'meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch')
-rw-r--r-- | meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch new file mode 100644 index 0000000000..96f162dd94 --- /dev/null +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | Upstream-Status: Submitted | ||
2 | |||
3 | This patch adds support for arm32. | ||
4 | |||
5 | Signed-off-by: Chunrong Guo <B40290@freescale.com> | ||
6 | |||
7 | --- a/Makefileold 2014-06-17 21:55:23.131058918 -0500 | ||
8 | +++ b/Makefile 2014-06-17 21:56:08.726098531 -0500 | ||
9 | @@ -59,6 +59,12 @@ | ||
10 | TMPLIB32 = lib | ||
11 | CPPFLAGS += -DPPC_NO_SEGMENTS | ||
12 | else | ||
13 | +ifeq ($(ARCH),arm) | ||
14 | +CC32 = $(CC) | ||
15 | +TMPLIB32 = lib | ||
16 | +ELF32 += armelf_linux_eabi | ||
17 | +CUSTOM_LDSCRIPTS = no | ||
18 | +else | ||
19 | ifeq ($(ARCH),armv7l) | ||
20 | CC32 = $(CC) | ||
21 | TMPLIB32 = lib | ||
22 | @@ -116,6 +122,7 @@ | ||
23 | endif | ||
24 | endif | ||
25 | endif | ||
26 | +endif | ||
27 | |||
28 | ifdef CC32 | ||
29 | OBJDIRS += obj32 | ||