libhugetlbfs: arm 32bit support
PATCH 1/1 libhugetlbfs: arm 32bit support
From: Chunrong Guo <[email protected]>
--- .../libhugetlbfs/files/arm32-support.patch | 29 ++++++++++++++++++++++ .../libhugetlbfs/libhugetlbfs_git.bb | 3 ++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch
meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch new file +29 -0
@@ -0,0 +1,29 @@ +Upstream-Status: Submitted + +This patch adds support for arm32. + +Signed-off-by: Chunrong Guo <[email protected]> + +--- a/Makefileold 2014-06-17 21:55:23.131058918 -0500 ++++ b/Makefile 2014-06-17 21:56:08.726098531 -0500 +@@ -59,6 +59,12 @@ + TMPLIB32 = lib + CPPFLAGS += -DPPC_NO_SEGMENTS + else ++ifeq ($(ARCH),arm) ++CC32 = $(CC) ++TMPLIB32 = lib ++ELF32 += armelf_linux_eabi ++CUSTOM_LDSCRIPTS = no ++else + ifeq ($(ARCH),armv7l) + CC32 = $(CC) + TMPLIB32 = lib +@@ -116,6 +122,7 @@ + endif + endif + endif ++endif + + ifdef CC32 + OBJDIRS += obj32
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +2 -1
@@ -14,11 +14,12 @@ SRC_URI = "git://git.code.sf.net/p/libhugetlbfs/code \ file://0001-aarch64-fix-cross-compilation.patch \ file://0001-aarch64-fix-page-size-not-properly-computed.patch \ file://0001-replace-lib-lib64-hardcoded-values-by-LIBDIR32-LIBDI.patch \ + file://arm32-support.patch \ " S = "${WORKDIR}/git" -COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64).*-linux*" +COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64|arm).*-linux*" LIBARGS = "LIB32=${baselib} LIB64=${baselib}" EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=1"
Signature · 1 line
1.9.2
Pings.
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, June 18, 2014 11:12 AM
To: [email protected]
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290
Subject: [meta-oe][PATCH] libhugetlbfs: arm 32bit support
From: Chunrong Guo <[email protected]>
--- .../libhugetlbfs/files/arm32-support.patch | 29 ++++++++++++++++++++++ .../libhugetlbfs/libhugetlbfs_git.bb | 3 ++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch
meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch new file +29 -0
@@ -0,0 +1,29 @@ +Upstream-Status: Submitted + +This patch adds support for arm32. + +Signed-off-by: Chunrong Guo <[email protected]> + +--- a/Makefileold 2014-06-17 21:55:23.131058918 -0500 ++++ b/Makefile 2014-06-17 21:56:08.726098531 -0500 +@@ -59,6 +59,12 @@ + TMPLIB32 = lib + CPPFLAGS += -DPPC_NO_SEGMENTS + else ++ifeq ($(ARCH),arm) ++CC32 = $(CC) ++TMPLIB32 = lib ++ELF32 += armelf_linux_eabi ++CUSTOM_LDSCRIPTS = no ++else + ifeq ($(ARCH),armv7l) + CC32 = $(CC) + TMPLIB32 = lib +@@ -116,6 +122,7 @@ + endif + endif + endif ++endif + + ifdef CC32 + OBJDIRS += obj32
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +2 -1
@@ -14,11 +14,12 @@ SRC_URI = "git://git.code.sf.net/p/libhugetlbfs/code \ file://0001-aarch64-fix-cross-compilation.patch \ file://0001-aarch64-fix-page-size-not-properly-computed.patch \ file://0001-replace-lib-lib64-hardcoded-values-by-LIBDIR32-LIBDI.patch \ + file://arm32-support.patch \ " S = "${WORKDIR}/git" -COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64).*-linux*" +COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64|arm).*-linux*" LIBARGS = "LIB32=${baselib} LIB64=${baselib}" EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=1"
--
1.9.2
Quoted 1 line · On Mon, Jun 30, 2014 at 02:25:30AM +0000, [email protected] wrote:
Pings.
libhugetlbfs was failing in last world builds, so I haven't merged it yet (waiting for another build to confirm that it was or wasn't caused by this change).
Quoted 76 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, June 18, 2014 11:12 AM
To: [email protected]
Cc: Liu Ting-B28495; Luo Zhenhua-B19537; Guo Chunrong-B40290
Subject: [meta-oe][PATCH] libhugetlbfs: arm 32bit supportFrom: Chunrong Guo <[email protected]>
Signed-off-by Chunrong Guo <[email protected]>--- .../libhugetlbfs/files/arm32-support.patch | 29 ++++++++++++++++++++++ .../libhugetlbfs/libhugetlbfs_git.bb | 3 ++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patchmeta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch new file +29
-0@@ -0,0 +1,29 @@ +Upstream-Status: Submitted + +This patch adds support for arm32. + +Signed-off-by: Chunrong Guo <[email protected]> + +--- a/Makefileold 2014-06-17 21:55:23.131058918 -0500 ++++ b/Makefile 2014-06-17 21:56:08.726098531 -0500 +@@ -59,6 +59,12 @@ + TMPLIB32 = lib + CPPFLAGS += -DPPC_NO_SEGMENTS + else ++ifeq ($(ARCH),arm) ++CC32 = $(CC) ++TMPLIB32 = lib ++ELF32 += armelf_linux_eabi ++CUSTOM_LDSCRIPTS = no ++else + ifeq ($(ARCH),armv7l) + CC32 = $(CC) + TMPLIB32 = lib +@@ -116,6 +122,7 @@ + endif + endif + endif ++endif + + ifdef CC32 + OBJDIRS += obj32meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +2
-2@@ -14,11 +14,12 @@ SRC_URI = "git://git.code.sf.net/p/libhugetlbfs/code \ file://0001-aarch64-fix-cross-compilation.patch \ file://0001-aarch64-fix-page-size-not-properly-computed.patch \ file://0001-replace-lib-lib64-hardcoded-values-by-LIBDIR32-LIBDI.patch \ + file://arm32-support.patch \ " S = "${WORKDIR}/git" -COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64).*-linux*" +COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64|arm).*-linux*" LIBARGS = "LIB32=${baselib} LIB64=${baselib}" EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=1" --1.9.2
Signature · 4 lines
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]