Skip to contentSkip to conversation

libhugetlbfs: Extend arm32 support to include BE variants

PATCH In review Gary S. Robertson 2 participants 3 messages Aug 12, 2014 – Aug 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libhugetlbfs: Extend arm32 support to include BE variants

From: "Gary S. Robertson" <[email protected]>

Upstream Status: Submitted

This patch applies the same technique used by Koen Kool in the following patch which was accepted by the libhugetlbfs project:

[0a4f6] Add aarch64_be_support 2014-03-31 10:52:37

It modifies the libhugetlbfs Makefile to mark all 32-bit arm architectures as supported by the libhugetlbfs build. Builds and successful functional tests have been performed for armv7a LE and BE runtime platforms.

This patch replaces and renders obsolete the following patch:
arm32-support.patch by: Chunrong Guo <[email protected]>

---
 ...tend-arm32-support-to-include-BE-variants.patch |   38 ++++++++++++++++++++
 .../libhugetlbfs/files/arm32-support.patch         |   29 ---------------
 .../libhugetlbfs/libhugetlbfs_git.bb               |    2 +-
 3 files changed, 39 insertions(+), 30 deletions(-)
 create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch
 delete mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch
meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch new file +38 -0
new file mode 100644
index 0000000..f6147cb
@@ -0,0 +1,38 @@
+From 5af6dec8764375ca4f13bd9fed96af090228351a Mon Sep 17 00:00:00 2001
+From: "Gary S. Robertson" <[email protected]>
+Date: Mon, 11 Aug 2014 11:06:04 -0500
+Subject: [libhugetlbfs][PATCH] Extend arm32 support to include BE variants
+    
+This patch applies the same technique used by Koen Kool in the following patch
+which was accepted by the libhugetlbfs project:
+    
+[0a4f6] Add aarch64_be_support 2014-03-31 10:52:37
+    
+It modifies the libhugetlbfs Makefile to mark all 32-bit arm architectures
+as supported by the libhugetlbfs build.  Builds and successful functional
+tests have been performed for armv7a LE and BE runtime platforms.
+    
+This patch replaces and renders obsolete the following patch:
+arm32-support.patch submitted by: Chunrong Guo <[email protected]>
+
+Signed-off-by: Gary S. Robertson <[email protected]>
+---
+ Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 91502e1..ba79607 100644
+--- a/Makefile
++++ b/Makefile
+@@ -59,7 +59,7 @@ ELF32 = elf32ppclinux
+ TMPLIB32 = lib
+ CPPFLAGS += -DPPC_NO_SEGMENTS
+ else
+-ifeq ($(ARCH),armv7l)
++ifneq (,$(findstring arm,$(ARCH)))
+ CC32 = $(CC)
+ TMPLIB32 = lib
+ ELF32 += armelf_linux_eabi
+-- 
+1.7.9.5
+
meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch deleted +0 -29
deleted file mode 100644
index 96f162d..0000000
@@ -1,29 +0,0 @@
-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 +1 -1
index 315863d..851b050 100644
@@ -17,7 +17,7 @@ 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 \
+    file://0001-Extend-arm32-support-to-include-BE-variants.patch \
 "
 
 S = "${WORKDIR}/git"
Signature · 1 line
1.7.9.5
#1 lore raw

The patch to add support for all arm 32-bit variants has now been accepted by the libhugetlbfs project - but as yet I have received no feedback on adding the patch to the OE libhugetlbfs recipe. Did I format the patch or the subject line improperly? I am new to this mailing list so I'm not too confident that I have adhered to its common practices.

Gary Robertson

Quoted 133 lines · Gary S. Robertson

From: "Gary S. Robertson" <[email protected]>

Upstream Status: Submitted

This patch applies the same technique used by Koen Kool in the following patch
which was accepted by the libhugetlbfs project:

[0a4f6] Add aarch64_be_support 2014-03-31 10:52:37

It modifies the libhugetlbfs Makefile to mark all 32-bit arm architectures as supported by the libhugetlbfs build. Builds and successful functional tests have been performed for armv7a LE and BE runtime platforms.

This patch replaces and renders obsolete the following patch:
arm32-support.patch by: Chunrong Guo <[email protected]>

---
 ...tend-arm32-support-to-include-BE-variants.patch |   38
++++++++++++++++++++
 .../libhugetlbfs/files/arm32-support.patch         |   29 ---------------
 .../libhugetlbfs/libhugetlbfs_git.bb               |    2 +-
 3 files changed, 39 insertions(+), 30 deletions(-)
 create mode 100644
meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch
 delete mode 100644

meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch

diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch new file mode 100644
index 0000000..f6147cb
--- /dev/null
+++
b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch

meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch new file +6 -0
@@ -0,0 +1,38 @@
+From 5af6dec8764375ca4f13bd9fed96af090228351a Mon Sep 17 00:00:00 2001
+From: "Gary S. Robertson" <[email protected]>
+Date: Mon, 11 Aug 2014 11:06:04 -0500
+Subject: [libhugetlbfs][PATCH] Extend arm32 support to include BE variants
+
+This patch applies the same technique used by Koen Kool in the following

patch

meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch new file +32 -0
+which was accepted by the libhugetlbfs project:
+
+[0a4f6] Add aarch64_be_support 2014-03-31 10:52:37
+
+It modifies the libhugetlbfs Makefile to mark all 32-bit arm architectures
+as supported by the libhugetlbfs build.  Builds and successful functional
+tests have been performed for armv7a LE and BE runtime platforms.
+
+This patch replaces and renders obsolete the following patch:
+arm32-support.patch submitted by: Chunrong Guo <[email protected]>
+
+Signed-off-by: Gary S. Robertson <[email protected]>
+---
+ Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 91502e1..ba79607 100644
+--- a/Makefile
++++ b/Makefile
+@@ -59,7 +59,7 @@ ELF32 = elf32ppclinux
+ TMPLIB32 = lib
+ CPPFLAGS += -DPPC_NO_SEGMENTS
+ else
+-ifeq ($(ARCH),armv7l)
++ifneq (,$(findstring arm,$(ARCH)))
+ CC32 = $(CC)
+ TMPLIB32 = lib
+ ELF32 += armelf_linux_eabi
+--
+1.7.9.5
+

diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch deleted file mode 100644
index 96f162d..0000000

meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch deleted +0 -29
@@ -1,29 +0,0 @@
-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 +1 -1
index 315863d..851b050 100644
@@ -17,7 +17,7 @@ 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 \
+    file://0001-Extend-arm32-support-to-include-BE-variants.patch \
 "
 

S = "${WORKDIR}/git"
--
1.7.9.5

#2 lore raw
Quoted 5 lines · Gary Robertson

The patch to add support for all arm 32-bit variants has now been accepted by the libhugetlbfs project - but as yet I have received no feedback on adding the patch to the OE libhugetlbfs recipe. Did I format the patch or the subject line improperly? I am new to this mailing list so I'm not too confident that I have adhered to its common practices.

It looks OK to me and it's already queued in master-next.

Quoted 141 lines
Quoted 133 lines · Gary S. Robertson

From: "Gary S. Robertson" <[email protected]>

Upstream Status: Submitted

This patch applies the same technique used by Koen Kool in the following patch
which was accepted by the libhugetlbfs project:

[0a4f6] Add aarch64_be_support 2014-03-31 10:52:37

It modifies the libhugetlbfs Makefile to mark all 32-bit arm architectures as supported by the libhugetlbfs build. Builds and successful functional tests have been performed for armv7a LE and BE runtime platforms.

This patch replaces and renders obsolete the following patch:
arm32-support.patch by: Chunrong Guo <[email protected]>

---
 ...tend-arm32-support-to-include-BE-variants.patch |   38
++++++++++++++++++++
 .../libhugetlbfs/files/arm32-support.patch         |   29 ---------------
 .../libhugetlbfs/libhugetlbfs_git.bb               |    2 +-
 3 files changed, 39 insertions(+), 30 deletions(-)
 create mode 100644
meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch
 delete mode 100644

meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch

diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch new file mode 100644
index 0000000..f6147cb
--- /dev/null
+++
b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch

meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch new file +6 -0
@@ -0,0 +1,38 @@
+From 5af6dec8764375ca4f13bd9fed96af090228351a Mon Sep 17 00:00:00 2001
+From: "Gary S. Robertson" <[email protected]>
+Date: Mon, 11 Aug 2014 11:06:04 -0500
+Subject: [libhugetlbfs][PATCH] Extend arm32 support to include BE variants
+
+This patch applies the same technique used by Koen Kool in the following

patch

meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Extend-arm32-support-to-include-BE-variants.patch new file +32 -0
+which was accepted by the libhugetlbfs project:
+
+[0a4f6] Add aarch64_be_support 2014-03-31 10:52:37
+
+It modifies the libhugetlbfs Makefile to mark all 32-bit arm architectures
+as supported by the libhugetlbfs build.  Builds and successful functional
+tests have been performed for armv7a LE and BE runtime platforms.
+
+This patch replaces and renders obsolete the following patch:
+arm32-support.patch submitted by: Chunrong Guo <[email protected]>
+
+Signed-off-by: Gary S. Robertson <[email protected]>
+---
+ Makefile |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 91502e1..ba79607 100644
+--- a/Makefile
++++ b/Makefile
+@@ -59,7 +59,7 @@ ELF32 = elf32ppclinux
+ TMPLIB32 = lib
+ CPPFLAGS += -DPPC_NO_SEGMENTS
+ else
+-ifeq ($(ARCH),armv7l)
++ifneq (,$(findstring arm,$(ARCH)))
+ CC32 = $(CC)
+ TMPLIB32 = lib
+ ELF32 += armelf_linux_eabi
+--
+1.7.9.5
+

diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch deleted file mode 100644
index 96f162d..0000000

meta-oe/recipes-benchmark/libhugetlbfs/files/arm32-support.patch deleted +0 -29
@@ -1,29 +0,0 @@
-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 +1 -1
index 315863d..851b050 100644
@@ -17,7 +17,7 @@ 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 \
+    file://0001-Extend-arm32-support-to-include-BE-variants.patch \
 "
 

S = "${WORKDIR}/git"
--
1.7.9.5

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]