All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH 01/12] poco: Backport riscv support patch
Date: Tue,  5 Mar 2019 21:45:37 -0800	[thread overview]
Message-ID: <20190306054548.16430-1-raj.khem@gmail.com> (raw)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...riscv64-by-Manuel-A.-Fernandez-Monte.patch | 41 +++++++++++++++++++
 meta-oe/recipes-support/poco/poco_1.9.0.bb    |  1 +
 2 files changed, 42 insertions(+)
 create mode 100644 meta-oe/recipes-support/poco/poco/0001-Support-of-arch-riscv64-by-Manuel-A.-Fernandez-Monte.patch

diff --git a/meta-oe/recipes-support/poco/poco/0001-Support-of-arch-riscv64-by-Manuel-A.-Fernandez-Monte.patch b/meta-oe/recipes-support/poco/poco/0001-Support-of-arch-riscv64-by-Manuel-A.-Fernandez-Monte.patch
new file mode 100644
index 0000000000..72d89d09b2
--- /dev/null
+++ b/meta-oe/recipes-support/poco/poco/0001-Support-of-arch-riscv64-by-Manuel-A.-Fernandez-Monte.patch
@@ -0,0 +1,41 @@
+From ed04c97abe015a226269de391e36c4d251292725 Mon Sep 17 00:00:00 2001
+From: Francis ANDRE <francis.andre.kampbell@orange.fr>
+Date: Sun, 6 May 2018 12:28:25 +0200
+Subject: [PATCH] Support of arch riscv64 by Manuel A. Fernandez Montecelo
+ <mafm@debian.org>
+
+---
+ Foundation/include/Poco/Platform.h | 6 +++++-
+ Foundation/src/utils.h             | 1 +
+ 2 files changed, 6 insertions(+), 1 deletion(-)
+
+--- a/Foundation/include/Poco/Platform.h
++++ b/Foundation/include/Poco/Platform.h
+@@ -134,6 +134,7 @@
+ #define POCO_ARCH_NIOS2   0x0e
+ #define POCO_ARCH_AARCH64 0x0f
+ #define POCO_ARCH_ARM64   0x0f // same as POCO_ARCH_AARCH64
++#define POCO_ARCH_RISCV64 0x10
+ 
+ 
+ #if defined(__ALPHA) || defined(__alpha) || defined(__alpha__) || defined(_M_ALPHA)
+@@ -224,6 +225,9 @@
+ #elif defined(__AARCH64EB__)
+ 	#define POCO_ARCH POCO_ARCH_AARCH64
+ 	#define POCO_ARCH_BIG_ENDIAN 1
++#elif defined(__riscv) && (__riscv_xlen == 64)
++	#define POCO_ARCH POCO_ARCH_RISCV64
++	#define POCO_ARCH_LITTLE_ENDIAN 1
+ #endif
+ 
+ 
+--- a/Foundation/src/utils.h
++++ b/Foundation/src/utils.h
+@@ -63,6 +63,7 @@
+     defined(__SH4__) || defined(__alpha__) || \
+     defined(_MIPS_ARCH_MIPS32R2) || \
+     defined(__AARCH64EL__) || \
++    defined(__riscv) || \
+     defined(nios2) || defined(__nios2) || defined(__nios2__)
+ #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
+ #elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
diff --git a/meta-oe/recipes-support/poco/poco_1.9.0.bb b/meta-oe/recipes-support/poco/poco_1.9.0.bb
index 258cc4994f..70b251034b 100644
--- a/meta-oe/recipes-support/poco/poco_1.9.0.bb
+++ b/meta-oe/recipes-support/poco/poco_1.9.0.bb
@@ -11,6 +11,7 @@ DEPENDS = "libpcre zlib"
 SRC_URI = " \
     git://github.com/pocoproject/poco.git;branch=poco-${PV} \
     file://0001-Don-t-try-to-install-non-existing-Encodings-testsuit.patch \
+    file://0001-Support-of-arch-riscv64-by-Manuel-A.-Fernandez-Monte.patch \
     file://run-ptest \
    "
 SRCREV = "daf00da73ab917e4d4581e3aa00c0ee61e0cc58b"
-- 
2.21.0



             reply	other threads:[~2019-03-06  5:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-06  5:45 Khem Raj [this message]
2019-03-06  5:45 ` [meta-multimedia][PATCH 02/12] liboil: Fix build on risc-v Khem Raj
2019-03-06  5:45 ` [meta-oe][PATCH 03/12] msgpack-c: Upgrade to 3.1.1 Khem Raj
2019-03-06  5:45 ` [meta-python][PATCH 04/12] python-greenlet: Upgrade to 0.4.15 Khem Raj
2019-03-06  5:45 ` [meta-python][PATCH 05/12] python-grpcio: Upgrade to 1.19.0 Khem Raj
2019-03-06  5:45 ` [meta-networking][PATCH 06/12] inetutils: Fix build on RISC-V Khem Raj
2019-03-07 17:23   ` Adrian Bunk
2019-03-07 17:25     ` Khem Raj
2019-03-07 20:48       ` Tom Rini
2019-03-07 20:53         ` Khem Raj
2019-03-07 21:01           ` Tom Rini
2019-03-06  5:45 ` [meta-oe][PATCH 07/12] nmap: " Khem Raj
2019-03-06  5:45 ` [meta-webserver][PATCH 08/12] netdata: Link with libpthread Khem Raj
2019-03-06  5:45 ` [meta-multimedia][PATCH 09/12] webrtc-audio-processing: Add support for risc-v Khem Raj
2019-03-06  5:45 ` [meta-oe][PATCH 10/12] openocd: Fix build " Khem Raj
2019-03-06  5:45 ` [meta-oe][PATCH 11/12] rabbitmq-c: Upgrade to 0.9.0 Khem Raj
2019-03-06  5:45 ` [meta-oe][PATCH 12/12] libmxml: Upgrade to 3.0 release Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190306054548.16430-1-raj.khem@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.